root/trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 480

Wersja 466, 39.8 KB (wprowadzona przez marek, 17 years temu)

re #129

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