root/branches/EdycjaKlienta/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 692

Wersja 536, 41.1 KB (wprowadzona przez marek, 17 years temu)

re #150 - merged with latest trunk

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
3  <DataSources>
4    <DataSource Name="BAZA_REKLAM">
5      <rd:DataSourceID>0d388776-a05b-43ef-93c5-227770426a94</rd:DataSourceID>
6      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
7    </DataSource>
8  </DataSources>
9  <InteractiveHeight>29.7cm</InteractiveHeight>
10  <ReportParameters>
11    <ReportParameter Name="prawa_agencje">
12      <DataType>String</DataType>
13      <Nullable>true</Nullable>
14      <Prompt>prawa_agencje</Prompt>
15      <Hidden>true</Hidden>
16    </ReportParameter>
17    <ReportParameter Name="rok">
18      <DataType>String</DataType>
19      <DefaultValue>
20        <Values>
21          <Value>=Year(Today)</Value>
22        </Values>
23      </DefaultValue>
24      <Prompt>rok</Prompt>
25      <ValidValues>
26        <DataSetReference>
27          <DataSetName>ListaLat</DataSetName>
28          <ValueField>rok</ValueField>
29          <LabelField>rok</LabelField>
30        </DataSetReference>
31      </ValidValues>
32    </ReportParameter>
33    <ReportParameter Name="miesiac">
34      <DataType>String</DataType>
35      <DefaultValue>
36        <Values>
37          <Value>=Month(Today)</Value>
38        </Values>
39      </DefaultValue>
40      <Prompt>Miesiąc:</Prompt>
41      <ValidValues>
42        <ParameterValues>
43          <ParameterValue>
44            <Value>1</Value>
45          </ParameterValue>
46          <ParameterValue>
47            <Value>2</Value>
48          </ParameterValue>
49          <ParameterValue>
50            <Value>3</Value>
51          </ParameterValue>
52          <ParameterValue>
53            <Value>4</Value>
54          </ParameterValue>
55          <ParameterValue>
56            <Value>5</Value>
57          </ParameterValue>
58          <ParameterValue>
59            <Value>6</Value>
60          </ParameterValue>
61          <ParameterValue>
62            <Value>7</Value>
63          </ParameterValue>
64          <ParameterValue>
65            <Value>8</Value>
66          </ParameterValue>
67          <ParameterValue>
68            <Value>9</Value>
69          </ParameterValue>
70          <ParameterValue>
71            <Value>10</Value>
72          </ParameterValue>
73          <ParameterValue>
74            <Value>11</Value>
75          </ParameterValue>
76          <ParameterValue>
77            <Value>12</Value>
78          </ParameterValue>
79        </ParameterValues>
80      </ValidValues>
81      <MultiValue>true</MultiValue>
82    </ReportParameter>
83    <ReportParameter Name="agencja">
84      <DataType>String</DataType>
85      <DefaultValue>
86        <DataSetReference>
87          <DataSetName>ListaAgencji</DataSetName>
88          <ValueField>Symbol</ValueField>
89        </DataSetReference>
90      </DefaultValue>
91      <Prompt>agencja</Prompt>
92      <ValidValues>
93        <DataSetReference>
94          <DataSetName>ListaAgencji</DataSetName>
95          <ValueField>Symbol</ValueField>
96          <LabelField>Symbol</LabelField>
97        </DataSetReference>
98      </ValidValues>
99      <MultiValue>true</MultiValue>
100    </ReportParameter>
101    <ReportParameter Name="prawa_agent">
102      <DataType>String</DataType>
103      <Nullable>true</Nullable>
104      <Prompt>prawa_agent</Prompt>
105      <Hidden>true</Hidden>
106    </ReportParameter>
107    <ReportParameter Name="invoiceProvider">
108      <DataType>Integer</DataType>
109      <DefaultValue>
110        <Values>
111          <Value>1</Value>
112        </Values>
113      </DefaultValue>
114      <Prompt>Fakturowanie:</Prompt>
115      <ValidValues>
116        <ParameterValues>
117          <ParameterValue>
118            <Value>1</Value>
119            <Label>AACT</Label>
120          </ParameterValue>
121          <ParameterValue>
122            <Value>2</Value>
123            <Label>Sam Press</Label>
124          </ParameterValue>
125          <ParameterValue>
126            <Value>3</Value>
127            <Label>Poznań</Label>
128          </ParameterValue>
129          <ParameterValue>
130            <Value>4</Value>
131            <Label>Katowice</Label>
132          </ParameterValue>
133        </ParameterValues>
134      </ValidValues>
135      <MultiValue>true</MultiValue>
136    </ReportParameter>
137    <ReportParameter Name="pracownik">
138      <DataType>String</DataType>
139      <Nullable>true</Nullable>
140      <AllowBlank>true</AllowBlank>
141      <Prompt>Pracownicy:</Prompt>
142      <ValidValues>
143        <ParameterValues>
144          <ParameterValue>
145            <Value>1</Value>
146            <Label>Pracownicy</Label>
147          </ParameterValue>
148          <ParameterValue>
149            <Label>Wszyscy</Label>
150          </ParameterValue>
151        </ParameterValues>
152      </ValidValues>
153    </ReportParameter>
154  </ReportParameters>
155  <rd:DrawGrid>true</rd:DrawGrid>
156  <InteractiveWidth>21cm</InteractiveWidth>
157  <rd:GridSpacing>0.25cm</rd:GridSpacing>
158  <rd:SnapToGrid>true</rd:SnapToGrid>
159  <RightMargin>1cm</RightMargin>
160  <LeftMargin>1cm</LeftMargin>
161  <BottomMargin>1cm</BottomMargin>
162  <rd:ReportID>1a908918-1fb3-45fd-8bdd-e3ccd2cf8500</rd:ReportID>
163  <PageWidth>21cm</PageWidth>
164  <DataSets>
165    <DataSet Name="Prowizje">
166      <Fields>
167        <Field Name="agencja">
168          <DataField>Agencja</DataField>
169          <rd:TypeName>System.String</rd:TypeName>
170        </Field>
171        <Field Name="agent">
172          <DataField>Agent</DataField>
173          <rd:TypeName>System.String</rd:TypeName>
174        </Field>
175        <Field Name="Imie">
176          <DataField>Imie</DataField>
177          <rd:TypeName>System.String</rd:TypeName>
178        </Field>
179        <Field Name="Nazwisko">
180          <DataField>Nazwisko</DataField>
181          <rd:TypeName>System.String</rd:TypeName>
182        </Field>
183        <Field Name="IloscFaktur">
184          <DataField>IloscFaktur</DataField>
185          <rd:TypeName>System.Int32</rd:TypeName>
186        </Field>
187        <Field Name="Netto">
188          <DataField>Netto</DataField>
189          <rd:TypeName>System.Decimal</rd:TypeName>
190        </Field>
191        <Field Name="Prowizja">
192          <DataField>Prowizja</DataField>
193          <rd:TypeName>System.Double</rd:TypeName>
194        </Field>
195        <Field Name="InvoiceProvider">
196          <DataField>InvoiceProvider</DataField>
197          <rd:TypeName>System.Int32</rd:TypeName>
198        </Field>
199        <Field Name="Pracownik">
200          <DataField>Pracownik</DataField>
201          <rd:TypeName>System.Boolean</rd:TypeName>
202        </Field>
203      </Fields>
204      <Filters>
205        <Filter>
206          <FilterExpression>=Fields!agencja.Value</FilterExpression>
207          <Operator>In</Operator>
208          <FilterValues>
209            <FilterValue>=Parameters!agencja.Value</FilterValue>
210          </FilterValues>
211        </Filter>
212      </Filters>
213      <Query>
214        <DataSourceName>BAZA_REKLAM</DataSourceName>
215        <CommandText>SELECT
216W.Agencja,
217LOWER(W.Symbol) AS Agent,
218A.[Imię] AS Imie,
219A.Nazwisko,
220COUNT(W.ID_FAKTURY) AS IloscFaktur,
221SUM(W.Netto) AS Netto,
222ROUND(SUM(W.Netto * W.procentProwizji), 2) AS Prowizja,
223W.InvoiceProvider,
224A.Pracownicy AS Pracownik
225FROM         WplywyByTytul W
226LEFT OUTER JOIN AGENCI A ON A.Symbol=W.Symbol
227WHERE     (YEAR(W.dataWplaty) = @rok) AND (MONTH(W.dataWplaty) IN (@miesiac))
228AND (W.InvoiceProvider IN (@invoiceProvider))
229AND (@prawa_agent IS NULL OR W.Symbol=@prawa_agent)
230AND (@pracownik IS NULL OR A.Pracownicy=@pracownik)
231
232GROUP BY W.Agencja, W.Symbol, A.[Imię], A.Nazwisko, W.InvoiceProvider, A.Pracownicy
233ORDER BY A.Nazwisko</CommandText>
234        <QueryParameters>
235          <QueryParameter Name="@rok">
236            <Value>=Parameters!rok.Value</Value>
237          </QueryParameter>
238          <QueryParameter Name="@miesiac">
239            <Value>=Parameters!miesiac.Value</Value>
240          </QueryParameter>
241          <QueryParameter Name="@invoiceProvider">
242            <Value>=Parameters!invoiceProvider.Value</Value>
243          </QueryParameter>
244          <QueryParameter Name="@prawa_agent">
245            <Value>=Parameters!prawa_agent.Value</Value>
246          </QueryParameter>
247          <QueryParameter Name="@pracownik">
248            <Value>=Parameters!pracownik.Value</Value>
249          </QueryParameter>
250        </QueryParameters>
251        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
252      </Query>
253    </DataSet>
254    <DataSet Name="ListaAgentow">
255      <Fields>
256        <Field Name="ID_AGENTA">
257          <DataField>ID_AGENTA</DataField>
258          <rd:TypeName>System.Int32</rd:TypeName>
259        </Field>
260        <Field Name="Symbol">
261          <DataField>Symbol</DataField>
262          <rd:TypeName>System.String</rd:TypeName>
263        </Field>
264        <Field Name="agencja">
265          <DataField>agencja</DataField>
266          <rd:TypeName>System.String</rd:TypeName>
267        </Field>
268      </Fields>
269      <Query>
270        <DataSourceName>BAZA_REKLAM</DataSourceName>
271        <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja
272FROM            AGENCI A left join Agencje A2
273on A.ID_AGENCJI = A2.ID_Agencji
274 where aktywny=1 AND  (A2.Symbol in (@agencja) OR A2.Symbol is null) AND (@prawa_agent is null OR A.Symbol=@prawa_agent)
275order by A.Symbol</CommandText>
276        <QueryParameters>
277          <QueryParameter Name="@agencja">
278            <Value>=Parameters!agencja.Value</Value>
279          </QueryParameter>
280          <QueryParameter Name="@prawa_agent">
281            <Value>=Parameters!prawa_agent.Value</Value>
282          </QueryParameter>
283        </QueryParameters>
284        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
285      </Query>
286    </DataSet>
287    <DataSet Name="ListaAgencji">
288      <Fields>
289        <Field Name="Id_agencji">
290          <DataField>Id_agencji</DataField>
291          <rd:TypeName>System.Int32</rd:TypeName>
292        </Field>
293        <Field Name="Symbol">
294          <DataField>Symbol</DataField>
295          <rd:TypeName>System.String</rd:TypeName>
296        </Field>
297      </Fields>
298      <Query>
299        <DataSourceName>BAZA_REKLAM</DataSourceName>
300        <CommandText>SELECT        Id_agencji, Symbol
301FROM            AGENCJE where aktywna=1 and (@prawa_agencje is null or @prawa_agencje= Id_agencji)</CommandText>
302        <QueryParameters>
303          <QueryParameter Name="@prawa_agencje">
304            <Value>=Parameters!prawa_agencje.Value</Value>
305          </QueryParameter>
306        </QueryParameters>
307        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
308      </Query>
309    </DataSet>
310    <DataSet Name="ListaLat">
311      <Fields>
312        <Field Name="rok">
313          <DataField>rok</DataField>
314          <rd:TypeName>System.Int32</rd:TypeName>
315        </Field>
316      </Fields>
317      <Query>
318        <DataSourceName>BAZA_REKLAM</DataSourceName>
319        <CommandText>select distinct year(DATA_W) as rok from dbo.NR where DATA_W is not null and year( DATA_W) &gt;2008 order by year(DATA_W)desc</CommandText>
320        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
321      </Query>
322    </DataSet>
323  </DataSets>
324  <Code>Public Function GetMonths(P as Parameter) as String
325  Dim i As Integer
326  Dim s As String
327  s = p.value(0)               
328  For i = 1 to Ubound(P.Value)
329    s = s &amp; "," &amp; p.Value(i) 
330  Next i
331  Return s
332End Function</Code>
333  <Width>19cm</Width>
334  <Body>
335    <ColumnSpacing>1cm</ColumnSpacing>
336    <ReportItems>
337      <Textbox Name="textbox6">
338        <rd:DefaultName>textbox6</rd:DefaultName>
339        <Top>0.25cm</Top>
340        <Width>17cm</Width>
341        <Style>
342          <FontSize>14pt</FontSize>
343          <FontWeight>700</FontWeight>
344          <TextAlign>Center</TextAlign>
345          <PaddingLeft>2pt</PaddingLeft>
346          <PaddingRight>2pt</PaddingRight>
347          <PaddingTop>2pt</PaddingTop>
348          <PaddingBottom>2pt</PaddingBottom>
349        </Style>
350        <ZIndex>1</ZIndex>
351        <CanGrow>true</CanGrow>
352        <Left>1cm</Left>
353        <Height>0.75cm</Height>
354        <Value>="Rozliczenie prowizji za reklamę za rok: " &amp; Parameters!rok.Value &amp; "  miesiąc(e): " &amp; Code.GetMonths(Parameters!miesiac)</Value>
355      </Textbox>
356      <Table Name="table1">
357        <DataSetName>Prowizje</DataSetName>
358        <Top>1.75cm</Top>
359        <Width>17.02645cm</Width>
360        <Details>
361          <TableRows>
362            <TableRow>
363              <TableCells>
364                <TableCell>
365                  <ReportItems>
366                    <Textbox Name="Symbol">
367                      <rd:DefaultName>Symbol</rd:DefaultName>
368                      <Style>
369                        <BorderColor>
370                          <Default>LightGrey</Default>
371                        </BorderColor>
372                        <BorderStyle>
373                          <Default>Solid</Default>
374                        </BorderStyle>
375                        <BorderWidth>
376                          <Default>0.5pt</Default>
377                        </BorderWidth>
378                        <FontSize>9pt</FontSize>
379                        <TextAlign>Center</TextAlign>
380                        <VerticalAlign>Middle</VerticalAlign>
381                        <PaddingLeft>2pt</PaddingLeft>
382                        <PaddingRight>2pt</PaddingRight>
383                        <PaddingTop>2pt</PaddingTop>
384                        <PaddingBottom>2pt</PaddingBottom>
385                      </Style>
386                      <ZIndex>6</ZIndex>
387                      <CanGrow>true</CanGrow>
388                      <Value>=Fields!agencja.Value</Value>
389                    </Textbox>
390                  </ReportItems>
391                </TableCell>
392                <TableCell>
393                  <ReportItems>
394                    <Textbox Name="SYMBOL_AKWIZYTORA">
395                      <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
396                      <Style>
397                        <BorderColor>
398                          <Default>LightGrey</Default>
399                        </BorderColor>
400                        <BorderStyle>
401                          <Default>Solid</Default>
402                        </BorderStyle>
403                        <BorderWidth>
404                          <Default>0.5pt</Default>
405                        </BorderWidth>
406                        <FontSize>9pt</FontSize>
407                        <TextAlign>Center</TextAlign>
408                        <VerticalAlign>Middle</VerticalAlign>
409                        <PaddingLeft>2pt</PaddingLeft>
410                        <PaddingRight>2pt</PaddingRight>
411                        <PaddingTop>2pt</PaddingTop>
412                        <PaddingBottom>2pt</PaddingBottom>
413                      </Style>
414                      <ZIndex>5</ZIndex>
415                      <CanGrow>true</CanGrow>
416                      <Value>=Fields!agent.Value</Value>
417                    </Textbox>
418                  </ReportItems>
419                </TableCell>
420                <TableCell>
421                  <ReportItems>
422                    <Textbox Name="IloscFaktur">
423                      <Style>
424                        <BorderColor>
425                          <Default>LightGrey</Default>
426                        </BorderColor>
427                        <BorderStyle>
428                          <Default>Solid</Default>
429                        </BorderStyle>
430                        <BorderWidth>
431                          <Default>0.5pt</Default>
432                        </BorderWidth>
433                        <FontSize>9pt</FontSize>
434                        <TextAlign>Center</TextAlign>
435                        <VerticalAlign>Middle</VerticalAlign>
436                        <PaddingLeft>2pt</PaddingLeft>
437                        <PaddingRight>2pt</PaddingRight>
438                        <PaddingTop>2pt</PaddingTop>
439                        <PaddingBottom>2pt</PaddingBottom>
440                      </Style>
441                      <ZIndex>4</ZIndex>
442                      <CanGrow>true</CanGrow>
443                      <Value>=Fields!IloscFaktur.Value</Value>
444                    </Textbox>
445                  </ReportItems>
446                </TableCell>
447                <TableCell>
448                  <ReportItems>
449                    <Textbox Name="Imię">
450                      <rd:DefaultName>Imię</rd:DefaultName>
451                      <Style>
452                        <BorderColor>
453                          <Default>LightGrey</Default>
454                        </BorderColor>
455                        <BorderStyle>
456                          <Default>Solid</Default>
457                        </BorderStyle>
458                        <BorderWidth>
459                          <Default>0.5pt</Default>
460                        </BorderWidth>
461                        <FontSize>9pt</FontSize>
462                        <TextAlign>Center</TextAlign>
463                        <VerticalAlign>Middle</VerticalAlign>
464                        <PaddingLeft>2pt</PaddingLeft>
465                        <PaddingRight>2pt</PaddingRight>
466                        <PaddingTop>2pt</PaddingTop>
467                        <PaddingBottom>2pt</PaddingBottom>
468                      </Style>
469                      <ZIndex>3</ZIndex>
470                      <CanGrow>true</CanGrow>
471                      <Value>=Fields!Imie.Value</Value>
472                    </Textbox>
473                  </ReportItems>
474                </TableCell>
475                <TableCell>
476                  <ReportItems>
477                    <Textbox Name="Nazwisko">
478                      <rd:DefaultName>Nazwisko</rd:DefaultName>
479                      <Style>
480                        <BorderColor>
481                          <Default>LightGrey</Default>
482                        </BorderColor>
483                        <BorderStyle>
484                          <Default>Solid</Default>
485                        </BorderStyle>
486                        <BorderWidth>
487                          <Default>0.5pt</Default>
488                        </BorderWidth>
489                        <FontSize>9pt</FontSize>
490                        <TextAlign>Center</TextAlign>
491                        <VerticalAlign>Middle</VerticalAlign>
492                        <PaddingLeft>2pt</PaddingLeft>
493                        <PaddingRight>2pt</PaddingRight>
494                        <PaddingTop>2pt</PaddingTop>
495                        <PaddingBottom>2pt</PaddingBottom>
496                      </Style>
497                      <ZIndex>2</ZIndex>
498                      <CanGrow>true</CanGrow>
499                      <Value>=Fields!Nazwisko.Value</Value>
500                    </Textbox>
501                  </ReportItems>
502                </TableCell>
503                <TableCell>
504                  <ReportItems>
505                    <Textbox Name="nn">
506                      <rd:DefaultName>nn</rd:DefaultName>
507                      <Style>
508                        <BorderColor>
509                          <Default>LightGrey</Default>
510                        </BorderColor>
511                        <BorderStyle>
512                          <Default>Solid</Default>
513                        </BorderStyle>
514                        <BorderWidth>
515                          <Default>0.5pt</Default>
516                        </BorderWidth>
517                        <FontSize>9pt</FontSize>
518                        <Format>C</Format>
519                        <TextAlign>Center</TextAlign>
520                        <VerticalAlign>Middle</VerticalAlign>
521                        <PaddingLeft>2pt</PaddingLeft>
522                        <PaddingRight>2pt</PaddingRight>
523                        <PaddingTop>2pt</PaddingTop>
524                        <PaddingBottom>2pt</PaddingBottom>
525                        <Language>pl</Language>
526                      </Style>
527                      <ZIndex>1</ZIndex>
528                      <CanGrow>true</CanGrow>
529                      <Value>=Fields!Netto.Value</Value>
530                    </Textbox>
531                  </ReportItems>
532                </TableCell>
533                <TableCell>
534                  <ReportItems>
535                    <Textbox Name="pp">
536                      <rd:DefaultName>pp</rd:DefaultName>
537                      <Style>
538                        <BorderColor>
539                          <Default>LightGrey</Default>
540                        </BorderColor>
541                        <BorderStyle>
542                          <Default>Solid</Default>
543                        </BorderStyle>
544                        <BorderWidth>
545                          <Default>0.5pt</Default>
546                        </BorderWidth>
547                        <FontSize>9pt</FontSize>
548                        <Format>C</Format>
549                        <TextAlign>Center</TextAlign>
550                        <VerticalAlign>Middle</VerticalAlign>
551                        <PaddingLeft>2pt</PaddingLeft>
552                        <PaddingRight>2pt</PaddingRight>
553                        <PaddingTop>2pt</PaddingTop>
554                        <PaddingBottom>2pt</PaddingBottom>
555                        <Language>pl</Language>
556                      </Style>
557                      <CanGrow>true</CanGrow>
558                      <Value>=Fields!Prowizja.Value</Value>
559                    </Textbox>
560                  </ReportItems>
561                </TableCell>
562              </TableCells>
563              <Height>0.63492cm</Height>
564            </TableRow>
565          </TableRows>
566        </Details>
567        <Header>
568          <TableRows>
569            <TableRow>
570              <TableCells>
571                <TableCell>
572                  <ReportItems>
573                    <Textbox Name="textbox1">
574                      <rd:DefaultName>textbox1</rd:DefaultName>
575                      <Style>
576                        <BackgroundColor>WhiteSmoke</BackgroundColor>
577                        <BorderColor>
578                          <Default>LightGrey</Default>
579                        </BorderColor>
580                        <BorderStyle>
581                          <Default>Solid</Default>
582                        </BorderStyle>
583                        <BorderWidth>
584                          <Default>0.5pt</Default>
585                        </BorderWidth>
586                        <FontSize>9pt</FontSize>
587                        <FontWeight>700</FontWeight>
588                        <TextAlign>Center</TextAlign>
589                        <VerticalAlign>Middle</VerticalAlign>
590                        <PaddingLeft>2pt</PaddingLeft>
591                        <PaddingRight>2pt</PaddingRight>
592                        <PaddingTop>2pt</PaddingTop>
593                        <PaddingBottom>2pt</PaddingBottom>
594                      </Style>
595                      <ZIndex>20</ZIndex>
596                      <CanGrow>true</CanGrow>
597                      <Value>Agencja</Value>
598                    </Textbox>
599                  </ReportItems>
600                </TableCell>
601                <TableCell>
602                  <ReportItems>
603                    <Textbox Name="textbox2">
604                      <rd:DefaultName>textbox2</rd:DefaultName>
605                      <Style>
606                        <BackgroundColor>WhiteSmoke</BackgroundColor>
607                        <BorderColor>
608                          <Default>LightGrey</Default>
609                        </BorderColor>
610                        <BorderStyle>
611                          <Default>Solid</Default>
612                        </BorderStyle>
613                        <BorderWidth>
614                          <Default>0.5pt</Default>
615                        </BorderWidth>
616                        <FontSize>9pt</FontSize>
617                        <FontWeight>700</FontWeight>
618                        <TextAlign>Center</TextAlign>
619                        <VerticalAlign>Middle</VerticalAlign>
620                        <PaddingLeft>2pt</PaddingLeft>
621                        <PaddingRight>2pt</PaddingRight>
622                        <PaddingTop>2pt</PaddingTop>
623                        <PaddingBottom>2pt</PaddingBottom>
624                      </Style>
625                      <ZIndex>19</ZIndex>
626                      <CanGrow>true</CanGrow>
627                      <Value>Agent</Value>
628                    </Textbox>
629                  </ReportItems>
630                </TableCell>
631                <TableCell>
632                  <ReportItems>
633                    <Textbox Name="textbox3">
634                      <rd:DefaultName>textbox3</rd:DefaultName>
635                      <Style>
636                        <BackgroundColor>WhiteSmoke</BackgroundColor>
637                        <BorderColor>
638                          <Default>LightGrey</Default>
639                        </BorderColor>
640                        <BorderStyle>
641                          <Default>Solid</Default>
642                        </BorderStyle>
643                        <BorderWidth>
644                          <Default>0.5pt</Default>
645                        </BorderWidth>
646                        <FontSize>9pt</FontSize>
647                        <FontWeight>700</FontWeight>
648                        <TextAlign>Center</TextAlign>
649                        <VerticalAlign>Middle</VerticalAlign>
650                        <PaddingLeft>2pt</PaddingLeft>
651                        <PaddingRight>2pt</PaddingRight>
652                        <PaddingTop>2pt</PaddingTop>
653                        <PaddingBottom>2pt</PaddingBottom>
654                      </Style>
655                      <ZIndex>18</ZIndex>
656                      <CanGrow>true</CanGrow>
657                      <Value>Ilość</Value>
658                    </Textbox>
659                  </ReportItems>
660                </TableCell>
661                <TableCell>
662                  <ReportItems>
663                    <Textbox Name="textbox18">
664                      <rd:DefaultName>textbox18</rd:DefaultName>
665                      <Style>
666                        <BackgroundColor>WhiteSmoke</BackgroundColor>
667                        <BorderColor>
668                          <Default>LightGrey</Default>
669                        </BorderColor>
670                        <BorderStyle>
671                          <Default>Solid</Default>
672                        </BorderStyle>
673                        <BorderWidth>
674                          <Default>0.5pt</Default>
675                        </BorderWidth>
676                        <FontSize>9pt</FontSize>
677                        <FontWeight>700</FontWeight>
678                        <TextAlign>Center</TextAlign>
679                        <VerticalAlign>Middle</VerticalAlign>
680                        <PaddingLeft>2pt</PaddingLeft>
681                        <PaddingRight>2pt</PaddingRight>
682                        <PaddingTop>2pt</PaddingTop>
683                        <PaddingBottom>2pt</PaddingBottom>
684                      </Style>
685                      <ZIndex>17</ZIndex>
686                      <CanGrow>true</CanGrow>
687                      <Value>Imię</Value>
688                    </Textbox>
689                  </ReportItems>
690                </TableCell>
691                <TableCell>
692                  <ReportItems>
693                    <Textbox Name="textbox15">
694                      <rd:DefaultName>textbox15</rd:DefaultName>
695                      <Style>
696                        <BackgroundColor>WhiteSmoke</BackgroundColor>
697                        <BorderColor>
698                          <Default>LightGrey</Default>
699                        </BorderColor>
700                        <BorderStyle>
701                          <Default>Solid</Default>
702                        </BorderStyle>
703                        <BorderWidth>
704                          <Default>0.5pt</Default>
705                        </BorderWidth>
706                        <FontSize>9pt</FontSize>
707                        <FontWeight>700</FontWeight>
708                        <TextAlign>Center</TextAlign>
709                        <VerticalAlign>Middle</VerticalAlign>
710                        <PaddingLeft>2pt</PaddingLeft>
711                        <PaddingRight>2pt</PaddingRight>
712                        <PaddingTop>2pt</PaddingTop>
713                        <PaddingBottom>2pt</PaddingBottom>
714                      </Style>
715                      <ZIndex>16</ZIndex>
716                      <CanGrow>true</CanGrow>
717                      <Value>Nazwisko</Value>
718                    </Textbox>
719                  </ReportItems>
720                </TableCell>
721                <TableCell>
722                  <ReportItems>
723                    <Textbox Name="textbox12">
724                      <rd:DefaultName>textbox12</rd:DefaultName>
725                      <Style>
726                        <BackgroundColor>WhiteSmoke</BackgroundColor>
727                        <BorderColor>
728                          <Default>LightGrey</Default>
729                        </BorderColor>
730                        <BorderStyle>
731                          <Default>Solid</Default>
732                        </BorderStyle>
733                        <BorderWidth>
734                          <Default>0.5pt</Default>
735                        </BorderWidth>
736                        <FontSize>9pt</FontSize>
737                        <FontWeight>700</FontWeight>
738                        <TextAlign>Center</TextAlign>
739                        <VerticalAlign>Middle</VerticalAlign>
740                        <PaddingLeft>2pt</PaddingLeft>
741                        <PaddingRight>2pt</PaddingRight>
742                        <PaddingTop>2pt</PaddingTop>
743                        <PaddingBottom>2pt</PaddingBottom>
744                      </Style>
745                      <ZIndex>15</ZIndex>
746                      <CanGrow>true</CanGrow>
747                      <Value>SprzedaÅŒ netto</Value>
748                    </Textbox>
749                  </ReportItems>
750                </TableCell>
751                <TableCell>
752                  <ReportItems>
753                    <Textbox Name="textbox19">
754                      <rd:DefaultName>textbox19</rd:DefaultName>
755                      <Style>
756                        <BackgroundColor>WhiteSmoke</BackgroundColor>
757                        <BorderColor>
758                          <Default>LightGrey</Default>
759                        </BorderColor>
760                        <BorderStyle>
761                          <Default>Solid</Default>
762                        </BorderStyle>
763                        <BorderWidth>
764                          <Default>0.5pt</Default>
765                        </BorderWidth>
766                        <FontSize>9pt</FontSize>
767                        <FontWeight>700</FontWeight>
768                        <TextAlign>Center</TextAlign>
769                        <VerticalAlign>Middle</VerticalAlign>
770                        <PaddingLeft>2pt</PaddingLeft>
771                        <PaddingRight>2pt</PaddingRight>
772                        <PaddingTop>2pt</PaddingTop>
773                        <PaddingBottom>2pt</PaddingBottom>
774                      </Style>
775                      <ZIndex>14</ZIndex>
776                      <CanGrow>true</CanGrow>
777                      <Value>Prowizja od sprzedaÅŒy</Value>
778                    </Textbox>
779                  </ReportItems>
780                </TableCell>
781              </TableCells>
782              <Height>1cm</Height>
783            </TableRow>
784          </TableRows>
785        </Header>
786        <TableColumns>
787          <TableColumn>
788            <Width>3cm</Width>
789          </TableColumn>
790          <TableColumn>
791            <Width>2.75cm</Width>
792          </TableColumn>
793          <TableColumn>
794            <Width>1.25cm</Width>
795          </TableColumn>
796          <TableColumn>
797            <Width>2.5cm</Width>
798          </TableColumn>
799          <TableColumn>
800            <Width>2.77645cm</Width>
801          </TableColumn>
802          <TableColumn>
803            <Width>2.25cm</Width>
804          </TableColumn>
805          <TableColumn>
806            <Width>2.5cm</Width>
807          </TableColumn>
808        </TableColumns>
809        <Footer>
810          <TableRows>
811            <TableRow>
812              <TableCells>
813                <TableCell>
814                  <ReportItems>
815                    <Textbox Name="textbox7">
816                      <rd:DefaultName>textbox7</rd:DefaultName>
817                      <Style>
818                        <BorderColor>
819                          <Default>LightGrey</Default>
820                        </BorderColor>
821                        <BorderStyle>
822                          <Default>Solid</Default>
823                        </BorderStyle>
824                        <BorderWidth>
825                          <Default>0.5pt</Default>
826                        </BorderWidth>
827                        <FontSize>9pt</FontSize>
828                        <TextAlign>Center</TextAlign>
829                        <VerticalAlign>Middle</VerticalAlign>
830                        <PaddingLeft>2pt</PaddingLeft>
831                        <PaddingRight>2pt</PaddingRight>
832                        <PaddingTop>2pt</PaddingTop>
833                        <PaddingBottom>2pt</PaddingBottom>
834                      </Style>
835                      <ZIndex>13</ZIndex>
836                      <CanGrow>true</CanGrow>
837                      <Value />
838                    </Textbox>
839                  </ReportItems>
840                </TableCell>
841                <TableCell>
842                  <ReportItems>
843                    <Textbox Name="textbox8">
844                      <rd:DefaultName>textbox8</rd:DefaultName>
845                      <Style>
846                        <BorderColor>
847                          <Default>LightGrey</Default>
848                        </BorderColor>
849                        <BorderStyle>
850                          <Default>Solid</Default>
851                        </BorderStyle>
852                        <BorderWidth>
853                          <Default>0.5pt</Default>
854                        </BorderWidth>
855                        <FontSize>9pt</FontSize>
856                        <TextAlign>Center</TextAlign>
857                        <VerticalAlign>Middle</VerticalAlign>
858                        <PaddingLeft>2pt</PaddingLeft>
859                        <PaddingRight>2pt</PaddingRight>
860                        <PaddingTop>2pt</PaddingTop>
861                        <PaddingBottom>2pt</PaddingBottom>
862                      </Style>
863                      <ZIndex>12</ZIndex>
864                      <CanGrow>true</CanGrow>
865                      <Value />
866                    </Textbox>
867                  </ReportItems>
868                </TableCell>
869                <TableCell>
870                  <ReportItems>
871                    <Textbox Name="textbox9">
872                      <rd:DefaultName>textbox9</rd:DefaultName>
873                      <Style>
874                        <BorderColor>
875                          <Default>LightGrey</Default>
876                        </BorderColor>
877                        <BorderStyle>
878                          <Default>Solid</Default>
879                        </BorderStyle>
880                        <BorderWidth>
881                          <Default>0.5pt</Default>
882                        </BorderWidth>
883                        <FontSize>9pt</FontSize>
884                        <TextAlign>Center</TextAlign>
885                        <VerticalAlign>Middle</VerticalAlign>
886                        <PaddingLeft>2pt</PaddingLeft>
887                        <PaddingRight>2pt</PaddingRight>
888                        <PaddingTop>2pt</PaddingTop>
889                        <PaddingBottom>2pt</PaddingBottom>
890                      </Style>
891                      <ZIndex>11</ZIndex>
892                      <CanGrow>true</CanGrow>
893                      <Value />
894                    </Textbox>
895                  </ReportItems>
896                </TableCell>
897                <TableCell>
898                  <ReportItems>
899                    <Textbox Name="textbox20">
900                      <rd:DefaultName>textbox20</rd:DefaultName>
901                      <Style>
902                        <BorderColor>
903                          <Default>LightGrey</Default>
904                        </BorderColor>
905                        <BorderStyle>
906                          <Default>Solid</Default>
907                        </BorderStyle>
908                        <BorderWidth>
909                          <Default>0.5pt</Default>
910                        </BorderWidth>
911                        <FontSize>9pt</FontSize>
912                        <TextAlign>Center</TextAlign>
913                        <VerticalAlign>Middle</VerticalAlign>
914                        <PaddingLeft>2pt</PaddingLeft>
915                        <PaddingRight>2pt</PaddingRight>
916                        <PaddingTop>2pt</PaddingTop>
917                        <PaddingBottom>2pt</PaddingBottom>
918                      </Style>
919                      <ZIndex>10</ZIndex>
920                      <CanGrow>true</CanGrow>
921                      <Value />
922                    </Textbox>
923                  </ReportItems>
924                </TableCell>
925                <TableCell>
926                  <ReportItems>
927                    <Textbox Name="textbox17">
928                      <rd:DefaultName>textbox17</rd:DefaultName>
929                      <Style>
930                        <BackgroundColor>WhiteSmoke</BackgroundColor>
931                        <BorderColor>
932                          <Default>LightGrey</Default>
933                        </BorderColor>
934                        <BorderStyle>
935                          <Default>Solid</Default>
936                        </BorderStyle>
937                        <BorderWidth>
938                          <Default>0.5pt</Default>
939                        </BorderWidth>
940                        <FontSize>9pt</FontSize>
941                        <FontWeight>700</FontWeight>
942                        <TextAlign>Center</TextAlign>
943                        <VerticalAlign>Middle</VerticalAlign>
944                        <PaddingLeft>2pt</PaddingLeft>
945                        <PaddingRight>2pt</PaddingRight>
946                        <PaddingTop>2pt</PaddingTop>
947                        <PaddingBottom>2pt</PaddingBottom>
948                      </Style>
949                      <ZIndex>9</ZIndex>
950                      <CanGrow>true</CanGrow>
951                      <Value>RAZEM:</Value>
952                    </Textbox>
953                  </ReportItems>
954                </TableCell>
955                <TableCell>
956                  <ReportItems>
957                    <Textbox Name="nn_1">
958                      <rd:DefaultName>nn_1</rd:DefaultName>
959                      <Style>
960                        <BackgroundColor>WhiteSmoke</BackgroundColor>
961                        <BorderColor>
962                          <Default>LightGrey</Default>
963                        </BorderColor>
964                        <BorderStyle>
965                          <Default>Solid</Default>
966                        </BorderStyle>
967                        <BorderWidth>
968                          <Default>0.5pt</Default>
969                        </BorderWidth>
970                        <FontSize>9pt</FontSize>
971                        <FontWeight>700</FontWeight>
972                        <Format>C</Format>
973                        <TextAlign>Center</TextAlign>
974                        <VerticalAlign>Middle</VerticalAlign>
975                        <PaddingLeft>2pt</PaddingLeft>
976                        <PaddingRight>2pt</PaddingRight>
977                        <PaddingTop>2pt</PaddingTop>
978                        <PaddingBottom>2pt</PaddingBottom>
979                        <Language>pl</Language>
980                      </Style>
981                      <ZIndex>8</ZIndex>
982                      <CanGrow>true</CanGrow>
983                      <Value>=Sum(Fields!Netto.Value)</Value>
984                    </Textbox>
985                  </ReportItems>
986                </TableCell>
987                <TableCell>
988                  <ReportItems>
989                    <Textbox Name="pp_1">
990                      <rd:DefaultName>pp_1</rd:DefaultName>
991                      <Style>
992                        <BackgroundColor>WhiteSmoke</BackgroundColor>
993                        <BorderColor>
994                          <Default>LightGrey</Default>
995                        </BorderColor>
996                        <BorderStyle>
997                          <Default>Solid</Default>
998                        </BorderStyle>
999                        <BorderWidth>
1000                          <Default>0.5pt</Default>
1001                        </BorderWidth>
1002                        <FontSize>9pt</FontSize>
1003                        <FontWeight>700</FontWeight>
1004                        <Format>C</Format>
1005                        <TextAlign>Center</TextAlign>
1006                        <VerticalAlign>Middle</VerticalAlign>
1007                        <PaddingLeft>2pt</PaddingLeft>
1008                        <PaddingRight>2pt</PaddingRight>
1009                        <PaddingTop>2pt</PaddingTop>
1010                        <PaddingBottom>2pt</PaddingBottom>
1011                        <Language>pl</Language>
1012                      </Style>
1013                      <ZIndex>7</ZIndex>
1014                      <CanGrow>true</CanGrow>
1015                      <Value>=Sum(Fields!Prowizja.Value)</Value>
1016                    </Textbox>
1017                  </ReportItems>
1018                </TableCell>
1019              </TableCells>
1020              <Height>0.63492cm</Height>
1021            </TableRow>
1022          </TableRows>
1023        </Footer>
1024        <Left>1cm</Left>
1025      </Table>
1026    </ReportItems>
1027    <Height>4.01984cm</Height>
1028  </Body>
1029  <Language>en-US</Language>
1030  <TopMargin>1cm</TopMargin>
1031  <PageHeight>29.7cm</PageHeight>
1032</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.