Pokaż
Ignoruj:
Data:
2009-06-03 17:36:03 (17 years ago)
Autor:
marek
Opis:

re #179

Pliki:
1 skopiowane

Legenda:

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

    r539 r681  
    7575      </ValidValues> 
    7676    </ReportParameter> 
    77     <ReportParameter Name="tytul"> 
    78       <DataType>String</DataType> 
    79       <DefaultValue> 
    80         <Values> 
    81           <Value>adMot</Value> 
    82         </Values> 
    83       </DefaultValue> 
    84       <Prompt>tytul</Prompt> 
    85       <Hidden>true</Hidden> 
    86     </ReportParameter> 
    8777  </ReportParameters> 
    8878  <rd:DrawGrid>true</rd:DrawGrid> 
     
    138128        <DataSourceName>BAZA_REKLAM</DataSourceName> 
    139129        <CommandType>StoredProcedure</CommandType> 
    140         <CommandText>sp_adMotoRaportProwizja</CommandText> 
     130        <CommandText>sp_adMotoRaportFaktury</CommandText> 
    141131        <QueryParameters> 
    142           <QueryParameter Name="@rok"> 
     132          <QueryParameter Name="rok"> 
    143133            <Value>=Parameters!rok.Value</Value> 
    144134          </QueryParameter> 
    145           <QueryParameter Name="@miesiac"> 
     135          <QueryParameter Name="miesiac"> 
    146136            <Value>=Parameters!miesiac.Value</Value> 
    147           </QueryParameter> 
    148           <QueryParameter Name="@tytul"> 
    149             <Value>=Parameters!tytul.Value</Value> 
    150137          </QueryParameter> 
    151138        </QueryParameters> 
     
    171158  </DataSets> 
    172159  <Code /> 
    173   <Width>18.75cm</Width> 
     160  <Width>12cm</Width> 
    174161  <Body> 
    175162    <ColumnSpacing>1cm</ColumnSpacing> 
     
    178165        <rd:DefaultName>textbox19</rd:DefaultName> 
    179166        <Top>0.5cm</Top> 
    180         <Width>18cm</Width> 
     167        <Width>11.25cm</Width> 
    181168        <Style> 
    182169          <FontWeight>700</FontWeight> 
     
    191178        <Left>0.5cm</Left> 
    192179        <Height>0.7cm</Height> 
    193         <Value>="Rozliczenie reklamy za " + CStr(Parameters!rok.Value) + ", " + CStr(Parameters!miesiac.Value)</Value> 
     180        <Value>="Rozliczenie prowizji za sprzedaÅŒ reklam za " + CStr(Parameters!rok.Value) + ", " + CStr(Parameters!miesiac.Value)</Value> 
    194181      </Textbox> 
    195182      <Table Name="table1"> 
    196183        <DataSetName>SprzedazWplywy</DataSetName> 
    197184        <Top>1.5cm</Top> 
    198         <Width>14.5cm</Width> 
    199185        <Details> 
    200186          <TableRows> 
     
    219205                        <PaddingBottom>2pt</PaddingBottom> 
    220206                      </Style> 
    221                       <ZIndex>5</ZIndex> 
     207                      <ZIndex>4</ZIndex> 
    222208                      <CanGrow>true</CanGrow> 
    223209                      <Value>=Fields!Agent.Value</Value> 
     
    243229                        <PaddingBottom>2pt</PaddingBottom> 
    244230                      </Style> 
    245                       <ZIndex>4</ZIndex> 
     231                      <ZIndex>3</ZIndex> 
    246232                      <CanGrow>true</CanGrow> 
    247233                      <Value>=Fields!SymbolFaktury.Value</Value> 
     
    268254                        <PaddingBottom>2pt</PaddingBottom> 
    269255                      </Style> 
    270                       <ZIndex>3</ZIndex> 
     256                      <ZIndex>2</ZIndex> 
    271257                      <CanGrow>true</CanGrow> 
    272258                      <Value>=Fields!DataWplaty.Value</Value> 
     
    293279                        <PaddingBottom>2pt</PaddingBottom> 
    294280                      </Style> 
    295                       <ZIndex>2</ZIndex> 
     281                      <ZIndex>1</ZIndex> 
    296282                      <CanGrow>true</CanGrow> 
    297283                      <Value>=Fields!Netto.Value</Value> 
     
    318304                        <PaddingBottom>2pt</PaddingBottom> 
    319305                      </Style> 
    320                       <ZIndex>1</ZIndex> 
    321306                      <CanGrow>true</CanGrow> 
    322307                      <Value>=Fields!Prowizja.Value</Value> 
    323                     </Textbox> 
    324                   </ReportItems> 
    325                 </TableCell> 
    326                 <TableCell> 
    327                   <ReportItems> 
    328                     <Textbox Name="textbox14"> 
    329                       <rd:DefaultName>textbox14</rd:DefaultName> 
    330                       <Style> 
    331                         <BorderStyle> 
    332                           <Default>Solid</Default> 
    333                         </BorderStyle> 
    334                         <BorderWidth> 
    335                           <Default>0.5pt</Default> 
    336                         </BorderWidth> 
    337                         <FontSize>8pt</FontSize> 
    338                         <TextAlign>Center</TextAlign> 
    339                         <PaddingLeft>2pt</PaddingLeft> 
    340                         <PaddingRight>2pt</PaddingRight> 
    341                         <PaddingTop>2pt</PaddingTop> 
    342                         <PaddingBottom>2pt</PaddingBottom> 
    343                       </Style> 
    344                       <CanGrow>true</CanGrow> 
    345                       <Value>=Fields!Agencja.Value</Value> 
    346308                    </Textbox> 
    347309                  </ReportItems> 
     
    379341                        <PaddingBottom>2pt</PaddingBottom> 
    380342                      </Style> 
    381                       <ZIndex>35</ZIndex> 
     343                      <ZIndex>29</ZIndex> 
    382344                      <CanGrow>true</CanGrow> 
    383345                      <Value>Akwizytor</Value> 
     
    405367                        <PaddingBottom>2pt</PaddingBottom> 
    406368                      </Style> 
    407                       <ZIndex>34</ZIndex> 
     369                      <ZIndex>28</ZIndex> 
    408370                      <CanGrow>true</CanGrow> 
    409371                      <Value>Faktura</Value> 
     
    431393                        <PaddingBottom>2pt</PaddingBottom> 
    432394                      </Style> 
    433                       <ZIndex>33</ZIndex> 
     395                      <ZIndex>27</ZIndex> 
    434396                      <CanGrow>true</CanGrow> 
    435397                      <Value>Data zapłaty</Value> 
     
    457419                        <PaddingBottom>2pt</PaddingBottom> 
    458420                      </Style> 
    459                       <ZIndex>32</ZIndex> 
     421                      <ZIndex>26</ZIndex> 
    460422                      <CanGrow>true</CanGrow> 
    461423                      <Value>Netto</Value> 
     
    483445                        <PaddingBottom>2pt</PaddingBottom> 
    484446                      </Style> 
    485                       <ZIndex>31</ZIndex> 
     447                      <ZIndex>25</ZIndex> 
    486448                      <CanGrow>true</CanGrow> 
    487449                      <Value>Prowizja</Value> 
    488                     </Textbox> 
    489                   </ReportItems> 
    490                 </TableCell> 
    491                 <TableCell> 
    492                   <ReportItems> 
    493                     <Textbox Name="textbox13"> 
    494                       <rd:DefaultName>textbox13</rd:DefaultName> 
    495                       <Style> 
    496                         <BackgroundColor>WhiteSmoke</BackgroundColor> 
    497                         <BorderStyle> 
    498                           <Default>Solid</Default> 
    499                         </BorderStyle> 
    500                         <BorderWidth> 
    501                           <Default>0.5pt</Default> 
    502                         </BorderWidth> 
    503                         <FontSize>8pt</FontSize> 
    504                         <FontWeight>700</FontWeight> 
    505                         <TextAlign>Center</TextAlign> 
    506                         <PaddingLeft>2pt</PaddingLeft> 
    507                         <PaddingRight>2pt</PaddingRight> 
    508                         <PaddingTop>2pt</PaddingTop> 
    509                         <PaddingBottom>2pt</PaddingBottom> 
    510                       </Style> 
    511                       <ZIndex>30</ZIndex> 
    512                       <CanGrow>true</CanGrow> 
    513                       <Value>Agencja</Value> 
    514450                    </Textbox> 
    515451                  </ReportItems> 
     
    536472            <Width>2cm</Width> 
    537473          </TableColumn> 
    538           <TableColumn> 
    539             <Width>3cm</Width> 
    540           </TableColumn> 
    541474        </TableColumns> 
    542475        <Footer> 
     
    554487                        <PaddingBottom>2pt</PaddingBottom> 
    555488                      </Style> 
    556                       <ZIndex>11</ZIndex> 
     489                      <ZIndex>9</ZIndex> 
    557490                      <CanGrow>true</CanGrow> 
    558491                      <Value /> 
     
    570503                        <PaddingBottom>2pt</PaddingBottom> 
    571504                      </Style> 
    572                       <ZIndex>10</ZIndex> 
     505                      <ZIndex>8</ZIndex> 
    573506                      <CanGrow>true</CanGrow> 
    574507                      <Value /> 
     
    586519                        <PaddingBottom>2pt</PaddingBottom> 
    587520                      </Style> 
    588                       <ZIndex>9</ZIndex> 
     521                      <ZIndex>7</ZIndex> 
    589522                      <CanGrow>true</CanGrow> 
    590523                      <Value /> 
     
    613546                        <PaddingBottom>2pt</PaddingBottom> 
    614547                      </Style> 
    615                       <ZIndex>8</ZIndex> 
     548                      <ZIndex>6</ZIndex> 
    616549                      <CanGrow>true</CanGrow> 
    617550                      <Value>=SUM(Fields!Netto.Value)</Value> 
     
    640573                        <PaddingBottom>2pt</PaddingBottom> 
    641574                      </Style> 
    642                       <ZIndex>7</ZIndex> 
     575                      <ZIndex>5</ZIndex> 
    643576                      <CanGrow>true</CanGrow> 
    644577                      <Value>=SUM(Fields!Prowizja.Value)</Value> 
    645                     </Textbox> 
    646                   </ReportItems> 
    647                 </TableCell> 
    648                 <TableCell> 
    649                   <ReportItems> 
    650                     <Textbox Name="textbox15"> 
    651                       <rd:DefaultName>textbox15</rd:DefaultName> 
    652                       <Style> 
    653                         <PaddingLeft>2pt</PaddingLeft> 
    654                         <PaddingRight>2pt</PaddingRight> 
    655                         <PaddingTop>2pt</PaddingTop> 
    656                         <PaddingBottom>2pt</PaddingBottom> 
    657                       </Style> 
    658                       <ZIndex>6</ZIndex> 
    659                       <CanGrow>true</CanGrow> 
    660                       <Value /> 
    661578                    </Textbox> 
    662579                  </ReportItems> 
     
    677594                        <PaddingBottom>2pt</PaddingBottom> 
    678595                      </Style> 
    679                       <ZIndex>17</ZIndex> 
     596                      <ZIndex>14</ZIndex> 
    680597                      <CanGrow>true</CanGrow> 
    681598                      <Value /> 
     
    693610                        <PaddingBottom>2pt</PaddingBottom> 
    694611                      </Style> 
    695                       <ZIndex>16</ZIndex> 
     612                      <ZIndex>13</ZIndex> 
    696613                      <CanGrow>true</CanGrow> 
    697614                      <Value /> 
     
    709626                        <PaddingBottom>2pt</PaddingBottom> 
    710627                      </Style> 
    711                       <ZIndex>15</ZIndex> 
     628                      <ZIndex>12</ZIndex> 
    712629                      <CanGrow>true</CanGrow> 
    713630                      <Value /> 
     
    732649                        <PaddingBottom>2pt</PaddingBottom> 
    733650                      </Style> 
    734                       <ZIndex>14</ZIndex> 
     651                      <ZIndex>11</ZIndex> 
    735652                      <CanGrow>true</CanGrow> 
    736653                      <Value /> 
     
    755672                        <PaddingBottom>2pt</PaddingBottom> 
    756673                      </Style> 
    757                       <ZIndex>13</ZIndex> 
    758                       <CanGrow>true</CanGrow> 
    759                       <Value /> 
    760                     </Textbox> 
    761                   </ReportItems> 
    762                 </TableCell> 
    763                 <TableCell> 
    764                   <ReportItems> 
    765                     <Textbox Name="textbox25"> 
    766                       <rd:DefaultName>textbox25</rd:DefaultName> 
    767                       <Style> 
    768                         <PaddingLeft>2pt</PaddingLeft> 
    769                         <PaddingRight>2pt</PaddingRight> 
    770                         <PaddingTop>2pt</PaddingTop> 
    771                         <PaddingBottom>2pt</PaddingBottom> 
    772                       </Style> 
    773                       <ZIndex>12</ZIndex> 
     674                      <ZIndex>10</ZIndex> 
    774675                      <CanGrow>true</CanGrow> 
    775676                      <Value /> 
     
    792693                        <PaddingBottom>2pt</PaddingBottom> 
    793694                      </Style> 
    794                       <ZIndex>23</ZIndex> 
     695                      <ZIndex>19</ZIndex> 
    795696                      <CanGrow>true</CanGrow> 
    796697                      <Value /> 
     
    808709                        <PaddingBottom>2pt</PaddingBottom> 
    809710                      </Style> 
    810                       <ZIndex>22</ZIndex> 
     711                      <ZIndex>18</ZIndex> 
    811712                      <CanGrow>true</CanGrow> 
    812713                      <Value /> 
     
    824725                        <PaddingBottom>2pt</PaddingBottom> 
    825726                      </Style> 
    826                       <ZIndex>21</ZIndex> 
    827                       <CanGrow>true</CanGrow> 
    828                       <Value /> 
    829                     </Textbox> 
    830                   </ReportItems> 
    831                 </TableCell> 
    832                 <TableCell> 
    833                   <ReportItems> 
    834                     <Textbox Name="textbox38"> 
    835                       <rd:DefaultName>textbox38</rd:DefaultName> 
    836                       <Style> 
    837                         <BorderWidth> 
    838                           <Default>0.5pt</Default> 
    839                         </BorderWidth> 
    840                         <PaddingLeft>2pt</PaddingLeft> 
    841                         <PaddingRight>2pt</PaddingRight> 
    842                         <PaddingTop>2pt</PaddingTop> 
    843                         <PaddingBottom>2pt</PaddingBottom> 
    844                       </Style> 
    845                       <ZIndex>20</ZIndex> 
     727                      <ZIndex>17</ZIndex> 
    846728                      <CanGrow>true</CanGrow> 
    847729                      <Value /> 
     
    860742                        <PaddingBottom>2pt</PaddingBottom> 
    861743                      </Style> 
    862                       <ZIndex>19</ZIndex> 
    863                       <CanGrow>true</CanGrow> 
    864                       <Value>Zysk:</Value> 
     744                      <ZIndex>16</ZIndex> 
     745                      <CanGrow>true</CanGrow> 
     746                      <Value>Suma netto:</Value> 
    865747                    </Textbox> 
    866748                  </ReportItems> 
     
    886768                        <PaddingBottom>2pt</PaddingBottom> 
    887769                      </Style> 
    888                       <ZIndex>18</ZIndex> 
    889                       <CanGrow>true</CanGrow> 
    890                       <Value>=(SUM(Fields!Netto.Value)-SUM(Fields!Prowizja.Value))</Value> 
     770                      <ZIndex>15</ZIndex> 
     771                      <CanGrow>true</CanGrow> 
     772                      <Value>=SUM(Fields!Netto.Value)</Value> 
    891773                    </Textbox> 
    892774                  </ReportItems> 
     
    907789                        <PaddingBottom>2pt</PaddingBottom> 
    908790                      </Style> 
    909                       <ZIndex>29</ZIndex> 
     791                      <ZIndex>24</ZIndex> 
    910792                      <CanGrow>true</CanGrow> 
    911793                      <Value /> 
     
    923805                        <PaddingBottom>2pt</PaddingBottom> 
    924806                      </Style> 
    925                       <ZIndex>28</ZIndex> 
     807                      <ZIndex>23</ZIndex> 
    926808                      <CanGrow>true</CanGrow> 
    927809                      <Value /> 
     
    939821                        <PaddingBottom>2pt</PaddingBottom> 
    940822                      </Style> 
    941                       <ZIndex>27</ZIndex> 
    942                       <CanGrow>true</CanGrow> 
    943                       <Value /> 
    944                     </Textbox> 
    945                   </ReportItems> 
    946                 </TableCell> 
    947                 <TableCell> 
    948                   <ReportItems> 
    949                     <Textbox Name="textbox29"> 
    950                       <rd:DefaultName>textbox29</rd:DefaultName> 
    951                       <Style> 
    952                         <BorderWidth> 
    953                           <Default>0.5pt</Default> 
    954                         </BorderWidth> 
    955                         <PaddingLeft>2pt</PaddingLeft> 
    956                         <PaddingRight>2pt</PaddingRight> 
    957                         <PaddingTop>2pt</PaddingTop> 
    958                         <PaddingBottom>2pt</PaddingBottom> 
    959                       </Style> 
    960                       <ZIndex>26</ZIndex> 
     823                      <ZIndex>22</ZIndex> 
    961824                      <CanGrow>true</CanGrow> 
    962825                      <Value /> 
     
    975838                        <PaddingBottom>2pt</PaddingBottom> 
    976839                      </Style> 
    977                       <ZIndex>25</ZIndex> 
    978                       <CanGrow>true</CanGrow> 
    979                       <Value>Prowizja:</Value> 
     840                      <ZIndex>21</ZIndex> 
     841                      <CanGrow>true</CanGrow> 
     842                      <Value>Suma prowizji:</Value> 
    980843                    </Textbox> 
    981844                  </ReportItems> 
     
    1001864                        <PaddingBottom>2pt</PaddingBottom> 
    1002865                      </Style> 
    1003                       <ZIndex>24</ZIndex> 
    1004                       <CanGrow>true</CanGrow> 
    1005                       <Value>=(SUM(Fields!Netto.Value)-SUM(Fields!Prowizja.Value))*0.75</Value> 
     866                      <ZIndex>20</ZIndex> 
     867                      <CanGrow>true</CanGrow> 
     868                      <Value>=SUM(Fields!Prowizja.Value)</Value> 
    1006869                    </Textbox> 
    1007870                  </ReportItems>