root/trunk/RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl @ 257

Wersja 251, 56.1 KB (wprowadzona przez marek, 17 years temu)

re #32 - dodano wytluszczenie jesli zaplata powyzej 60 dni po terminie zaplaty

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>bbcc12ab-5eed-4510-b210-1b3b99539ad1</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="prawa_agent">
18      <DataType>String</DataType>
19      <Nullable>true</Nullable>
20      <Prompt>prawa_agent</Prompt>
21      <Hidden>true</Hidden>
22    </ReportParameter>
23    <ReportParameter Name="rok">
24      <DataType>String</DataType>
25      <DefaultValue>
26        <Values>
27          <Value>=Year(Today)</Value>
28        </Values>
29      </DefaultValue>
30      <Prompt>rok</Prompt>
31      <ValidValues>
32        <DataSetReference>
33          <DataSetName>ListaLat</DataSetName>
34          <ValueField>rok</ValueField>
35          <LabelField>rok</LabelField>
36        </DataSetReference>
37      </ValidValues>
38    </ReportParameter>
39    <ReportParameter Name="miesiac">
40      <DataType>String</DataType>
41      <DefaultValue>
42        <Values>
43          <Value>=Month(Today)</Value>
44        </Values>
45      </DefaultValue>
46      <Prompt>miesiac</Prompt>
47      <ValidValues>
48        <ParameterValues>
49          <ParameterValue>
50            <Value>1</Value>
51          </ParameterValue>
52          <ParameterValue>
53            <Value>2</Value>
54          </ParameterValue>
55          <ParameterValue>
56            <Value>3</Value>
57          </ParameterValue>
58          <ParameterValue>
59            <Value>4</Value>
60          </ParameterValue>
61          <ParameterValue>
62            <Value>5</Value>
63          </ParameterValue>
64          <ParameterValue>
65            <Value>6</Value>
66          </ParameterValue>
67          <ParameterValue>
68            <Value>7</Value>
69          </ParameterValue>
70          <ParameterValue>
71            <Value>8</Value>
72          </ParameterValue>
73          <ParameterValue>
74            <Value>9</Value>
75          </ParameterValue>
76          <ParameterValue>
77            <Value>10</Value>
78          </ParameterValue>
79          <ParameterValue>
80            <Value>11</Value>
81          </ParameterValue>
82          <ParameterValue>
83            <Value>12</Value>
84          </ParameterValue>
85        </ParameterValues>
86      </ValidValues>
87    </ReportParameter>
88    <ReportParameter Name="agencja">
89      <DataType>String</DataType>
90      <DefaultValue>
91        <DataSetReference>
92          <DataSetName>ListaAgencji</DataSetName>
93          <ValueField>Symbol</ValueField>
94        </DataSetReference>
95      </DefaultValue>
96      <Prompt>agencja</Prompt>
97      <ValidValues>
98        <DataSetReference>
99          <DataSetName>ListaAgencji</DataSetName>
100          <ValueField>Symbol</ValueField>
101          <LabelField>Symbol</LabelField>
102        </DataSetReference>
103      </ValidValues>
104      <MultiValue>true</MultiValue>
105    </ReportParameter>
106    <ReportParameter Name="agent">
107      <DataType>String</DataType>
108      <DefaultValue>
109        <DataSetReference>
110          <DataSetName>ListaAgentow</DataSetName>
111          <ValueField>Symbol</ValueField>
112        </DataSetReference>
113      </DefaultValue>
114      <Prompt>agent</Prompt>
115      <ValidValues>
116        <DataSetReference>
117          <DataSetName>ListaAgentow</DataSetName>
118          <ValueField>Symbol</ValueField>
119          <LabelField>Symbol</LabelField>
120        </DataSetReference>
121      </ValidValues>
122      <MultiValue>true</MultiValue>
123    </ReportParameter>
124    <ReportParameter Name="sortuj">
125      <DataType>String</DataType>
126      <DefaultValue>
127        <Values>
128          <Value>2</Value>
129        </Values>
130      </DefaultValue>
131      <Prompt>sortuj wg: </Prompt>
132      <ValidValues>
133        <ParameterValues>
134          <ParameterValue>
135            <Value>0</Value>
136            <Label>data zapłaty</Label>
137          </ParameterValue>
138          <ParameterValue>
139            <Value>1</Value>
140            <Label>termin zapłaty (faktura)</Label>
141          </ParameterValue>
142          <ParameterValue>
143            <Value>2</Value>
144            <Label>agent,nr faktury</Label>
145          </ParameterValue>
146          <ParameterValue>
147            <Value>3</Value>
148            <Label>forma zapłaty</Label>
149          </ParameterValue>
150        </ParameterValues>
151      </ValidValues>
152    </ReportParameter>
153  </ReportParameters>
154  <rd:DrawGrid>true</rd:DrawGrid>
155  <InteractiveWidth>21cm</InteractiveWidth>
156  <rd:GridSpacing>0.25cm</rd:GridSpacing>
157  <rd:SnapToGrid>true</rd:SnapToGrid>
158  <RightMargin>1cm</RightMargin>
159  <LeftMargin>1cm</LeftMargin>
160  <BottomMargin>1cm</BottomMargin>
161  <rd:ReportID>9353c331-a24b-4f88-bbef-a42cfe8acfb2</rd:ReportID>
162  <PageWidth>29.7cm</PageWidth>
163  <DataSets>
164    <DataSet Name="ListaFaktur">
165      <Fields>
166        <Field Name="ID_FAKTURY">
167          <DataField>ID_FAKTURY</DataField>
168          <rd:TypeName>System.Int32</rd:TypeName>
169        </Field>
170        <Field Name="Symbol">
171          <DataField>Symbol</DataField>
172          <rd:TypeName>System.String</rd:TypeName>
173        </Field>
174        <Field Name="NR_FK">
175          <DataField>NR_FK</DataField>
176          <rd:TypeName>System.String</rd:TypeName>
177        </Field>
178        <Field Name="kodKlienta">
179          <DataField>kodKlienta</DataField>
180          <rd:TypeName>System.String</rd:TypeName>
181        </Field>
182        <Field Name="symbolPotwierdzenia">
183          <DataField>symbolPotwierdzenia</DataField>
184          <rd:TypeName>System.String</rd:TypeName>
185        </Field>
186        <Field Name="rodzajPotwierdzenia">
187          <DataField>rodzajPotwierdzenia</DataField>
188          <rd:TypeName>System.String</rd:TypeName>
189        </Field>
190        <Field Name="NETTO">
191          <DataField>NETTO</DataField>
192          <rd:TypeName>System.Decimal</rd:TypeName>
193        </Field>
194        <Field Name="VAT">
195          <DataField>VAT</DataField>
196          <rd:TypeName>System.Decimal</rd:TypeName>
197        </Field>
198        <Field Name="BRUTTO">
199          <DataField>BRUTTO</DataField>
200          <rd:TypeName>System.Decimal</rd:TypeName>
201        </Field>
202        <Field Name="DATA_WYSTAWIENIA">
203          <DataField>DATA_WYSTAWIENIA</DataField>
204          <rd:TypeName>System.DateTime</rd:TypeName>
205        </Field>
206        <Field Name="TERMIN_ZAPLATY">
207          <DataField>TERMIN_ZAPLATY</DataField>
208          <rd:TypeName>System.DateTime</rd:TypeName>
209        </Field>
210        <Field Name="SPOSOB_ZAPLATY">
211          <DataField>SPOSOB_ZAPLATY</DataField>
212          <rd:TypeName>System.String</rd:TypeName>
213        </Field>
214        <Field Name="agencja">
215          <DataField>Agencja</DataField>
216          <rd:TypeName>System.String</rd:TypeName>
217        </Field>
218        <Field Name="dataWplaty">
219          <DataField>dataWplaty</DataField>
220          <rd:TypeName>System.DateTime</rd:TypeName>
221        </Field>
222        <Field Name="roznica_nowa">
223          <DataField>roznica_nowa</DataField>
224          <rd:TypeName>System.Int32</rd:TypeName>
225        </Field>
226        <Field Name="suma_zaplat">
227          <DataField>suma_zaplat</DataField>
228          <rd:TypeName>System.Decimal</rd:TypeName>
229        </Field>
230        <Field Name="zaplata_data">
231          <DataField>zaplata_data</DataField>
232          <rd:TypeName>System.DateTime</rd:TypeName>
233        </Field>
234        <Field Name="roznica_stara">
235          <DataField>roznica_stara</DataField>
236          <rd:TypeName>System.Int32</rd:TypeName>
237        </Field>
238        <Field Name="procentProwizji">
239          <DataField>procentProwizji</DataField>
240          <rd:TypeName>System.Double</rd:TypeName>
241        </Field>
242        <Field Name="kwotaProwizji">
243          <DataField>kwotaProwizji</DataField>
244          <rd:TypeName>System.Double</rd:TypeName>
245        </Field>
246      </Fields>
247      <Filters>
248        <Filter>
249          <FilterExpression>=Fields!agencja.Value</FilterExpression>
250          <Operator>In</Operator>
251          <FilterValues>
252            <FilterValue>=Parameters!agencja.Value</FilterValue>
253          </FilterValues>
254        </Filter>
255        <Filter>
256          <FilterExpression>=Fields!Symbol.Value</FilterExpression>
257          <Operator>In</Operator>
258          <FilterValues>
259            <FilterValue>=Parameters!agent.Value</FilterValue>
260          </FilterValues>
261        </Filter>
262      </Filters>
263      <Query>
264        <DataSourceName>BAZA_REKLAM</DataSourceName>
265        <CommandText>SELECT     FAKTURY.ID_FAKTURY, AGENCI.Symbol, CONVERT(VARCHAR, FAKTURY.NUMER) + '/' + CONVERT(VARCHAR, FAKTURY.NUMER_ROZ)
266                      + '/' + CONVERT(VARCHAR, FAKTURY.NUMER_ROK) AS NR_FK, KLIENCI.kodKlienta, Wplaty.symbolPotwierdzenia, Wplaty.rodzajPotwierdzenia,
267                      CASE WHEN Korekta.Netto IS NULL THEN SUM(FAKTURA_DETAILS.NETTO) ELSE Korekta.Netto END AS NETTO, CASE WHEN Korekta.Netto IS NULL
268                      THEN SUM(FAKTURA_DETAILS.VAT) ELSE Korekta.Vat END AS VAT, CASE WHEN Korekta.Brutto IS NULL THEN SUM(FAKTURA_DETAILS.BRUTTO)
269                      ELSE Korekta.Brutto END AS BRUTTO, FAKTURY.DATA_WYSTAWIENIA, FAKTURY.TERMIN_ZAPLATY, FAKTURY.SPOSOB_ZAPLATY,
270                      AGENCJE.Symbol AS Agencja, Wplaty.dataWplaty, DATEDIFF(day, FAKTURY.TERMIN_ZAPLATY, Wplaty.dataWplaty) AS roznica_nowa,
271                      FAKTURY.suma_zaplat, FAKTURY.zaplata_data, DATEDIFF(day, FAKTURY.TERMIN_ZAPLATY, FAKTURY.zaplata_data) AS roznica_stara,
272                      CASE WHEN FAKTURY.idZamowienia IS NULL THEN R.[Procent Prowizji] ELSE P.procentProwizji END AS procentProwizji,
273                      CASE WHEN FAKTURY.idZamowienia IS NULL THEN R.[Prowizja] ELSE P.kwotaProwizji END AS kwotaProwizji
274FROM         FAKTURY LEFT OUTER JOIN
275                      FAKTURA_DETAILS ON FAKTURY.ID_FAKTURY = FAKTURA_DETAILS.ID_FAKTURY LEFT OUTER JOIN
276                      AGENCI ON FAKTURY.NUMER_ROZ = AGENCI.F_ROZ LEFT OUTER JOIN
277                      AGENCJE ON AGENCI.ID_AGENCJI = AGENCJE.Id_agencji LEFT OUTER JOIN
278                      Wplaty ON FAKTURY.ID_FAKTURY = Wplaty.idFaktury LEFT OUTER JOIN
279                      KLIENCI ON FAKTURY.ID_NABYWCY = KLIENCI.CustomerID LEFT OUTER JOIN
280                      PROWIZJE AS P ON P.idFaktury = FAKTURY.ID_FAKTURY LEFT OUTER JOIN
281                      VIEW_KOREKTY AS Korekta ON Korekta.idFakturyKorekta = FAKTURY.ID_FAKTURY LEFT OUTER JOIN
282                      REKLAMA AS R ON R.ID_FAKTURY = FAKTURY.ID_FAKTURY
283WHERE     (FAKTURY.KOREKTA &lt;&gt; 1) AND (YEAR(Wplaty.dataWplaty) = @rok) AND (MONTH(Wplaty.dataWplaty) = @miesiac)
284GROUP BY FAKTURY.DATA_WYSTAWIENIA, FAKTURY.ID_FAKTURY, AGENCI.Symbol, CONVERT(VARCHAR, FAKTURY.NUMER) + '/' + CONVERT(VARCHAR,
285                      FAKTURY.NUMER_ROZ) + '/' + CONVERT(VARCHAR, FAKTURY.NUMER_ROK), KLIENCI.kodKlienta, Wplaty.symbolPotwierdzenia,
286                      Wplaty.rodzajPotwierdzenia, FAKTURY.DATA_WYSTAWIENIA, FAKTURY.TERMIN_ZAPLATY, FAKTURY.SPOSOB_ZAPLATY, AGENCJE.Symbol,
287                      Wplaty.dataWplaty, DATEDIFF(day, FAKTURY.TERMIN_ZAPLATY, Wplaty.dataWplaty), FAKTURY.suma_zaplat, FAKTURY.zaplata_data, DATEDIFF(day,
288                      FAKTURY.TERMIN_ZAPLATY, FAKTURY.zaplata_data), P.procentProwizji, P.kwotaProwizji, Korekta.netto, Korekta.brutto, Korekta.vat,
289                      FAKTURY.idZamowienia, R.[PROCENT PROWIZJI], R.PROWIZJA</CommandText>
290        <QueryParameters>
291          <QueryParameter Name="@rok">
292            <Value>=Parameters!rok.Value</Value>
293          </QueryParameter>
294          <QueryParameter Name="@miesiac">
295            <Value>=Parameters!miesiac.Value</Value>
296          </QueryParameter>
297        </QueryParameters>
298      </Query>
299    </DataSet>
300    <DataSet Name="ListaAgencji">
301      <Fields>
302        <Field Name="Id_agencji">
303          <DataField>Id_agencji</DataField>
304          <rd:TypeName>System.Int32</rd:TypeName>
305        </Field>
306        <Field Name="Symbol">
307          <DataField>Symbol</DataField>
308          <rd:TypeName>System.String</rd:TypeName>
309        </Field>
310      </Fields>
311      <Query>
312        <DataSourceName>BAZA_REKLAM</DataSourceName>
313        <CommandText>SELECT        Id_agencji, Symbol
314FROM            AGENCJE where aktywna=1 and (@prawa_agencje is null or @prawa_agencje= Id_agencji)</CommandText>
315        <QueryParameters>
316          <QueryParameter Name="@prawa_agencje">
317            <Value>=Parameters!prawa_agencje.Value</Value>
318          </QueryParameter>
319        </QueryParameters>
320        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
321      </Query>
322    </DataSet>
323    <DataSet Name="ListaAgentow">
324      <Fields>
325        <Field Name="ID_AGENTA">
326          <DataField>ID_AGENTA</DataField>
327          <rd:TypeName>System.Int32</rd:TypeName>
328        </Field>
329        <Field Name="Symbol">
330          <DataField>Symbol</DataField>
331          <rd:TypeName>System.String</rd:TypeName>
332        </Field>
333        <Field Name="agencja">
334          <DataField>agencja</DataField>
335          <rd:TypeName>System.String</rd:TypeName>
336        </Field>
337      </Fields>
338      <Query>
339        <DataSourceName>BAZA_REKLAM</DataSourceName>
340        <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja
341FROM            AGENCI A left join Agencje A2
342on A.ID_AGENCJI = A2.ID_Agencji
343 where (A2.Symbol in (@agencja) OR A2.Symbol is null) AND (@prawa_agent is null OR A.Symbol=@prawa_agent)
344order by A.Symbol</CommandText>
345        <QueryParameters>
346          <QueryParameter Name="@agencja">
347            <Value>=Parameters!agencja.Value</Value>
348          </QueryParameter>
349          <QueryParameter Name="@prawa_agent">
350            <Value>=Parameters!prawa_agent.Value</Value>
351          </QueryParameter>
352        </QueryParameters>
353        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
354      </Query>
355    </DataSet>
356    <DataSet Name="ListaLat">
357      <Fields>
358        <Field Name="rok">
359          <DataField>rok</DataField>
360          <rd:TypeName>System.Int32</rd:TypeName>
361        </Field>
362      </Fields>
363      <Query>
364        <DataSourceName>BAZA_REKLAM</DataSourceName>
365        <CommandText>select distinct year(DATA_W) as rok from dbo.NR where DATA_W is not null and year(DATA_W) &gt;=2009 order by year(DATA_W)desc</CommandText>
366        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
367      </Query>
368    </DataSet>
369  </DataSets>
370  <Code>Public Shared Function Formatuj(ByVal Value As Integer) As String
371        Formatuj = Format(Value, "### ### ##0.00 zł")
372End Function</Code>
373  <Width>25.57937cm</Width>
374  <Body>
375    <ColumnSpacing>1cm</ColumnSpacing>
376    <ReportItems>
377      <Textbox Name="textbox10">
378        <rd:DefaultName>textbox10</rd:DefaultName>
379        <Width>18.75cm</Width>
380        <Style>
381          <FontSize>16pt</FontSize>
382          <FontWeight>700</FontWeight>
383          <TextAlign>Center</TextAlign>
384          <PaddingLeft>2pt</PaddingLeft>
385          <PaddingRight>2pt</PaddingRight>
386          <PaddingTop>2pt</PaddingTop>
387          <PaddingBottom>2pt</PaddingBottom>
388        </Style>
389        <ZIndex>1</ZIndex>
390        <CanGrow>true</CanGrow>
391        <Height>0.75cm</Height>
392        <Value>ROZLICZENIE WPŁYWÓW WG DATY WPŁATY</Value>
393      </Textbox>
394      <Table Name="table1">
395        <DataSetName>ListaFaktur</DataSetName>
396        <Top>1cm</Top>
397        <Details>
398          <TableRows>
399            <TableRow>
400              <TableCells>
401                <TableCell>
402                  <ReportItems>
403                    <Textbox Name="ID_REKLAMY">
404                      <rd:DefaultName>ID_REKLAMY</rd:DefaultName>
405                      <Style>
406                        <BorderColor>
407                          <Default>LightGrey</Default>
408                        </BorderColor>
409                        <BorderStyle>
410                          <Default>Solid</Default>
411                        </BorderStyle>
412                        <BorderWidth>
413                          <Default>0.5pt</Default>
414                        </BorderWidth>
415                        <FontSize>8pt</FontSize>
416                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
417                        <TextAlign>Center</TextAlign>
418                        <VerticalAlign>Middle</VerticalAlign>
419                        <PaddingLeft>2pt</PaddingLeft>
420                        <PaddingRight>2pt</PaddingRight>
421                        <PaddingTop>2pt</PaddingTop>
422                        <PaddingBottom>2pt</PaddingBottom>
423                      </Style>
424                      <ZIndex>12</ZIndex>
425                      <CanGrow>true</CanGrow>
426                      <Value>=Fields!NR_FK.Value</Value>
427                    </Textbox>
428                  </ReportItems>
429                </TableCell>
430                <TableCell>
431                  <ReportItems>
432                    <Textbox Name="NICK_NAME">
433                      <rd:DefaultName>NICK_NAME</rd:DefaultName>
434                      <Style>
435                        <BorderColor>
436                          <Default>LightGrey</Default>
437                        </BorderColor>
438                        <BorderStyle>
439                          <Default>Solid</Default>
440                        </BorderStyle>
441                        <BorderWidth>
442                          <Default>0.5pt</Default>
443                        </BorderWidth>
444                        <FontSize>8pt</FontSize>
445                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
446                        <TextAlign>Center</TextAlign>
447                        <VerticalAlign>Middle</VerticalAlign>
448                        <PaddingLeft>2pt</PaddingLeft>
449                        <PaddingRight>2pt</PaddingRight>
450                        <PaddingTop>2pt</PaddingTop>
451                        <PaddingBottom>2pt</PaddingBottom>
452                      </Style>
453                      <ZIndex>11</ZIndex>
454                      <CanGrow>true</CanGrow>
455                      <Value>=Fields!kodKlienta.Value</Value>
456                    </Textbox>
457                  </ReportItems>
458                </TableCell>
459                <TableCell>
460                  <ReportItems>
461                    <Textbox Name="SYMBOL_AKWIZYTORA">
462                      <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
463                      <Style>
464                        <BorderColor>
465                          <Default>LightGrey</Default>
466                        </BorderColor>
467                        <BorderStyle>
468                          <Default>Solid</Default>
469                        </BorderStyle>
470                        <BorderWidth>
471                          <Default>0.5pt</Default>
472                        </BorderWidth>
473                        <FontSize>8pt</FontSize>
474                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
475                        <TextAlign>Center</TextAlign>
476                        <VerticalAlign>Middle</VerticalAlign>
477                        <PaddingLeft>2pt</PaddingLeft>
478                        <PaddingRight>2pt</PaddingRight>
479                        <PaddingTop>2pt</PaddingTop>
480                        <PaddingBottom>2pt</PaddingBottom>
481                      </Style>
482                      <ZIndex>10</ZIndex>
483                      <CanGrow>true</CanGrow>
484                      <Value>=Fields!Symbol.Value</Value>
485                    </Textbox>
486                  </ReportItems>
487                </TableCell>
488                <TableCell>
489                  <ReportItems>
490                    <Textbox Name="FAKTURA_DATA_WYSTAWIENIA">
491                      <rd:DefaultName>FAKTURA_DATA_WYSTAWIENIA</rd:DefaultName>
492                      <Style>
493                        <BorderColor>
494                          <Default>LightGrey</Default>
495                        </BorderColor>
496                        <BorderStyle>
497                          <Default>Solid</Default>
498                        </BorderStyle>
499                        <BorderWidth>
500                          <Default>0.5pt</Default>
501                        </BorderWidth>
502                        <FontSize>8pt</FontSize>
503                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
504                        <Format>d</Format>
505                        <TextAlign>Center</TextAlign>
506                        <VerticalAlign>Middle</VerticalAlign>
507                        <PaddingLeft>2pt</PaddingLeft>
508                        <PaddingRight>2pt</PaddingRight>
509                        <PaddingTop>2pt</PaddingTop>
510                        <PaddingBottom>2pt</PaddingBottom>
511                        <Language>pl</Language>
512                      </Style>
513                      <ZIndex>9</ZIndex>
514                      <CanGrow>true</CanGrow>
515                      <Value>=Fields!TERMIN_ZAPLATY.Value</Value>
516                    </Textbox>
517                  </ReportItems>
518                </TableCell>
519                <TableCell>
520                  <ReportItems>
521                    <Textbox Name="FAKTURA_FORMA_PŁATNOŚCI">
522                      <rd:DefaultName>FAKTURA_FORMA_PŁATNOŚCI</rd:DefaultName>
523                      <Style>
524                        <BorderColor>
525                          <Default>LightGrey</Default>
526                        </BorderColor>
527                        <BorderStyle>
528                          <Default>Solid</Default>
529                        </BorderStyle>
530                        <BorderWidth>
531                          <Default>0.5pt</Default>
532                        </BorderWidth>
533                        <FontSize>8pt</FontSize>
534                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
535                        <TextAlign>Center</TextAlign>
536                        <VerticalAlign>Middle</VerticalAlign>
537                        <PaddingLeft>2pt</PaddingLeft>
538                        <PaddingRight>2pt</PaddingRight>
539                        <PaddingTop>2pt</PaddingTop>
540                        <PaddingBottom>2pt</PaddingBottom>
541                      </Style>
542                      <ZIndex>8</ZIndex>
543                      <CanGrow>true</CanGrow>
544                      <Value>=Fields!SPOSOB_ZAPLATY.Value</Value>
545                    </Textbox>
546                  </ReportItems>
547                </TableCell>
548                <TableCell>
549                  <ReportItems>
550                    <Textbox Name="NETTO">
551                      <rd:DefaultName>NETTO</rd:DefaultName>
552                      <Style>
553                        <BorderColor>
554                          <Default>LightGrey</Default>
555                        </BorderColor>
556                        <BorderStyle>
557                          <Default>Solid</Default>
558                        </BorderStyle>
559                        <BorderWidth>
560                          <Default>0.5pt</Default>
561                        </BorderWidth>
562                        <FontSize>8pt</FontSize>
563                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
564                        <Format>C</Format>
565                        <TextAlign>Center</TextAlign>
566                        <VerticalAlign>Middle</VerticalAlign>
567                        <PaddingLeft>2pt</PaddingLeft>
568                        <PaddingRight>2pt</PaddingRight>
569                        <PaddingTop>2pt</PaddingTop>
570                        <PaddingBottom>2pt</PaddingBottom>
571                        <Language>pl</Language>
572                      </Style>
573                      <ZIndex>7</ZIndex>
574                      <CanGrow>true</CanGrow>
575                      <Value>=Fields!NETTO.Value</Value>
576                    </Textbox>
577                  </ReportItems>
578                </TableCell>
579                <TableCell>
580                  <ReportItems>
581                    <Textbox Name="VAT">
582                      <rd:DefaultName>VAT</rd:DefaultName>
583                      <Style>
584                        <BorderColor>
585                          <Default>LightGrey</Default>
586                        </BorderColor>
587                        <BorderStyle>
588                          <Default>Solid</Default>
589                        </BorderStyle>
590                        <BorderWidth>
591                          <Default>0.5pt</Default>
592                        </BorderWidth>
593                        <FontSize>8pt</FontSize>
594                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
595                        <Format>C</Format>
596                        <TextAlign>Center</TextAlign>
597                        <VerticalAlign>Middle</VerticalAlign>
598                        <PaddingLeft>2pt</PaddingLeft>
599                        <PaddingRight>2pt</PaddingRight>
600                        <PaddingTop>2pt</PaddingTop>
601                        <PaddingBottom>2pt</PaddingBottom>
602                        <Language>pl</Language>
603                      </Style>
604                      <ZIndex>6</ZIndex>
605                      <CanGrow>true</CanGrow>
606                      <Value>=Fields!VAT.Value</Value>
607                    </Textbox>
608                  </ReportItems>
609                </TableCell>
610                <TableCell>
611                  <ReportItems>
612                    <Textbox Name="BRUTTO">
613                      <rd:DefaultName>BRUTTO</rd:DefaultName>
614                      <Style>
615                        <BorderColor>
616                          <Default>LightGrey</Default>
617                        </BorderColor>
618                        <BorderStyle>
619                          <Default>Solid</Default>
620                        </BorderStyle>
621                        <BorderWidth>
622                          <Default>0.5pt</Default>
623                        </BorderWidth>
624                        <FontSize>8pt</FontSize>
625                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
626                        <Format>C</Format>
627                        <TextAlign>Center</TextAlign>
628                        <VerticalAlign>Middle</VerticalAlign>
629                        <PaddingLeft>2pt</PaddingLeft>
630                        <PaddingRight>2pt</PaddingRight>
631                        <PaddingTop>2pt</PaddingTop>
632                        <PaddingBottom>2pt</PaddingBottom>
633                        <Language>pl</Language>
634                      </Style>
635                      <ZIndex>5</ZIndex>
636                      <CanGrow>true</CanGrow>
637                      <Value>=Fields!BRUTTO.Value</Value>
638                    </Textbox>
639                  </ReportItems>
640                </TableCell>
641                <TableCell>
642                  <ReportItems>
643                    <Textbox Name="textbox8">
644                      <rd:DefaultName>textbox8</rd:DefaultName>
645                      <Style>
646                        <BorderColor>
647                          <Default>LightGrey</Default>
648                        </BorderColor>
649                        <BorderStyle>
650                          <Default>Solid</Default>
651                        </BorderStyle>
652                        <BorderWidth>
653                          <Default>0.5pt</Default>
654                        </BorderWidth>
655                        <FontSize>8pt</FontSize>
656                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
657                        <Format>P</Format>
658                        <TextAlign>Center</TextAlign>
659                        <VerticalAlign>Middle</VerticalAlign>
660                        <PaddingLeft>2pt</PaddingLeft>
661                        <PaddingRight>2pt</PaddingRight>
662                        <PaddingTop>2pt</PaddingTop>
663                        <PaddingBottom>2pt</PaddingBottom>
664                      </Style>
665                      <ZIndex>4</ZIndex>
666                      <CanGrow>true</CanGrow>
667                      <Value>=Fields!procentProwizji.Value</Value>
668                    </Textbox>
669                  </ReportItems>
670                </TableCell>
671                <TableCell>
672                  <ReportItems>
673                    <Textbox Name="textbox4">
674                      <rd:DefaultName>textbox4</rd:DefaultName>
675                      <Style>
676                        <BorderColor>
677                          <Default>LightGrey</Default>
678                        </BorderColor>
679                        <BorderStyle>
680                          <Default>Solid</Default>
681                        </BorderStyle>
682                        <BorderWidth>
683                          <Default>0.5pt</Default>
684                        </BorderWidth>
685                        <FontSize>8pt</FontSize>
686                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
687                        <Format>C</Format>
688                        <TextAlign>Center</TextAlign>
689                        <VerticalAlign>Middle</VerticalAlign>
690                        <PaddingLeft>2pt</PaddingLeft>
691                        <PaddingRight>2pt</PaddingRight>
692                        <PaddingTop>2pt</PaddingTop>
693                        <PaddingBottom>2pt</PaddingBottom>
694                        <Language>pl</Language>
695                      </Style>
696                      <ZIndex>3</ZIndex>
697                      <CanGrow>true</CanGrow>
698                      <Value>=Fields!kwotaProwizji.Value</Value>
699                    </Textbox>
700                  </ReportItems>
701                </TableCell>
702                <TableCell>
703                  <ReportItems>
704                    <Textbox Name="RODZAJ_POTWIERDZENIA">
705                      <rd:DefaultName>RODZAJ_POTWIERDZENIA</rd:DefaultName>
706                      <Style>
707                        <BorderColor>
708                          <Default>LightGrey</Default>
709                        </BorderColor>
710                        <BorderStyle>
711                          <Default>Solid</Default>
712                        </BorderStyle>
713                        <BorderWidth>
714                          <Default>0.5pt</Default>
715                        </BorderWidth>
716                        <FontSize>8pt</FontSize>
717                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
718                        <TextAlign>Center</TextAlign>
719                        <VerticalAlign>Middle</VerticalAlign>
720                        <PaddingLeft>2pt</PaddingLeft>
721                        <PaddingRight>2pt</PaddingRight>
722                        <PaddingTop>2pt</PaddingTop>
723                        <PaddingBottom>2pt</PaddingBottom>
724                      </Style>
725                      <ZIndex>2</ZIndex>
726                      <CanGrow>true</CanGrow>
727                      <Value>=Fields!rodzajPotwierdzenia.Value</Value>
728                    </Textbox>
729                  </ReportItems>
730                </TableCell>
731                <TableCell>
732                  <ReportItems>
733                    <Textbox Name="SYMBOL_POTWIERDZENIA">
734                      <rd:DefaultName>SYMBOL_POTWIERDZENIA</rd:DefaultName>
735                      <Style>
736                        <BorderColor>
737                          <Default>LightGrey</Default>
738                        </BorderColor>
739                        <BorderStyle>
740                          <Default>Solid</Default>
741                        </BorderStyle>
742                        <BorderWidth>
743                          <Default>0.5pt</Default>
744                        </BorderWidth>
745                        <FontSize>8pt</FontSize>
746                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
747                        <TextAlign>Center</TextAlign>
748                        <VerticalAlign>Middle</VerticalAlign>
749                        <PaddingLeft>2pt</PaddingLeft>
750                        <PaddingRight>2pt</PaddingRight>
751                        <PaddingTop>2pt</PaddingTop>
752                        <PaddingBottom>2pt</PaddingBottom>
753                      </Style>
754                      <ZIndex>1</ZIndex>
755                      <CanGrow>true</CanGrow>
756                      <Value>=Fields!symbolPotwierdzenia.Value</Value>
757                    </Textbox>
758                  </ReportItems>
759                </TableCell>
760                <TableCell>
761                  <ReportItems>
762                    <Textbox Name="DATA_ZAPŁATY">
763                      <rd:DefaultName>DATA_ZAPŁATY</rd:DefaultName>
764                      <Style>
765                        <BorderColor>
766                          <Default>LightGrey</Default>
767                        </BorderColor>
768                        <BorderStyle>
769                          <Default>Solid</Default>
770                        </BorderStyle>
771                        <BorderWidth>
772                          <Default>0.5pt</Default>
773                        </BorderWidth>
774                        <FontSize>8pt</FontSize>
775                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
776                        <Format>d</Format>
777                        <TextAlign>Center</TextAlign>
778                        <VerticalAlign>Middle</VerticalAlign>
779                        <PaddingLeft>2pt</PaddingLeft>
780                        <PaddingRight>2pt</PaddingRight>
781                        <PaddingTop>2pt</PaddingTop>
782                        <PaddingBottom>2pt</PaddingBottom>
783                        <Language>pl</Language>
784                      </Style>
785                      <CanGrow>true</CanGrow>
786                      <Value>=Fields!dataWplaty.Value</Value>
787                    </Textbox>
788                  </ReportItems>
789                </TableCell>
790              </TableCells>
791              <Height>0.63492cm</Height>
792            </TableRow>
793          </TableRows>
794          <Sorting>
795            <SortBy>
796              <SortExpression>=switch(Parameters!sortuj.Value="0",Fields!dataWplaty.Value,Parameters!sortuj.Value="1",Fields!TERMIN_ZAPLATY.Value,Parameters!sortuj.Value="3",Fields!rodzajPotwierdzenia.Value,1=1,"")</SortExpression>
797              <Direction>Ascending</Direction>
798            </SortBy>
799          </Sorting>
800        </Details>
801        <Style>
802          <FontSize>8pt</FontSize>
803          <Language>pl</Language>
804        </Style>
805        <Header>
806          <TableRows>
807            <TableRow>
808              <TableCells>
809                <TableCell>
810                  <ReportItems>
811                    <Textbox Name="textbox1">
812                      <rd:DefaultName>textbox1</rd:DefaultName>
813                      <Style>
814                        <BackgroundColor>WhiteSmoke</BackgroundColor>
815                        <BorderColor>
816                          <Default>LightGrey</Default>
817                        </BorderColor>
818                        <BorderStyle>
819                          <Default>Solid</Default>
820                        </BorderStyle>
821                        <BorderWidth>
822                          <Default>0.5pt</Default>
823                        </BorderWidth>
824                        <FontSize>8pt</FontSize>
825                        <FontWeight>700</FontWeight>
826                        <TextAlign>Center</TextAlign>
827                        <VerticalAlign>Middle</VerticalAlign>
828                        <PaddingLeft>2pt</PaddingLeft>
829                        <PaddingRight>2pt</PaddingRight>
830                        <PaddingTop>2pt</PaddingTop>
831                        <PaddingBottom>2pt</PaddingBottom>
832                      </Style>
833                      <ZIndex>26</ZIndex>
834                      <CanGrow>true</CanGrow>
835                      <Value>Numer faktury</Value>
836                    </Textbox>
837                  </ReportItems>
838                </TableCell>
839                <TableCell>
840                  <ReportItems>
841                    <Textbox Name="textbox29">
842                      <rd:DefaultName>textbox29</rd:DefaultName>
843                      <Style>
844                        <BackgroundColor>WhiteSmoke</BackgroundColor>
845                        <BorderColor>
846                          <Default>LightGrey</Default>
847                        </BorderColor>
848                        <BorderStyle>
849                          <Default>Solid</Default>
850                        </BorderStyle>
851                        <BorderWidth>
852                          <Default>0.5pt</Default>
853                        </BorderWidth>
854                        <FontSize>8pt</FontSize>
855                        <FontWeight>700</FontWeight>
856                        <TextAlign>Center</TextAlign>
857                        <VerticalAlign>Middle</VerticalAlign>
858                        <PaddingLeft>2pt</PaddingLeft>
859                        <PaddingRight>2pt</PaddingRight>
860                        <PaddingTop>2pt</PaddingTop>
861                        <PaddingBottom>2pt</PaddingBottom>
862                      </Style>
863                      <ZIndex>25</ZIndex>
864                      <CanGrow>true</CanGrow>
865                      <Value>Kod klienta</Value>
866                    </Textbox>
867                  </ReportItems>
868                </TableCell>
869                <TableCell>
870                  <ReportItems>
871                    <Textbox Name="textbox26">
872                      <rd:DefaultName>textbox26</rd:DefaultName>
873                      <Style>
874                        <BackgroundColor>WhiteSmoke</BackgroundColor>
875                        <BorderColor>
876                          <Default>LightGrey</Default>
877                        </BorderColor>
878                        <BorderStyle>
879                          <Default>Solid</Default>
880                        </BorderStyle>
881                        <BorderWidth>
882                          <Default>0.5pt</Default>
883                        </BorderWidth>
884                        <FontSize>8pt</FontSize>
885                        <FontWeight>700</FontWeight>
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>24</ZIndex>
894                      <CanGrow>true</CanGrow>
895                      <Value>Agent</Value>
896                    </Textbox>
897                  </ReportItems>
898                </TableCell>
899                <TableCell>
900                  <ReportItems>
901                    <Textbox Name="textbox23">
902                      <rd:DefaultName>textbox23</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>8pt</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>23</ZIndex>
924                      <CanGrow>true</CanGrow>
925                      <Value>Termin zapłaty</Value>
926                    </Textbox>
927                  </ReportItems>
928                </TableCell>
929                <TableCell>
930                  <ReportItems>
931                    <Textbox Name="textbox17">
932                      <rd:DefaultName>textbox17</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>8pt</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>22</ZIndex>
954                      <CanGrow>true</CanGrow>
955                      <Value>Rodzaj płatn.</Value>
956                    </Textbox>
957                  </ReportItems>
958                </TableCell>
959                <TableCell>
960                  <ReportItems>
961                    <Textbox Name="textbox14">
962                      <rd:DefaultName>textbox14</rd:DefaultName>
963                      <Style>
964                        <BackgroundColor>WhiteSmoke</BackgroundColor>
965                        <BorderColor>
966                          <Default>LightGrey</Default>
967                        </BorderColor>
968                        <BorderStyle>
969                          <Default>Solid</Default>
970                        </BorderStyle>
971                        <BorderWidth>
972                          <Default>0.5pt</Default>
973                        </BorderWidth>
974                        <FontSize>8pt</FontSize>
975                        <FontWeight>700</FontWeight>
976                        <TextAlign>Center</TextAlign>
977                        <VerticalAlign>Middle</VerticalAlign>
978                        <PaddingLeft>2pt</PaddingLeft>
979                        <PaddingRight>2pt</PaddingRight>
980                        <PaddingTop>2pt</PaddingTop>
981                        <PaddingBottom>2pt</PaddingBottom>
982                      </Style>
983                      <ZIndex>21</ZIndex>
984                      <CanGrow>true</CanGrow>
985                      <Value>Netto</Value>
986                    </Textbox>
987                  </ReportItems>
988                </TableCell>
989                <TableCell>
990                  <ReportItems>
991                    <Textbox Name="textbox11">
992                      <rd:DefaultName>textbox11</rd:DefaultName>
993                      <Style>
994                        <BackgroundColor>WhiteSmoke</BackgroundColor>
995                        <BorderColor>
996                          <Default>LightGrey</Default>
997                        </BorderColor>
998                        <BorderStyle>
999                          <Default>Solid</Default>
1000                        </BorderStyle>
1001                        <BorderWidth>
1002                          <Default>0.5pt</Default>
1003                        </BorderWidth>
1004                        <FontSize>8pt</FontSize>
1005                        <FontWeight>700</FontWeight>
1006                        <TextAlign>Center</TextAlign>
1007                        <VerticalAlign>Middle</VerticalAlign>
1008                        <PaddingLeft>2pt</PaddingLeft>
1009                        <PaddingRight>2pt</PaddingRight>
1010                        <PaddingTop>2pt</PaddingTop>
1011                        <PaddingBottom>2pt</PaddingBottom>
1012                      </Style>
1013                      <ZIndex>20</ZIndex>
1014                      <CanGrow>true</CanGrow>
1015                      <Value>VAT</Value>
1016                    </Textbox>
1017                  </ReportItems>
1018                </TableCell>
1019                <TableCell>
1020                  <ReportItems>
1021                    <Textbox Name="textbox2">
1022                      <rd:DefaultName>textbox2</rd:DefaultName>
1023                      <Style>
1024                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1025                        <BorderColor>
1026                          <Default>LightGrey</Default>
1027                        </BorderColor>
1028                        <BorderStyle>
1029                          <Default>Solid</Default>
1030                        </BorderStyle>
1031                        <BorderWidth>
1032                          <Default>0.5pt</Default>
1033                        </BorderWidth>
1034                        <FontSize>8pt</FontSize>
1035                        <FontWeight>700</FontWeight>
1036                        <TextAlign>Center</TextAlign>
1037                        <VerticalAlign>Middle</VerticalAlign>
1038                        <PaddingLeft>2pt</PaddingLeft>
1039                        <PaddingRight>2pt</PaddingRight>
1040                        <PaddingTop>2pt</PaddingTop>
1041                        <PaddingBottom>2pt</PaddingBottom>
1042                      </Style>
1043                      <ZIndex>19</ZIndex>
1044                      <CanGrow>true</CanGrow>
1045                      <Value>Brutto</Value>
1046                    </Textbox>
1047                  </ReportItems>
1048                </TableCell>
1049                <TableCell>
1050                  <ReportItems>
1051                    <Textbox Name="textbox6">
1052                      <rd:DefaultName>textbox6</rd:DefaultName>
1053                      <Style>
1054                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1055                        <BorderColor>
1056                          <Default>LightGrey</Default>
1057                        </BorderColor>
1058                        <BorderStyle>
1059                          <Default>Solid</Default>
1060                        </BorderStyle>
1061                        <BorderWidth>
1062                          <Default>0.5pt</Default>
1063                        </BorderWidth>
1064                        <FontSize>8pt</FontSize>
1065                        <FontWeight>700</FontWeight>
1066                        <TextAlign>Center</TextAlign>
1067                        <VerticalAlign>Middle</VerticalAlign>
1068                        <PaddingLeft>2pt</PaddingLeft>
1069                        <PaddingRight>2pt</PaddingRight>
1070                        <PaddingTop>2pt</PaddingTop>
1071                        <PaddingBottom>2pt</PaddingBottom>
1072                      </Style>
1073                      <ZIndex>18</ZIndex>
1074                      <CanGrow>true</CanGrow>
1075                      <Value>% pro.</Value>
1076                    </Textbox>
1077                  </ReportItems>
1078                </TableCell>
1079                <TableCell>
1080                  <ReportItems>
1081                    <Textbox Name="textbox3">
1082                      <rd:DefaultName>textbox3</rd:DefaultName>
1083                      <Style>
1084                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1085                        <BorderColor>
1086                          <Default>LightGrey</Default>
1087                        </BorderColor>
1088                        <BorderStyle>
1089                          <Default>Solid</Default>
1090                        </BorderStyle>
1091                        <BorderWidth>
1092                          <Default>0.5pt</Default>
1093                        </BorderWidth>
1094                        <FontSize>8pt</FontSize>
1095                        <FontWeight>700</FontWeight>
1096                        <TextAlign>Center</TextAlign>
1097                        <VerticalAlign>Middle</VerticalAlign>
1098                        <PaddingLeft>2pt</PaddingLeft>
1099                        <PaddingRight>2pt</PaddingRight>
1100                        <PaddingTop>2pt</PaddingTop>
1101                        <PaddingBottom>2pt</PaddingBottom>
1102                      </Style>
1103                      <ZIndex>17</ZIndex>
1104                      <CanGrow>true</CanGrow>
1105                      <Value>Prowizja</Value>
1106                    </Textbox>
1107                  </ReportItems>
1108                </TableCell>
1109                <TableCell>
1110                  <ReportItems>
1111                    <Textbox Name="textbox12">
1112                      <rd:DefaultName>textbox12</rd:DefaultName>
1113                      <Style>
1114                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1115                        <BorderColor>
1116                          <Default>LightGrey</Default>
1117                        </BorderColor>
1118                        <BorderStyle>
1119                          <Default>Solid</Default>
1120                        </BorderStyle>
1121                        <BorderWidth>
1122                          <Default>0.5pt</Default>
1123                        </BorderWidth>
1124                        <FontSize>8pt</FontSize>
1125                        <FontWeight>700</FontWeight>
1126                        <TextAlign>Center</TextAlign>
1127                        <VerticalAlign>Middle</VerticalAlign>
1128                        <PaddingLeft>2pt</PaddingLeft>
1129                        <PaddingRight>2pt</PaddingRight>
1130                        <PaddingTop>2pt</PaddingTop>
1131                        <PaddingBottom>2pt</PaddingBottom>
1132                      </Style>
1133                      <ZIndex>16</ZIndex>
1134                      <CanGrow>true</CanGrow>
1135                      <Value>For. potw.</Value>
1136                    </Textbox>
1137                  </ReportItems>
1138                </TableCell>
1139                <TableCell>
1140                  <ReportItems>
1141                    <Textbox Name="textbox5">
1142                      <rd:DefaultName>textbox5</rd:DefaultName>
1143                      <Style>
1144                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1145                        <BorderColor>
1146                          <Default>LightGrey</Default>
1147                        </BorderColor>
1148                        <BorderStyle>
1149                          <Default>Solid</Default>
1150                        </BorderStyle>
1151                        <BorderWidth>
1152                          <Default>0.5pt</Default>
1153                        </BorderWidth>
1154                        <FontSize>8pt</FontSize>
1155                        <FontWeight>700</FontWeight>
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                      </Style>
1163                      <ZIndex>15</ZIndex>
1164                      <CanGrow>true</CanGrow>
1165                      <Value>Sym. potw.</Value>
1166                    </Textbox>
1167                  </ReportItems>
1168                </TableCell>
1169                <TableCell>
1170                  <ReportItems>
1171                    <Textbox Name="textbox24">
1172                      <rd:DefaultName>textbox24</rd:DefaultName>
1173                      <Style>
1174                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1175                        <BorderColor>
1176                          <Default>LightGrey</Default>
1177                        </BorderColor>
1178                        <BorderStyle>
1179                          <Default>Solid</Default>
1180                        </BorderStyle>
1181                        <BorderWidth>
1182                          <Default>0.5pt</Default>
1183                        </BorderWidth>
1184                        <FontSize>8pt</FontSize>
1185                        <FontWeight>700</FontWeight>
1186                        <TextAlign>Center</TextAlign>
1187                        <VerticalAlign>Middle</VerticalAlign>
1188                        <PaddingLeft>2pt</PaddingLeft>
1189                        <PaddingRight>2pt</PaddingRight>
1190                        <PaddingTop>2pt</PaddingTop>
1191                        <PaddingBottom>2pt</PaddingBottom>
1192                      </Style>
1193                      <ZIndex>14</ZIndex>
1194                      <CanGrow>true</CanGrow>
1195                      <Value>Data zapłaty </Value>
1196                    </Textbox>
1197                  </ReportItems>
1198                </TableCell>
1199              </TableCells>
1200              <Height>1.25cm</Height>
1201            </TableRow>
1202          </TableRows>
1203          <RepeatOnNewPage>true</RepeatOnNewPage>
1204        </Header>
1205        <TableColumns>
1206          <TableColumn>
1207            <Width>2.25cm</Width>
1208          </TableColumn>
1209          <TableColumn>
1210            <Width>2.75cm</Width>
1211          </TableColumn>
1212          <TableColumn>
1213            <Width>2.05291cm</Width>
1214          </TableColumn>
1215          <TableColumn>
1216            <Width>2.25cm</Width>
1217          </TableColumn>
1218          <TableColumn>
1219            <Width>1.27646cm</Width>
1220          </TableColumn>
1221          <TableColumn>
1222            <Width>2cm</Width>
1223          </TableColumn>
1224          <TableColumn>
1225            <Width>1.75cm</Width>
1226          </TableColumn>
1227          <TableColumn>
1228            <Width>2cm</Width>
1229          </TableColumn>
1230          <TableColumn>
1231            <Width>1.5cm</Width>
1232          </TableColumn>
1233          <TableColumn>
1234            <Width>2cm</Width>
1235          </TableColumn>
1236          <TableColumn>
1237            <Width>1.5cm</Width>
1238          </TableColumn>
1239          <TableColumn>
1240            <Width>2.25cm</Width>
1241          </TableColumn>
1242          <TableColumn>
1243            <Width>2cm</Width>
1244          </TableColumn>
1245        </TableColumns>
1246        <Footer>
1247          <TableRows>
1248            <TableRow>
1249              <TableCells>
1250                <TableCell>
1251                  <ColSpan>13</ColSpan>
1252                  <ReportItems>
1253                    <Textbox Name="textbox7">
1254                      <rd:DefaultName>textbox7</rd:DefaultName>
1255                      <Style>
1256                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1257                        <BorderColor>
1258                          <Default>LightGrey</Default>
1259                        </BorderColor>
1260                        <BorderStyle>
1261                          <Default>Solid</Default>
1262                        </BorderStyle>
1263                        <BorderWidth>
1264                          <Default>0.5pt</Default>
1265                        </BorderWidth>
1266                        <FontSize>8pt</FontSize>
1267                        <FontWeight>700</FontWeight>
1268                        <VerticalAlign>Middle</VerticalAlign>
1269                        <PaddingLeft>2pt</PaddingLeft>
1270                        <PaddingRight>2pt</PaddingRight>
1271                        <PaddingTop>2pt</PaddingTop>
1272                        <PaddingBottom>2pt</PaddingBottom>
1273                      </Style>
1274                      <ZIndex>13</ZIndex>
1275                      <CanGrow>true</CanGrow>
1276                      <Value>="LICZBA FAKTUR: " &amp; Count(Fields!ID_FAKTURY.Value) &amp; "   RAZEM NETTO: "&amp; Code.Formatuj(Sum(Fields!NETTO.Value)) &amp; "   VAT: " &amp; Code.Formatuj(Sum(Fields!VAT.Value)) &amp; "   BRUTTO: " &amp; Code.Formatuj(Sum(Fields!BRUTTO.Value)) &amp; "   SUMA PROWIZJI: " &amp; Code.Formatuj(Sum(Fields!kwotaProwizji.Value))</Value>
1277                    </Textbox>
1278                  </ReportItems>
1279                </TableCell>
1280              </TableCells>
1281              <Height>0.63492cm</Height>
1282            </TableRow>
1283          </TableRows>
1284          <RepeatOnNewPage>true</RepeatOnNewPage>
1285        </Footer>
1286      </Table>
1287    </ReportItems>
1288    <Height>3.51984cm</Height>
1289  </Body>
1290  <Language>en-US</Language>
1291  <TopMargin>1cm</TopMargin>
1292  <PageHeight>21cm</PageHeight>
1293</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.