root/trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 900

Wersja 827, 50.4 KB (wprowadzona przez marek, 17 years temu)

re #211 - sortowanie na raporcie prowizji

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="procentProwizji">
188          <DataField>procentProwizji</DataField>
189          <rd:TypeName>System.Double</rd:TypeName>
190        </Field>
191        <Field Name="Prowizja">
192          <DataField>Prowizja</DataField>
193          <rd:TypeName>System.Double</rd:TypeName>
194        </Field>
195        <Field Name="Pracownicy">
196          <DataField>Pracownicy</DataField>
197          <rd:TypeName>System.Boolean</rd:TypeName>
198        </Field>
199      </Fields>
200      <Filters>
201        <Filter>
202          <FilterExpression>=Fields!agencja.Value</FilterExpression>
203          <Operator>In</Operator>
204          <FilterValues>
205            <FilterValue>=Parameters!agencja.Value</FilterValue>
206          </FilterValues>
207        </Filter>
208      </Filters>
209      <Query>
210        <DataSourceName>BAZA_REKLAM</DataSourceName>
211        <CommandText>SELECT P.idFaktury, P.NrFaktury, P.Agencja, P.Agent, A.[Imię] As Imie, A.Nazwisko, Netto, procentProwizji, Netto*procentProwizji AS Prowizja, A.Pracownicy 
212FROM Prowizje P
213INNER JOIN Agenci A ON A.Symbol=P.Agent
214WHERE Rok=@rok AND Ms=@miesiac
215AND (@prawa_agent IS NULL OR P.Agent=@prawa_agent)
216AND (@pracownik IS NULL OR A.Pracownicy=@pracownik)
217ORDER BY  P.Agencja, A.[Imię], A.Nazwisko, P.idFaktury</CommandText>
218        <QueryParameters>
219          <QueryParameter Name="@rok">
220            <Value>=Parameters!rok.Value</Value>
221          </QueryParameter>
222          <QueryParameter Name="@miesiac">
223            <Value>=Parameters!miesiac.Value</Value>
224          </QueryParameter>
225          <QueryParameter Name="@prawa_agent">
226            <Value>=Parameters!prawa_agent.Value</Value>
227          </QueryParameter>
228          <QueryParameter Name="@pracownik">
229            <Value>=Parameters!pracownik.Value</Value>
230          </QueryParameter>
231        </QueryParameters>
232        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
233      </Query>
234    </DataSet>
235    <DataSet Name="ListaAgentow">
236      <Fields>
237        <Field Name="ID_AGENTA">
238          <DataField>ID_AGENTA</DataField>
239          <rd:TypeName>System.Int32</rd:TypeName>
240        </Field>
241        <Field Name="Symbol">
242          <DataField>Symbol</DataField>
243          <rd:TypeName>System.String</rd:TypeName>
244        </Field>
245        <Field Name="agencja">
246          <DataField>agencja</DataField>
247          <rd:TypeName>System.String</rd:TypeName>
248        </Field>
249      </Fields>
250      <Query>
251        <DataSourceName>BAZA_REKLAM</DataSourceName>
252        <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja
253FROM            AGENCI A left join Agencje A2
254on A.ID_AGENCJI = A2.ID_Agencji
255 where aktywny=1 AND  (A2.Symbol in (@agencja) OR A2.Symbol is null) AND (@prawa_agent is null OR A.Symbol=@prawa_agent)
256order by A.Symbol</CommandText>
257        <QueryParameters>
258          <QueryParameter Name="@agencja">
259            <Value>=Parameters!agencja.Value</Value>
260          </QueryParameter>
261          <QueryParameter Name="@prawa_agent">
262            <Value>=Parameters!prawa_agent.Value</Value>
263          </QueryParameter>
264        </QueryParameters>
265        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
266      </Query>
267    </DataSet>
268    <DataSet Name="ListaAgencji">
269      <Fields>
270        <Field Name="Id_agencji">
271          <DataField>Id_agencji</DataField>
272          <rd:TypeName>System.Int32</rd:TypeName>
273        </Field>
274        <Field Name="Symbol">
275          <DataField>Symbol</DataField>
276          <rd:TypeName>System.String</rd:TypeName>
277        </Field>
278      </Fields>
279      <Query>
280        <DataSourceName>BAZA_REKLAM</DataSourceName>
281        <CommandText>SELECT        Id_agencji, Symbol
282FROM            AGENCJE where aktywna=1 and (@prawa_agencje is null or @prawa_agencje= Id_agencji)</CommandText>
283        <QueryParameters>
284          <QueryParameter Name="@prawa_agencje">
285            <Value>=Parameters!prawa_agencje.Value</Value>
286          </QueryParameter>
287        </QueryParameters>
288        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
289      </Query>
290    </DataSet>
291    <DataSet Name="ListaLat">
292      <Fields>
293        <Field Name="rok">
294          <DataField>rok</DataField>
295          <rd:TypeName>System.Int32</rd:TypeName>
296        </Field>
297      </Fields>
298      <Query>
299        <DataSourceName>BAZA_REKLAM</DataSourceName>
300        <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>
301        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
302      </Query>
303    </DataSet>
304  </DataSets>
305  <Code>Public Function GetMonths(P as Parameter) as String
306  Dim i As Integer
307  Dim s As String
308  s = p.value(0)               
309  For i = 1 to Ubound(P.Value)
310    s = s &amp; "," &amp; p.Value(i) 
311  Next i
312  Return s
313End Function</Code>
314  <Width>18.75cm</Width>
315  <Body>
316    <ColumnSpacing>1cm</ColumnSpacing>
317    <ReportItems>
318      <Textbox Name="textbox6">
319        <rd:DefaultName>textbox6</rd:DefaultName>
320        <Top>0.25cm</Top>
321        <Width>17cm</Width>
322        <Style>
323          <FontSize>14pt</FontSize>
324          <FontWeight>700</FontWeight>
325          <TextAlign>Center</TextAlign>
326          <PaddingLeft>2pt</PaddingLeft>
327          <PaddingRight>2pt</PaddingRight>
328          <PaddingTop>2pt</PaddingTop>
329          <PaddingBottom>2pt</PaddingBottom>
330        </Style>
331        <ZIndex>1</ZIndex>
332        <CanGrow>true</CanGrow>
333        <Left>1cm</Left>
334        <Height>0.75cm</Height>
335        <Value>="Rozliczenie prowizji za reklamę za rok: " &amp; Parameters!rok.Value &amp; "  miesiąc: " &amp; CStr(Parameters!miesiac.Value)</Value>
336      </Textbox>
337      <Table Name="table1">
338        <DataSetName>Prowizje</DataSetName>
339        <Top>1.75cm</Top>
340        <TableGroups>
341          <TableGroup>
342            <Grouping Name="table1_Group1">
343              <GroupExpressions>
344                <GroupExpression>=Fields!Agent.Value</GroupExpression>
345              </GroupExpressions>
346            </Grouping>
347            <Header>
348              <TableRows>
349                <TableRow>
350                  <TableCells>
351                    <TableCell>
352                      <ReportItems>
353                        <Textbox Name="textbox30">
354                          <Style>
355                            <BorderColor>
356                              <Default>LightGrey</Default>
357                            </BorderColor>
358                            <BorderStyle>
359                              <Default>Solid</Default>
360                            </BorderStyle>
361                            <BorderWidth>
362                              <Default>0.5pt</Default>
363                            </BorderWidth>
364                            <FontSize>9pt</FontSize>
365                            <TextAlign>Center</TextAlign>
366                            <VerticalAlign>Middle</VerticalAlign>
367                            <PaddingLeft>2pt</PaddingLeft>
368                            <PaddingRight>2pt</PaddingRight>
369                            <PaddingTop>2pt</PaddingTop>
370                            <PaddingBottom>2pt</PaddingBottom>
371                          </Style>
372                          <ZIndex>20</ZIndex>
373                          <CanGrow>true</CanGrow>
374                          <Value>=Fields!agencja.Value</Value>
375                        </Textbox>
376                      </ReportItems>
377                    </TableCell>
378                    <TableCell>
379                      <ReportItems>
380                        <Textbox Name="Imię">
381                          <rd:DefaultName>Imię</rd:DefaultName>
382                          <Style>
383                            <BorderColor>
384                              <Default>LightGrey</Default>
385                            </BorderColor>
386                            <BorderStyle>
387                              <Default>Solid</Default>
388                            </BorderStyle>
389                            <BorderWidth>
390                              <Default>0.5pt</Default>
391                            </BorderWidth>
392                            <FontSize>9pt</FontSize>
393                            <TextAlign>Center</TextAlign>
394                            <VerticalAlign>Middle</VerticalAlign>
395                            <PaddingLeft>2pt</PaddingLeft>
396                            <PaddingRight>2pt</PaddingRight>
397                            <PaddingTop>2pt</PaddingTop>
398                            <PaddingBottom>2pt</PaddingBottom>
399                          </Style>
400                          <ZIndex>19</ZIndex>
401                          <CanGrow>true</CanGrow>
402                          <Value>=Fields!Imie.Value</Value>
403                        </Textbox>
404                      </ReportItems>
405                    </TableCell>
406                    <TableCell>
407                      <ReportItems>
408                        <Textbox Name="textbox16">
409                          <Style>
410                            <BorderColor>
411                              <Default>LightGrey</Default>
412                            </BorderColor>
413                            <BorderStyle>
414                              <Default>Solid</Default>
415                            </BorderStyle>
416                            <BorderWidth>
417                              <Default>0.5pt</Default>
418                            </BorderWidth>
419                            <FontSize>9pt</FontSize>
420                            <TextAlign>Center</TextAlign>
421                            <VerticalAlign>Middle</VerticalAlign>
422                            <PaddingLeft>2pt</PaddingLeft>
423                            <PaddingRight>2pt</PaddingRight>
424                            <PaddingTop>2pt</PaddingTop>
425                            <PaddingBottom>2pt</PaddingBottom>
426                          </Style>
427                          <ZIndex>18</ZIndex>
428                          <CanGrow>true</CanGrow>
429                          <Value>=Fields!Nazwisko.Value</Value>
430                        </Textbox>
431                      </ReportItems>
432                    </TableCell>
433                    <TableCell>
434                      <ReportItems>
435                        <Textbox Name="textbox2">
436                          <Style>
437                            <BorderColor>
438                              <Default>LightGrey</Default>
439                            </BorderColor>
440                            <BorderStyle>
441                              <Default>Solid</Default>
442                            </BorderStyle>
443                            <BorderWidth>
444                              <Default>0.5pt</Default>
445                            </BorderWidth>
446                            <FontSize>9pt</FontSize>
447                            <Format>g</Format>
448                            <TextAlign>Center</TextAlign>
449                            <VerticalAlign>Middle</VerticalAlign>
450                            <PaddingLeft>2pt</PaddingLeft>
451                            <PaddingRight>2pt</PaddingRight>
452                            <PaddingTop>2pt</PaddingTop>
453                            <PaddingBottom>2pt</PaddingBottom>
454                            <Language>pl</Language>
455                          </Style>
456                          <ZIndex>17</ZIndex>
457                          <CanGrow>true</CanGrow>
458                          <Value>=CountDistinct(Fields!idFaktury.Value, "table1_Group1")</Value>
459                        </Textbox>
460                      </ReportItems>
461                    </TableCell>
462                    <TableCell>
463                      <ReportItems>
464                        <Textbox Name="textbox10">
465                          <Style>
466                            <BorderColor>
467                              <Default>LightGrey</Default>
468                            </BorderColor>
469                            <BorderStyle>
470                              <Default>Solid</Default>
471                            </BorderStyle>
472                            <BorderWidth>
473                              <Default>0.5pt</Default>
474                            </BorderWidth>
475                            <FontSize>9pt</FontSize>
476                            <Format>C</Format>
477                            <TextAlign>Center</TextAlign>
478                            <VerticalAlign>Middle</VerticalAlign>
479                            <PaddingLeft>2pt</PaddingLeft>
480                            <PaddingRight>2pt</PaddingRight>
481                            <PaddingTop>2pt</PaddingTop>
482                            <PaddingBottom>2pt</PaddingBottom>
483                            <Language>pl</Language>
484                          </Style>
485                          <ZIndex>16</ZIndex>
486                          <CanGrow>true</CanGrow>
487                          <Value>=Sum(Fields!Netto.Value)</Value>
488                        </Textbox>
489                      </ReportItems>
490                    </TableCell>
491                    <TableCell>
492                      <ReportItems>
493                        <Textbox Name="textbox8">
494                          <Style>
495                            <BorderColor>
496                              <Default>LightGrey</Default>
497                            </BorderColor>
498                            <BorderStyle>
499                              <Default>Solid</Default>
500                            </BorderStyle>
501                            <BorderWidth>
502                              <Default>0.5pt</Default>
503                            </BorderWidth>
504                            <FontSize>9pt</FontSize>
505                            <Format>C</Format>
506                            <TextAlign>Center</TextAlign>
507                            <VerticalAlign>Middle</VerticalAlign>
508                            <PaddingLeft>2pt</PaddingLeft>
509                            <PaddingRight>2pt</PaddingRight>
510                            <PaddingTop>2pt</PaddingTop>
511                            <PaddingBottom>2pt</PaddingBottom>
512                            <Language>pl</Language>
513                          </Style>
514                          <ZIndex>15</ZIndex>
515                          <CanGrow>true</CanGrow>
516                          <Value>=Sum(Fields!Prowizja.Value)</Value>
517                        </Textbox>
518                      </ReportItems>
519                    </TableCell>
520                    <TableCell>
521                      <ReportItems>
522                        <Textbox Name="textbox33">
523                          <Style>
524                            <BorderColor>
525                              <Default>LightGrey</Default>
526                            </BorderColor>
527                            <BorderWidth>
528                              <Default>0.5pt</Default>
529                            </BorderWidth>
530                            <FontSize>9pt</FontSize>
531                            <Format>C</Format>
532                            <TextAlign>Center</TextAlign>
533                            <VerticalAlign>Middle</VerticalAlign>
534                            <PaddingLeft>2pt</PaddingLeft>
535                            <PaddingRight>2pt</PaddingRight>
536                            <PaddingTop>2pt</PaddingTop>
537                            <PaddingBottom>2pt</PaddingBottom>
538                          </Style>
539                          <ZIndex>14</ZIndex>
540                          <CanGrow>true</CanGrow>
541                          <Value />
542                        </Textbox>
543                      </ReportItems>
544                    </TableCell>
545                    <TableCell>
546                      <ReportItems>
547                        <Textbox Name="textbox28">
548                          <Style>
549                            <PaddingLeft>2pt</PaddingLeft>
550                            <PaddingRight>2pt</PaddingRight>
551                            <PaddingTop>2pt</PaddingTop>
552                            <PaddingBottom>2pt</PaddingBottom>
553                          </Style>
554                          <ZIndex>13</ZIndex>
555                          <CanGrow>true</CanGrow>
556                          <Value />
557                        </Textbox>
558                      </ReportItems>
559                    </TableCell>
560                  </TableCells>
561                  <Height>0.63492cm</Height>
562                </TableRow>
563              </TableRows>
564            </Header>
565          </TableGroup>
566        </TableGroups>
567        <Details>
568          <TableRows>
569            <TableRow>
570              <TableCells>
571                <TableCell>
572                  <ColSpan>4</ColSpan>
573                  <ReportItems>
574                    <Textbox Name="textbox11">
575                      <rd:DefaultName>textbox11</rd:DefaultName>
576                      <Style>
577                        <BorderColor>
578                          <Default>LightGrey</Default>
579                        </BorderColor>
580                        <BorderWidth>
581                          <Default>0.5pt</Default>
582                        </BorderWidth>
583                        <PaddingLeft>2pt</PaddingLeft>
584                        <PaddingRight>2pt</PaddingRight>
585                        <PaddingTop>2pt</PaddingTop>
586                        <PaddingBottom>2pt</PaddingBottom>
587                      </Style>
588                      <ZIndex>4</ZIndex>
589                      <CanGrow>true</CanGrow>
590                      <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>3</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                      <ZIndex>2</ZIndex>
649                      <CanGrow>true</CanGrow>
650                      <Value>=Fields!Prowizja.Value</Value>
651                    </Textbox>
652                  </ReportItems>
653                </TableCell>
654                <TableCell>
655                  <ReportItems>
656                    <Textbox Name="textbox34">
657                      <Style>
658                        <BorderColor>
659                          <Default>LightGrey</Default>
660                        </BorderColor>
661                        <BorderStyle>
662                          <Default>Solid</Default>
663                        </BorderStyle>
664                        <BorderWidth>
665                          <Default>0.5pt</Default>
666                        </BorderWidth>
667                        <FontSize>9pt</FontSize>
668                        <Format>P</Format>
669                        <TextAlign>Center</TextAlign>
670                        <VerticalAlign>Middle</VerticalAlign>
671                        <PaddingLeft>2pt</PaddingLeft>
672                        <PaddingRight>2pt</PaddingRight>
673                        <PaddingTop>2pt</PaddingTop>
674                        <PaddingBottom>2pt</PaddingBottom>
675                        <Language>pl</Language>
676                      </Style>
677                      <ZIndex>1</ZIndex>
678                      <CanGrow>true</CanGrow>
679                      <Value>=Fields!procentProwizji.Value</Value>
680                    </Textbox>
681                  </ReportItems>
682                </TableCell>
683                <TableCell>
684                  <ReportItems>
685                    <Textbox Name="textbox29">
686                      <Style>
687                        <BorderColor>
688                          <Default>LightGrey</Default>
689                        </BorderColor>
690                        <BorderStyle>
691                          <Default>Solid</Default>
692                        </BorderStyle>
693                        <BorderWidth>
694                          <Default>0.5pt</Default>
695                        </BorderWidth>
696                        <FontSize>9pt</FontSize>
697                        <TextAlign>Center</TextAlign>
698                        <VerticalAlign>Middle</VerticalAlign>
699                        <PaddingLeft>2pt</PaddingLeft>
700                        <PaddingRight>2pt</PaddingRight>
701                        <PaddingTop>2pt</PaddingTop>
702                        <PaddingBottom>2pt</PaddingBottom>
703                      </Style>
704                      <CanGrow>true</CanGrow>
705                      <Value>=Fields!NrFaktury.Value</Value>
706                    </Textbox>
707                  </ReportItems>
708                </TableCell>
709              </TableCells>
710              <Height>0.63492cm</Height>
711            </TableRow>
712          </TableRows>
713          <Visibility>
714            <Hidden>true</Hidden>
715            <ToggleItem>textbox30</ToggleItem>
716          </Visibility>
717        </Details>
718        <Header>
719          <TableRows>
720            <TableRow>
721              <TableCells>
722                <TableCell>
723                  <ReportItems>
724                    <Textbox Name="textbox1">
725                      <rd:DefaultName>textbox1</rd:DefaultName>
726                      <Style>
727                        <BackgroundColor>WhiteSmoke</BackgroundColor>
728                        <BorderColor>
729                          <Default>LightGrey</Default>
730                        </BorderColor>
731                        <BorderStyle>
732                          <Default>Solid</Default>
733                        </BorderStyle>
734                        <BorderWidth>
735                          <Default>0.5pt</Default>
736                        </BorderWidth>
737                        <FontSize>9pt</FontSize>
738                        <FontWeight>700</FontWeight>
739                        <TextAlign>Center</TextAlign>
740                        <VerticalAlign>Middle</VerticalAlign>
741                        <PaddingLeft>2pt</PaddingLeft>
742                        <PaddingRight>2pt</PaddingRight>
743                        <PaddingTop>2pt</PaddingTop>
744                        <PaddingBottom>2pt</PaddingBottom>
745                      </Style>
746                      <ZIndex>28</ZIndex>
747                      <CanGrow>true</CanGrow>
748                      <Value>Agencja</Value>
749                    </Textbox>
750                  </ReportItems>
751                </TableCell>
752                <TableCell>
753                  <ReportItems>
754                    <Textbox Name="textbox18">
755                      <rd:DefaultName>textbox18</rd:DefaultName>
756                      <Style>
757                        <BackgroundColor>WhiteSmoke</BackgroundColor>
758                        <BorderColor>
759                          <Default>LightGrey</Default>
760                        </BorderColor>
761                        <BorderStyle>
762                          <Default>Solid</Default>
763                        </BorderStyle>
764                        <BorderWidth>
765                          <Default>0.5pt</Default>
766                        </BorderWidth>
767                        <FontSize>9pt</FontSize>
768                        <FontWeight>700</FontWeight>
769                        <TextAlign>Center</TextAlign>
770                        <VerticalAlign>Middle</VerticalAlign>
771                        <PaddingLeft>2pt</PaddingLeft>
772                        <PaddingRight>2pt</PaddingRight>
773                        <PaddingTop>2pt</PaddingTop>
774                        <PaddingBottom>2pt</PaddingBottom>
775                      </Style>
776                      <ZIndex>27</ZIndex>
777                      <CanGrow>true</CanGrow>
778                      <Value>Imię</Value>
779                    </Textbox>
780                  </ReportItems>
781                </TableCell>
782                <TableCell>
783                  <ReportItems>
784                    <Textbox Name="textbox37">
785                      <Style>
786                        <BackgroundColor>WhiteSmoke</BackgroundColor>
787                        <BorderColor>
788                          <Default>LightGrey</Default>
789                        </BorderColor>
790                        <BorderStyle>
791                          <Default>Solid</Default>
792                        </BorderStyle>
793                        <BorderWidth>
794                          <Default>0.5pt</Default>
795                        </BorderWidth>
796                        <FontSize>9pt</FontSize>
797                        <FontWeight>700</FontWeight>
798                        <TextAlign>Center</TextAlign>
799                        <VerticalAlign>Middle</VerticalAlign>
800                        <PaddingLeft>2pt</PaddingLeft>
801                        <PaddingRight>2pt</PaddingRight>
802                        <PaddingTop>2pt</PaddingTop>
803                        <PaddingBottom>2pt</PaddingBottom>
804                      </Style>
805                      <ZIndex>26</ZIndex>
806                      <CanGrow>true</CanGrow>
807                      <Value>Nazwisko</Value>
808                    </Textbox>
809                  </ReportItems>
810                </TableCell>
811                <TableCell>
812                  <ReportItems>
813                    <Textbox Name="textbox3">
814                      <rd:DefaultName>textbox3</rd:DefaultName>
815                      <Style>
816                        <BackgroundColor>WhiteSmoke</BackgroundColor>
817                        <BorderColor>
818                          <Default>LightGrey</Default>
819                        </BorderColor>
820                        <BorderStyle>
821                          <Default>Solid</Default>
822                        </BorderStyle>
823                        <BorderWidth>
824                          <Default>0.5pt</Default>
825                        </BorderWidth>
826                        <FontSize>9pt</FontSize>
827                        <FontWeight>700</FontWeight>
828                        <TextAlign>Center</TextAlign>
829                        <VerticalAlign>Middle</VerticalAlign>
830                        <PaddingLeft>2pt</PaddingLeft>
831                        <PaddingRight>2pt</PaddingRight>
832                        <PaddingTop>2pt</PaddingTop>
833                        <PaddingBottom>2pt</PaddingBottom>
834                      </Style>
835                      <ZIndex>25</ZIndex>
836                      <CanGrow>true</CanGrow>
837                      <Value>Ilość faktur</Value>
838                    </Textbox>
839                  </ReportItems>
840                </TableCell>
841                <TableCell>
842                  <ReportItems>
843                    <Textbox Name="textbox12">
844                      <rd:DefaultName>textbox12</rd:DefaultName>
845                      <Style>
846                        <BackgroundColor>WhiteSmoke</BackgroundColor>
847                        <BorderColor>
848                          <Default>LightGrey</Default>
849                        </BorderColor>
850                        <BorderStyle>
851                          <Default>Solid</Default>
852                        </BorderStyle>
853                        <BorderWidth>
854                          <Default>0.5pt</Default>
855                        </BorderWidth>
856                        <FontSize>9pt</FontSize>
857                        <FontWeight>700</FontWeight>
858                        <TextAlign>Center</TextAlign>
859                        <VerticalAlign>Middle</VerticalAlign>
860                        <PaddingLeft>2pt</PaddingLeft>
861                        <PaddingRight>2pt</PaddingRight>
862                        <PaddingTop>2pt</PaddingTop>
863                        <PaddingBottom>2pt</PaddingBottom>
864                      </Style>
865                      <ZIndex>24</ZIndex>
866                      <CanGrow>true</CanGrow>
867                      <Value>Wpływy netto</Value>
868                    </Textbox>
869                  </ReportItems>
870                </TableCell>
871                <TableCell>
872                  <ReportItems>
873                    <Textbox Name="textbox19">
874                      <rd:DefaultName>textbox19</rd:DefaultName>
875                      <Style>
876                        <BackgroundColor>WhiteSmoke</BackgroundColor>
877                        <BorderColor>
878                          <Default>LightGrey</Default>
879                        </BorderColor>
880                        <BorderStyle>
881                          <Default>Solid</Default>
882                        </BorderStyle>
883                        <BorderWidth>
884                          <Default>0.5pt</Default>
885                        </BorderWidth>
886                        <FontSize>9pt</FontSize>
887                        <FontWeight>700</FontWeight>
888                        <TextAlign>Center</TextAlign>
889                        <VerticalAlign>Middle</VerticalAlign>
890                        <PaddingLeft>2pt</PaddingLeft>
891                        <PaddingRight>2pt</PaddingRight>
892                        <PaddingTop>2pt</PaddingTop>
893                        <PaddingBottom>2pt</PaddingBottom>
894                      </Style>
895                      <ZIndex>23</ZIndex>
896                      <CanGrow>true</CanGrow>
897                      <Value>Prowizja od wpływów</Value>
898                    </Textbox>
899                  </ReportItems>
900                </TableCell>
901                <TableCell>
902                  <ReportItems>
903                    <Textbox Name="textbox32">
904                      <Style>
905                        <BackgroundColor>WhiteSmoke</BackgroundColor>
906                        <BorderColor>
907                          <Default>LightGrey</Default>
908                        </BorderColor>
909                        <BorderStyle>
910                          <Default>Solid</Default>
911                        </BorderStyle>
912                        <BorderWidth>
913                          <Default>0.5pt</Default>
914                        </BorderWidth>
915                        <FontSize>9pt</FontSize>
916                        <FontWeight>700</FontWeight>
917                        <TextAlign>Center</TextAlign>
918                        <VerticalAlign>Middle</VerticalAlign>
919                        <PaddingLeft>2pt</PaddingLeft>
920                        <PaddingRight>2pt</PaddingRight>
921                        <PaddingTop>2pt</PaddingTop>
922                        <PaddingBottom>2pt</PaddingBottom>
923                      </Style>
924                      <ZIndex>22</ZIndex>
925                      <CanGrow>true</CanGrow>
926                      <Value>Procent prowizji</Value>
927                    </Textbox>
928                  </ReportItems>
929                </TableCell>
930                <TableCell>
931                  <ReportItems>
932                    <Textbox Name="textbox27">
933                      <Style>
934                        <BackgroundColor>WhiteSmoke</BackgroundColor>
935                        <BorderColor>
936                          <Default>LightGrey</Default>
937                        </BorderColor>
938                        <BorderStyle>
939                          <Default>Solid</Default>
940                        </BorderStyle>
941                        <BorderWidth>
942                          <Default>0.5pt</Default>
943                        </BorderWidth>
944                        <FontSize>9pt</FontSize>
945                        <FontWeight>700</FontWeight>
946                        <TextAlign>Center</TextAlign>
947                        <VerticalAlign>Middle</VerticalAlign>
948                        <PaddingLeft>2pt</PaddingLeft>
949                        <PaddingRight>2pt</PaddingRight>
950                        <PaddingTop>2pt</PaddingTop>
951                        <PaddingBottom>2pt</PaddingBottom>
952                      </Style>
953                      <ZIndex>21</ZIndex>
954                      <CanGrow>true</CanGrow>
955                      <Value>Faktura</Value>
956                    </Textbox>
957                  </ReportItems>
958                </TableCell>
959              </TableCells>
960              <Height>1cm</Height>
961            </TableRow>
962          </TableRows>
963        </Header>
964        <TableColumns>
965          <TableColumn>
966            <Width>3.5cm</Width>
967          </TableColumn>
968          <TableColumn>
969            <Width>2.5cm</Width>
970          </TableColumn>
971          <TableColumn>
972            <Width>2.5cm</Width>
973          </TableColumn>
974          <TableColumn>
975            <Width>1.25cm</Width>
976          </TableColumn>
977          <TableColumn>
978            <Width>2.25cm</Width>
979          </TableColumn>
980          <TableColumn>
981            <Width>2.5cm</Width>
982          </TableColumn>
983          <TableColumn>
984            <Width>1.75cm</Width>
985          </TableColumn>
986          <TableColumn>
987            <Width>2.5cm</Width>
988          </TableColumn>
989        </TableColumns>
990        <Footer>
991          <TableRows>
992            <TableRow>
993              <TableCells>
994                <TableCell>
995                  <ReportItems>
996                    <Textbox Name="textbox7">
997                      <rd:DefaultName>textbox7</rd:DefaultName>
998                      <Style>
999                        <BorderColor>
1000                          <Default>LightGrey</Default>
1001                        </BorderColor>
1002                        <BorderStyle>
1003                          <Default>Solid</Default>
1004                        </BorderStyle>
1005                        <BorderWidth>
1006                          <Default>0.5pt</Default>
1007                        </BorderWidth>
1008                        <FontSize>9pt</FontSize>
1009                        <TextAlign>Center</TextAlign>
1010                        <VerticalAlign>Middle</VerticalAlign>
1011                        <PaddingLeft>2pt</PaddingLeft>
1012                        <PaddingRight>2pt</PaddingRight>
1013                        <PaddingTop>2pt</PaddingTop>
1014                        <PaddingBottom>2pt</PaddingBottom>
1015                      </Style>
1016                      <ZIndex>12</ZIndex>
1017                      <CanGrow>true</CanGrow>
1018                      <Value />
1019                    </Textbox>
1020                  </ReportItems>
1021                </TableCell>
1022                <TableCell>
1023                  <ReportItems>
1024                    <Textbox Name="textbox20">
1025                      <rd:DefaultName>textbox20</rd:DefaultName>
1026                      <Style>
1027                        <BorderColor>
1028                          <Default>LightGrey</Default>
1029                        </BorderColor>
1030                        <BorderStyle>
1031                          <Default>Solid</Default>
1032                        </BorderStyle>
1033                        <BorderWidth>
1034                          <Default>0.5pt</Default>
1035                        </BorderWidth>
1036                        <FontSize>9pt</FontSize>
1037                        <TextAlign>Center</TextAlign>
1038                        <VerticalAlign>Middle</VerticalAlign>
1039                        <PaddingLeft>2pt</PaddingLeft>
1040                        <PaddingRight>2pt</PaddingRight>
1041                        <PaddingTop>2pt</PaddingTop>
1042                        <PaddingBottom>2pt</PaddingBottom>
1043                      </Style>
1044                      <ZIndex>11</ZIndex>
1045                      <CanGrow>true</CanGrow>
1046                      <Value />
1047                    </Textbox>
1048                  </ReportItems>
1049                </TableCell>
1050                <TableCell>
1051                  <ReportItems>
1052                    <Textbox Name="textbox36">
1053                      <Style>
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                        <TextAlign>Center</TextAlign>
1065                        <VerticalAlign>Middle</VerticalAlign>
1066                        <PaddingLeft>2pt</PaddingLeft>
1067                        <PaddingRight>2pt</PaddingRight>
1068                        <PaddingTop>2pt</PaddingTop>
1069                        <PaddingBottom>2pt</PaddingBottom>
1070                      </Style>
1071                      <ZIndex>10</ZIndex>
1072                      <CanGrow>true</CanGrow>
1073                      <Value />
1074                    </Textbox>
1075                  </ReportItems>
1076                </TableCell>
1077                <TableCell>
1078                  <ReportItems>
1079                    <Textbox Name="textbox4">
1080                      <Style>
1081                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1082                        <BorderColor>
1083                          <Default>LightGrey</Default>
1084                        </BorderColor>
1085                        <BorderStyle>
1086                          <Default>Solid</Default>
1087                        </BorderStyle>
1088                        <BorderWidth>
1089                          <Default>0.5pt</Default>
1090                        </BorderWidth>
1091                        <FontSize>9pt</FontSize>
1092                        <FontWeight>700</FontWeight>
1093                        <TextAlign>Center</TextAlign>
1094                        <VerticalAlign>Middle</VerticalAlign>
1095                        <PaddingLeft>2pt</PaddingLeft>
1096                        <PaddingRight>2pt</PaddingRight>
1097                        <PaddingTop>2pt</PaddingTop>
1098                        <PaddingBottom>2pt</PaddingBottom>
1099                      </Style>
1100                      <ZIndex>9</ZIndex>
1101                      <CanGrow>true</CanGrow>
1102                      <Value>Suma:</Value>
1103                    </Textbox>
1104                  </ReportItems>
1105                </TableCell>
1106                <TableCell>
1107                  <ReportItems>
1108                    <Textbox Name="nn_1">
1109                      <rd:DefaultName>nn_1</rd:DefaultName>
1110                      <Style>
1111                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1112                        <BorderColor>
1113                          <Default>LightGrey</Default>
1114                        </BorderColor>
1115                        <BorderStyle>
1116                          <Default>Solid</Default>
1117                        </BorderStyle>
1118                        <BorderWidth>
1119                          <Default>0.5pt</Default>
1120                        </BorderWidth>
1121                        <FontSize>9pt</FontSize>
1122                        <FontWeight>700</FontWeight>
1123                        <Format>C</Format>
1124                        <TextAlign>Center</TextAlign>
1125                        <VerticalAlign>Middle</VerticalAlign>
1126                        <PaddingLeft>2pt</PaddingLeft>
1127                        <PaddingRight>2pt</PaddingRight>
1128                        <PaddingTop>2pt</PaddingTop>
1129                        <PaddingBottom>2pt</PaddingBottom>
1130                        <Language>pl</Language>
1131                      </Style>
1132                      <ZIndex>8</ZIndex>
1133                      <CanGrow>true</CanGrow>
1134                      <Value>=Sum(Fields!Netto.Value)</Value>
1135                    </Textbox>
1136                  </ReportItems>
1137                </TableCell>
1138                <TableCell>
1139                  <ReportItems>
1140                    <Textbox Name="pp_1">
1141                      <rd:DefaultName>pp_1</rd:DefaultName>
1142                      <Style>
1143                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1144                        <BorderColor>
1145                          <Default>LightGrey</Default>
1146                        </BorderColor>
1147                        <BorderStyle>
1148                          <Default>Solid</Default>
1149                        </BorderStyle>
1150                        <BorderWidth>
1151                          <Default>0.5pt</Default>
1152                        </BorderWidth>
1153                        <FontSize>9pt</FontSize>
1154                        <FontWeight>700</FontWeight>
1155                        <Format>C</Format>
1156                        <TextAlign>Center</TextAlign>
1157                        <VerticalAlign>Middle</VerticalAlign>
1158                        <PaddingLeft>2pt</PaddingLeft>
1159                        <PaddingRight>2pt</PaddingRight>
1160                        <PaddingTop>2pt</PaddingTop>
1161                        <PaddingBottom>2pt</PaddingBottom>
1162                        <Language>pl</Language>
1163                      </Style>
1164                      <ZIndex>7</ZIndex>
1165                      <CanGrow>true</CanGrow>
1166                      <Value>=Sum(Fields!Prowizja.Value)</Value>
1167                    </Textbox>
1168                  </ReportItems>
1169                </TableCell>
1170                <TableCell>
1171                  <ReportItems>
1172                    <Textbox Name="textbox9">
1173                      <rd:DefaultName>textbox9</rd:DefaultName>
1174                      <Style>
1175                        <BorderColor>
1176                          <Default>LightGrey</Default>
1177                        </BorderColor>
1178                        <BorderWidth>
1179                          <Default>0.5pt</Default>
1180                        </BorderWidth>
1181                        <PaddingLeft>2pt</PaddingLeft>
1182                        <PaddingRight>2pt</PaddingRight>
1183                        <PaddingTop>2pt</PaddingTop>
1184                        <PaddingBottom>2pt</PaddingBottom>
1185                      </Style>
1186                      <ZIndex>6</ZIndex>
1187                      <CanGrow>true</CanGrow>
1188                      <Value />
1189                    </Textbox>
1190                  </ReportItems>
1191                </TableCell>
1192                <TableCell>
1193                  <ReportItems>
1194                    <Textbox Name="textbox31">
1195                      <Style>
1196                        <BorderColor>
1197                          <Default>LightGrey</Default>
1198                        </BorderColor>
1199                        <BorderWidth>
1200                          <Default>0.5pt</Default>
1201                        </BorderWidth>
1202                        <FontSize>9pt</FontSize>
1203                        <TextAlign>Center</TextAlign>
1204                        <VerticalAlign>Middle</VerticalAlign>
1205                        <PaddingLeft>2pt</PaddingLeft>
1206                        <PaddingRight>2pt</PaddingRight>
1207                        <PaddingTop>2pt</PaddingTop>
1208                        <PaddingBottom>2pt</PaddingBottom>
1209                      </Style>
1210                      <ZIndex>5</ZIndex>
1211                      <CanGrow>true</CanGrow>
1212                      <Value />
1213                    </Textbox>
1214                  </ReportItems>
1215                </TableCell>
1216              </TableCells>
1217              <Height>0.63492cm</Height>
1218            </TableRow>
1219          </TableRows>
1220        </Footer>
1221      </Table>
1222    </ReportItems>
1223    <Height>4.65476cm</Height>
1224  </Body>
1225  <Language>pl-PL</Language>
1226  <TopMargin>1cm</TopMargin>
1227  <PageHeight>29.7cm</PageHeight>
1228</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.