root/branches/Emisje/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 805

Wersja 805, 45.9 KB (wprowadzona przez marek, 17 years temu)

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