root/trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl @ 516

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