root/trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 694

Wersja 694, 41.5 KB (wprowadzona przez marek, 17 years temu)

fixes #180

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