Zbiór zmian 322 dla trunk/RaportySQL

Pokaż
Ignoruj:
Data:
2009-02-09 16:44:45 (17 years ago)
Autor:
marek
Opis:

fixes #81

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/RaportySQL/WplywyWgWplaty.rdl

    r319 r322  
    149149AND (AgencjaId IN (@agencja)) 
    150150GROUP BY AgencjaId, Agencja, Tytul 
     151 
     152/* 
     153UNION 
     154 
     155SELECT AgencjaId, Agencja, Tytul,  
     156SUM(FakturaNetto) AS FakturaNetto, 
     157SUM(FakturaBrutto) AS FakturaBrutto, 
     158SUM(WplataBrutto) AS WplataBrutto 
     159FROM FakturyZaplaconePoznanKatowice 
     160WHERE  
     161Rok = @rok  
     162AND Miesiac IN (@ms) 
     163AND (AgencjaId IN (@agencja)) 
     164GROUP BY AgencjaId, Agencja, Tytul*/ 
     165 
    151166ORDER BY Agencja, Tytul</CommandText> 
    152167        <QueryParameters> 
     
    271286                            <PaddingBottom>2pt</PaddingBottom> 
    272287                          </Style> 
    273                           <ZIndex>14</ZIndex> 
     288                          <ZIndex>11</ZIndex> 
    274289                          <CanGrow>true</CanGrow> 
    275290                          <Value>=Fields!Agencja.Value</Value> 
     
    297312                            <PaddingBottom>2pt</PaddingBottom> 
    298313                          </Style> 
    299                           <ZIndex>13</ZIndex> 
     314                          <ZIndex>10</ZIndex> 
    300315                          <CanGrow>true</CanGrow> 
    301316                          <Value> 
     
    327342                            <PaddingBottom>2pt</PaddingBottom> 
    328343                          </Style> 
    329                           <ZIndex>12</ZIndex> 
     344                          <ZIndex>9</ZIndex> 
    330345                          <CanGrow>true</CanGrow> 
    331346                          <Value>=Sum(Fields!FakturaNetto.Value)</Value> 
     
    356371                            <PaddingBottom>2pt</PaddingBottom> 
    357372                          </Style> 
    358                           <ZIndex>11</ZIndex> 
     373                          <ZIndex>8</ZIndex> 
    359374                          <CanGrow>true</CanGrow> 
    360375                          <Value>=Sum(Fields!FakturaBrutto.Value)</Value> 
    361                         </Textbox> 
    362                       </ReportItems> 
    363                     </TableCell> 
    364                     <TableCell> 
    365                       <ReportItems> 
    366                         <Textbox Name="textbox11"> 
    367                           <rd:DefaultName>textbox11</rd:DefaultName> 
    368                           <Style> 
    369                             <BackgroundColor>WhiteSmoke</BackgroundColor> 
    370                             <BorderColor> 
    371                               <Default>LightGrey</Default> 
    372                             </BorderColor> 
    373                             <BorderStyle> 
    374                               <Default>Solid</Default> 
    375                             </BorderStyle> 
    376                             <BorderWidth> 
    377                               <Default>0.5pt</Default> 
    378                             </BorderWidth> 
    379                             <FontSize>8pt</FontSize> 
    380                             <FontWeight>600</FontWeight> 
    381                             <Format>C</Format> 
    382                             <PaddingLeft>2pt</PaddingLeft> 
    383                             <PaddingRight>2pt</PaddingRight> 
    384                             <PaddingTop>2pt</PaddingTop> 
    385                             <PaddingBottom>2pt</PaddingBottom> 
    386                           </Style> 
    387                           <ZIndex>10</ZIndex> 
    388                           <CanGrow>true</CanGrow> 
    389                           <Value>=Sum(Fields!WplataBrutto.Value)</Value> 
    390376                        </Textbox> 
    391377                      </ReportItems> 
     
    398384          </TableGroup> 
    399385        </TableGroups> 
     386        <Width>12.61904cm</Width> 
    400387        <Details> 
    401388          <TableRows> 
     
    412399                        <PaddingBottom>2pt</PaddingBottom> 
    413400                      </Style> 
    414                       <ZIndex>4</ZIndex> 
     401                      <ZIndex>3</ZIndex> 
    415402                      <CanGrow>true</CanGrow> 
    416403                      <Value> 
     
    439426                        <PaddingBottom>2pt</PaddingBottom> 
    440427                      </Style> 
    441                       <ZIndex>3</ZIndex> 
     428                      <ZIndex>2</ZIndex> 
    442429                      <CanGrow>true</CanGrow> 
    443430                      <Value>=Fields!Tytul.Value</Value> 
     
    466453                        <PaddingBottom>2pt</PaddingBottom> 
    467454                      </Style> 
    468                       <ZIndex>2</ZIndex> 
     455                      <ZIndex>1</ZIndex> 
    469456                      <CanGrow>true</CanGrow> 
    470457                      <Value>=Fields!FakturaNetto.Value</Value> 
     
    493480                        <PaddingBottom>2pt</PaddingBottom> 
    494481                      </Style> 
    495                       <ZIndex>1</ZIndex> 
    496482                      <CanGrow>true</CanGrow> 
    497483                      <Value>=Fields!FakturaBrutto.Value</Value> 
    498                     </Textbox> 
    499                   </ReportItems> 
    500                 </TableCell> 
    501                 <TableCell> 
    502                   <ReportItems> 
    503                     <Textbox Name="WplataBrutto"> 
    504                       <rd:DefaultName>WplataBrutto</rd:DefaultName> 
    505                       <Style> 
    506                         <BorderColor> 
    507                           <Default>LightGrey</Default> 
    508                         </BorderColor> 
    509                         <BorderStyle> 
    510                           <Default>Solid</Default> 
    511                         </BorderStyle> 
    512                         <BorderWidth> 
    513                           <Default>0.5pt</Default> 
    514                         </BorderWidth> 
    515                         <FontSize>8pt</FontSize> 
    516                         <Format>C</Format> 
    517                         <PaddingLeft>2pt</PaddingLeft> 
    518                         <PaddingRight>2pt</PaddingRight> 
    519                         <PaddingTop>2pt</PaddingTop> 
    520                         <PaddingBottom>2pt</PaddingBottom> 
    521                       </Style> 
    522                       <CanGrow>true</CanGrow> 
    523                       <Value>=Fields!WplataBrutto.Value</Value> 
    524484                    </Textbox> 
    525485                  </ReportItems> 
     
    551511                        <PaddingBottom>2pt</PaddingBottom> 
    552512                      </Style> 
    553                       <ZIndex>19</ZIndex> 
     513                      <ZIndex>15</ZIndex> 
    554514                      <CanGrow>true</CanGrow> 
    555515                      <Value>Agencja</Value> 
     
    570530                        <PaddingBottom>2pt</PaddingBottom> 
    571531                      </Style> 
    572                       <ZIndex>18</ZIndex> 
     532                      <ZIndex>14</ZIndex> 
    573533                      <CanGrow>true</CanGrow> 
    574534                      <Value>Tytuł</Value> 
     
    589549                        <PaddingBottom>2pt</PaddingBottom> 
    590550                      </Style> 
    591                       <ZIndex>17</ZIndex> 
     551                      <ZIndex>13</ZIndex> 
    592552                      <CanGrow>true</CanGrow> 
    593553                      <Value>Faktura Netto</Value> 
     
    608568                        <PaddingBottom>2pt</PaddingBottom> 
    609569                      </Style> 
    610                       <ZIndex>16</ZIndex> 
     570                      <ZIndex>12</ZIndex> 
    611571                      <CanGrow>true</CanGrow> 
    612572                      <Value>Faktura Brutto</Value> 
    613                     </Textbox> 
    614                   </ReportItems> 
    615                 </TableCell> 
    616                 <TableCell> 
    617                   <ReportItems> 
    618                     <Textbox Name="textbox7"> 
    619                       <rd:DefaultName>textbox7</rd:DefaultName> 
    620                       <Style> 
    621                         <FontSize>8pt</FontSize> 
    622                         <FontWeight>700</FontWeight> 
    623                         <TextAlign>Center</TextAlign> 
    624                         <PaddingLeft>2pt</PaddingLeft> 
    625                         <PaddingRight>2pt</PaddingRight> 
    626                         <PaddingTop>2pt</PaddingTop> 
    627                         <PaddingBottom>2pt</PaddingBottom> 
    628                       </Style> 
    629                       <ZIndex>15</ZIndex> 
    630                       <CanGrow>true</CanGrow> 
    631                       <Value>Wpłata Brutto</Value> 
    632573                    </Textbox> 
    633574                  </ReportItems> 
     
    652593            <Width>2.53968cm</Width> 
    653594          </TableColumn> 
    654           <TableColumn> 
    655             <Width>2.53968cm</Width> 
    656           </TableColumn> 
    657595        </TableColumns> 
    658596        <Footer> 
     
    670608                        <PaddingBottom>2pt</PaddingBottom> 
    671609                      </Style> 
    672                       <ZIndex>9</ZIndex> 
     610                      <ZIndex>7</ZIndex> 
    673611                      <CanGrow>true</CanGrow> 
    674612                      <Value /> 
     
    686624                        <PaddingBottom>2pt</PaddingBottom> 
    687625                      </Style> 
    688                       <ZIndex>8</ZIndex> 
     626                      <ZIndex>6</ZIndex> 
    689627                      <CanGrow>true</CanGrow> 
    690628                      <Value /> 
     
    714652                        <PaddingBottom>2pt</PaddingBottom> 
    715653                      </Style> 
    716                       <ZIndex>7</ZIndex> 
     654                      <ZIndex>5</ZIndex> 
    717655                      <CanGrow>true</CanGrow> 
    718656                      <Value>=Sum(Fields!FakturaNetto.Value)</Value> 
     
    742680                        <PaddingBottom>2pt</PaddingBottom> 
    743681                      </Style> 
    744                       <ZIndex>6</ZIndex> 
     682                      <ZIndex>4</ZIndex> 
    745683                      <CanGrow>true</CanGrow> 
    746684                      <Value>=Sum(Fields!FakturaBrutto.Value)</Value> 
    747                     </Textbox> 
    748                   </ReportItems> 
    749                 </TableCell> 
    750                 <TableCell> 
    751                   <ReportItems> 
    752                     <Textbox Name="textbox16"> 
    753                       <rd:DefaultName>textbox16</rd:DefaultName> 
    754                       <Style> 
    755                         <BackgroundColor>WhiteSmoke</BackgroundColor> 
    756                         <BorderColor> 
    757                           <Default>LightGrey</Default> 
    758                         </BorderColor> 
    759                         <BorderStyle> 
    760                           <Default>Solid</Default> 
    761                         </BorderStyle> 
    762                         <BorderWidth> 
    763                           <Default>0.5pt</Default> 
    764                         </BorderWidth> 
    765                         <FontSize>8pt</FontSize> 
    766                         <FontWeight>700</FontWeight> 
    767                         <Format>C</Format> 
    768                         <PaddingLeft>2pt</PaddingLeft> 
    769                         <PaddingRight>2pt</PaddingRight> 
    770                         <PaddingTop>2pt</PaddingTop> 
    771                         <PaddingBottom>2pt</PaddingBottom> 
    772                       </Style> 
    773                       <ZIndex>5</ZIndex> 
    774                       <CanGrow>true</CanGrow> 
    775                       <Value>=Sum(Fields!WplataBrutto.Value)</Value> 
    776685                    </Textbox> 
    777686                  </ReportItems>