root/trunk/RaportySQL/RozliczenieWplywowWgDatyWplaty2009.rdl @ 273

Wersja 273, 56.3 KB (wprowadzona przez marek, 17 years temu)

fixes #73 - gdy ecard to nie naliczaj prowizji

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
3  <DataSources>
4    <DataSource Name="BAZA_REKLAM">
5      <rd:DataSourceID>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 Wplaty.rodzajPotwierdzenia WHEN 'ECARD' THEN 0 ELSE CASE WHEN FAKTURY.idZamowienia IS NULL
273                      THEN R.[Procent Prowizji] ELSE P.procentProwizji END END AS procentProwizji,
274                      CASE Wplaty.rodzajPotwierdzenia WHEN 'ECARD' THEN 0 ELSE CASE WHEN FAKTURY.idZamowienia IS NULL
275                      THEN R.[Prowizja] ELSE P.kwotaProwizji END END AS kwotaProwizji
276FROM         FAKTURY LEFT OUTER JOIN
277                      FAKTURA_DETAILS ON FAKTURY.ID_FAKTURY = FAKTURA_DETAILS.ID_FAKTURY LEFT OUTER JOIN
278                      AGENCI ON FAKTURY.NUMER_ROZ = AGENCI.F_ROZ LEFT OUTER JOIN
279                      AGENCJE ON AGENCI.ID_AGENCJI = AGENCJE.Id_agencji LEFT OUTER JOIN
280                      Wplaty ON FAKTURY.ID_FAKTURY = Wplaty.idFaktury LEFT OUTER JOIN
281                      KLIENCI ON FAKTURY.ID_NABYWCY = KLIENCI.CustomerID LEFT OUTER JOIN
282                      PROWIZJE AS P ON P.idFaktury = FAKTURY.ID_FAKTURY LEFT OUTER JOIN
283                      VIEW_KOREKTY AS Korekta ON Korekta.idFakturyKorekta = FAKTURY.ID_FAKTURY LEFT OUTER JOIN
284                      REKLAMA AS R ON R.ID_FAKTURY = FAKTURY.ID_FAKTURY
285WHERE     (FAKTURY.KOREKTA &lt;&gt; 1) AND (YEAR(Wplaty.dataWplaty) = @rok) AND (MONTH(Wplaty.dataWplaty) = @miesiac)
286GROUP BY FAKTURY.DATA_WYSTAWIENIA, FAKTURY.ID_FAKTURY, AGENCI.Symbol, CONVERT(VARCHAR, FAKTURY.NUMER) + '/' + CONVERT(VARCHAR,
287                      FAKTURY.NUMER_ROZ) + '/' + CONVERT(VARCHAR, FAKTURY.NUMER_ROK), KLIENCI.kodKlienta, Wplaty.symbolPotwierdzenia,
288                      Wplaty.rodzajPotwierdzenia, FAKTURY.DATA_WYSTAWIENIA, FAKTURY.TERMIN_ZAPLATY, FAKTURY.SPOSOB_ZAPLATY, AGENCJE.Symbol,
289                      Wplaty.dataWplaty, DATEDIFF(day, FAKTURY.TERMIN_ZAPLATY, Wplaty.dataWplaty), FAKTURY.suma_zaplat, FAKTURY.zaplata_data, DATEDIFF(day,
290                      FAKTURY.TERMIN_ZAPLATY, FAKTURY.zaplata_data), P.procentProwizji, P.kwotaProwizji, Korekta.netto, Korekta.brutto, Korekta.vat,
291                      FAKTURY.idZamowienia, R.[PROCENT PROWIZJI], R.PROWIZJA, FAKTURY.NUMER
292ORDER BY AGENCI.Symbol, FAKTURY.NUMER</CommandText>
293        <QueryParameters>
294          <QueryParameter Name="@rok">
295            <Value>=Parameters!rok.Value</Value>
296          </QueryParameter>
297          <QueryParameter Name="@miesiac">
298            <Value>=Parameters!miesiac.Value</Value>
299          </QueryParameter>
300        </QueryParameters>
301      </Query>
302    </DataSet>
303    <DataSet Name="ListaAgencji">
304      <Fields>
305        <Field Name="Id_agencji">
306          <DataField>Id_agencji</DataField>
307          <rd:TypeName>System.Int32</rd:TypeName>
308        </Field>
309        <Field Name="Symbol">
310          <DataField>Symbol</DataField>
311          <rd:TypeName>System.String</rd:TypeName>
312        </Field>
313      </Fields>
314      <Query>
315        <DataSourceName>BAZA_REKLAM</DataSourceName>
316        <CommandText>SELECT        Id_agencji, Symbol
317FROM            AGENCJE where aktywna=1 and (@prawa_agencje is null or @prawa_agencje= Id_agencji)</CommandText>
318        <QueryParameters>
319          <QueryParameter Name="@prawa_agencje">
320            <Value>=Parameters!prawa_agencje.Value</Value>
321          </QueryParameter>
322        </QueryParameters>
323        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
324      </Query>
325    </DataSet>
326    <DataSet Name="ListaAgentow">
327      <Fields>
328        <Field Name="ID_AGENTA">
329          <DataField>ID_AGENTA</DataField>
330          <rd:TypeName>System.Int32</rd:TypeName>
331        </Field>
332        <Field Name="Symbol">
333          <DataField>Symbol</DataField>
334          <rd:TypeName>System.String</rd:TypeName>
335        </Field>
336        <Field Name="agencja">
337          <DataField>agencja</DataField>
338          <rd:TypeName>System.String</rd:TypeName>
339        </Field>
340      </Fields>
341      <Query>
342        <DataSourceName>BAZA_REKLAM</DataSourceName>
343        <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja
344FROM            AGENCI A left join Agencje A2
345on A.ID_AGENCJI = A2.ID_Agencji
346 where (A2.Symbol in (@agencja) OR A2.Symbol is null) AND (@prawa_agent is null OR A.Symbol=@prawa_agent)
347order by A.Symbol</CommandText>
348        <QueryParameters>
349          <QueryParameter Name="@agencja">
350            <Value>=Parameters!agencja.Value</Value>
351          </QueryParameter>
352          <QueryParameter Name="@prawa_agent">
353            <Value>=Parameters!prawa_agent.Value</Value>
354          </QueryParameter>
355        </QueryParameters>
356        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
357      </Query>
358    </DataSet>
359    <DataSet Name="ListaLat">
360      <Fields>
361        <Field Name="rok">
362          <DataField>rok</DataField>
363          <rd:TypeName>System.Int32</rd:TypeName>
364        </Field>
365      </Fields>
366      <Query>
367        <DataSourceName>BAZA_REKLAM</DataSourceName>
368        <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>
369        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
370      </Query>
371    </DataSet>
372  </DataSets>
373  <Code>Public Shared Function Formatuj(ByVal Value As Integer) As String
374        Formatuj = Format(Value, "### ### ##0.00 zł")
375End Function</Code>
376  <Width>25.57937cm</Width>
377  <Body>
378    <ColumnSpacing>1cm</ColumnSpacing>
379    <ReportItems>
380      <Textbox Name="textbox10">
381        <rd:DefaultName>textbox10</rd:DefaultName>
382        <Width>18.75cm</Width>
383        <Style>
384          <FontSize>16pt</FontSize>
385          <FontWeight>700</FontWeight>
386          <TextAlign>Center</TextAlign>
387          <PaddingLeft>2pt</PaddingLeft>
388          <PaddingRight>2pt</PaddingRight>
389          <PaddingTop>2pt</PaddingTop>
390          <PaddingBottom>2pt</PaddingBottom>
391        </Style>
392        <ZIndex>1</ZIndex>
393        <CanGrow>true</CanGrow>
394        <Height>0.75cm</Height>
395        <Value>ROZLICZENIE WPŁYWÓW WG DATY WPŁATY</Value>
396      </Textbox>
397      <Table Name="table1">
398        <DataSetName>ListaFaktur</DataSetName>
399        <Top>1cm</Top>
400        <Details>
401          <TableRows>
402            <TableRow>
403              <TableCells>
404                <TableCell>
405                  <ReportItems>
406                    <Textbox Name="ID_REKLAMY">
407                      <rd:DefaultName>ID_REKLAMY</rd:DefaultName>
408                      <Style>
409                        <BorderColor>
410                          <Default>LightGrey</Default>
411                        </BorderColor>
412                        <BorderStyle>
413                          <Default>Solid</Default>
414                        </BorderStyle>
415                        <BorderWidth>
416                          <Default>0.5pt</Default>
417                        </BorderWidth>
418                        <FontSize>8pt</FontSize>
419                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
420                        <TextAlign>Center</TextAlign>
421                        <VerticalAlign>Middle</VerticalAlign>
422                        <PaddingLeft>2pt</PaddingLeft>
423                        <PaddingRight>2pt</PaddingRight>
424                        <PaddingTop>2pt</PaddingTop>
425                        <PaddingBottom>2pt</PaddingBottom>
426                      </Style>
427                      <ZIndex>12</ZIndex>
428                      <CanGrow>true</CanGrow>
429                      <Value>=Fields!NR_FK.Value</Value>
430                    </Textbox>
431                  </ReportItems>
432                </TableCell>
433                <TableCell>
434                  <ReportItems>
435                    <Textbox Name="NICK_NAME">
436                      <rd:DefaultName>NICK_NAME</rd:DefaultName>
437                      <Style>
438                        <BorderColor>
439                          <Default>LightGrey</Default>
440                        </BorderColor>
441                        <BorderStyle>
442                          <Default>Solid</Default>
443                        </BorderStyle>
444                        <BorderWidth>
445                          <Default>0.5pt</Default>
446                        </BorderWidth>
447                        <FontSize>8pt</FontSize>
448                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
449                        <TextAlign>Center</TextAlign>
450                        <VerticalAlign>Middle</VerticalAlign>
451                        <PaddingLeft>2pt</PaddingLeft>
452                        <PaddingRight>2pt</PaddingRight>
453                        <PaddingTop>2pt</PaddingTop>
454                        <PaddingBottom>2pt</PaddingBottom>
455                      </Style>
456                      <ZIndex>11</ZIndex>
457                      <CanGrow>true</CanGrow>
458                      <Value>=Fields!kodKlienta.Value</Value>
459                    </Textbox>
460                  </ReportItems>
461                </TableCell>
462                <TableCell>
463                  <ReportItems>
464                    <Textbox Name="SYMBOL_AKWIZYTORA">
465                      <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
466                      <Style>
467                        <BorderColor>
468                          <Default>LightGrey</Default>
469                        </BorderColor>
470                        <BorderStyle>
471                          <Default>Solid</Default>
472                        </BorderStyle>
473                        <BorderWidth>
474                          <Default>0.5pt</Default>
475                        </BorderWidth>
476                        <FontSize>8pt</FontSize>
477                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
478                        <TextAlign>Center</TextAlign>
479                        <VerticalAlign>Middle</VerticalAlign>
480                        <PaddingLeft>2pt</PaddingLeft>
481                        <PaddingRight>2pt</PaddingRight>
482                        <PaddingTop>2pt</PaddingTop>
483                        <PaddingBottom>2pt</PaddingBottom>
484                      </Style>
485                      <ZIndex>10</ZIndex>
486                      <CanGrow>true</CanGrow>
487                      <Value>=Fields!Symbol.Value</Value>
488                    </Textbox>
489                  </ReportItems>
490                </TableCell>
491                <TableCell>
492                  <ReportItems>
493                    <Textbox Name="FAKTURA_DATA_WYSTAWIENIA">
494                      <rd:DefaultName>FAKTURA_DATA_WYSTAWIENIA</rd:DefaultName>
495                      <Style>
496                        <BorderColor>
497                          <Default>LightGrey</Default>
498                        </BorderColor>
499                        <BorderStyle>
500                          <Default>Solid</Default>
501                        </BorderStyle>
502                        <BorderWidth>
503                          <Default>0.5pt</Default>
504                        </BorderWidth>
505                        <FontSize>8pt</FontSize>
506                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
507                        <Format>d</Format>
508                        <TextAlign>Center</TextAlign>
509                        <VerticalAlign>Middle</VerticalAlign>
510                        <PaddingLeft>2pt</PaddingLeft>
511                        <PaddingRight>2pt</PaddingRight>
512                        <PaddingTop>2pt</PaddingTop>
513                        <PaddingBottom>2pt</PaddingBottom>
514                        <Language>pl</Language>
515                      </Style>
516                      <ZIndex>9</ZIndex>
517                      <CanGrow>true</CanGrow>
518                      <Value>=Fields!TERMIN_ZAPLATY.Value</Value>
519                    </Textbox>
520                  </ReportItems>
521                </TableCell>
522                <TableCell>
523                  <ReportItems>
524                    <Textbox Name="FAKTURA_FORMA_PŁATNOŚCI">
525                      <rd:DefaultName>FAKTURA_FORMA_PŁATNOŚCI</rd:DefaultName>
526                      <Style>
527                        <BorderColor>
528                          <Default>LightGrey</Default>
529                        </BorderColor>
530                        <BorderStyle>
531                          <Default>Solid</Default>
532                        </BorderStyle>
533                        <BorderWidth>
534                          <Default>0.5pt</Default>
535                        </BorderWidth>
536                        <FontSize>8pt</FontSize>
537                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
538                        <TextAlign>Center</TextAlign>
539                        <VerticalAlign>Middle</VerticalAlign>
540                        <PaddingLeft>2pt</PaddingLeft>
541                        <PaddingRight>2pt</PaddingRight>
542                        <PaddingTop>2pt</PaddingTop>
543                        <PaddingBottom>2pt</PaddingBottom>
544                      </Style>
545                      <ZIndex>8</ZIndex>
546                      <CanGrow>true</CanGrow>
547                      <Value>=Fields!SPOSOB_ZAPLATY.Value</Value>
548                    </Textbox>
549                  </ReportItems>
550                </TableCell>
551                <TableCell>
552                  <ReportItems>
553                    <Textbox Name="NETTO">
554                      <rd:DefaultName>NETTO</rd:DefaultName>
555                      <Style>
556                        <BorderColor>
557                          <Default>LightGrey</Default>
558                        </BorderColor>
559                        <BorderStyle>
560                          <Default>Solid</Default>
561                        </BorderStyle>
562                        <BorderWidth>
563                          <Default>0.5pt</Default>
564                        </BorderWidth>
565                        <FontSize>8pt</FontSize>
566                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
567                        <Format>C</Format>
568                        <TextAlign>Center</TextAlign>
569                        <VerticalAlign>Middle</VerticalAlign>
570                        <PaddingLeft>2pt</PaddingLeft>
571                        <PaddingRight>2pt</PaddingRight>
572                        <PaddingTop>2pt</PaddingTop>
573                        <PaddingBottom>2pt</PaddingBottom>
574                        <Language>pl</Language>
575                      </Style>
576                      <ZIndex>7</ZIndex>
577                      <CanGrow>true</CanGrow>
578                      <Value>=Fields!NETTO.Value</Value>
579                    </Textbox>
580                  </ReportItems>
581                </TableCell>
582                <TableCell>
583                  <ReportItems>
584                    <Textbox Name="VAT">
585                      <rd:DefaultName>VAT</rd:DefaultName>
586                      <Style>
587                        <BorderColor>
588                          <Default>LightGrey</Default>
589                        </BorderColor>
590                        <BorderStyle>
591                          <Default>Solid</Default>
592                        </BorderStyle>
593                        <BorderWidth>
594                          <Default>0.5pt</Default>
595                        </BorderWidth>
596                        <FontSize>8pt</FontSize>
597                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
598                        <Format>C</Format>
599                        <TextAlign>Center</TextAlign>
600                        <VerticalAlign>Middle</VerticalAlign>
601                        <PaddingLeft>2pt</PaddingLeft>
602                        <PaddingRight>2pt</PaddingRight>
603                        <PaddingTop>2pt</PaddingTop>
604                        <PaddingBottom>2pt</PaddingBottom>
605                        <Language>pl</Language>
606                      </Style>
607                      <ZIndex>6</ZIndex>
608                      <CanGrow>true</CanGrow>
609                      <Value>=Fields!VAT.Value</Value>
610                    </Textbox>
611                  </ReportItems>
612                </TableCell>
613                <TableCell>
614                  <ReportItems>
615                    <Textbox Name="BRUTTO">
616                      <rd:DefaultName>BRUTTO</rd:DefaultName>
617                      <Style>
618                        <BorderColor>
619                          <Default>LightGrey</Default>
620                        </BorderColor>
621                        <BorderStyle>
622                          <Default>Solid</Default>
623                        </BorderStyle>
624                        <BorderWidth>
625                          <Default>0.5pt</Default>
626                        </BorderWidth>
627                        <FontSize>8pt</FontSize>
628                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
629                        <Format>C</Format>
630                        <TextAlign>Center</TextAlign>
631                        <VerticalAlign>Middle</VerticalAlign>
632                        <PaddingLeft>2pt</PaddingLeft>
633                        <PaddingRight>2pt</PaddingRight>
634                        <PaddingTop>2pt</PaddingTop>
635                        <PaddingBottom>2pt</PaddingBottom>
636                        <Language>pl</Language>
637                      </Style>
638                      <ZIndex>5</ZIndex>
639                      <CanGrow>true</CanGrow>
640                      <Value>=Fields!BRUTTO.Value</Value>
641                    </Textbox>
642                  </ReportItems>
643                </TableCell>
644                <TableCell>
645                  <ReportItems>
646                    <Textbox Name="textbox8">
647                      <rd:DefaultName>textbox8</rd:DefaultName>
648                      <Style>
649                        <BorderColor>
650                          <Default>LightGrey</Default>
651                        </BorderColor>
652                        <BorderStyle>
653                          <Default>Solid</Default>
654                        </BorderStyle>
655                        <BorderWidth>
656                          <Default>0.5pt</Default>
657                        </BorderWidth>
658                        <FontSize>8pt</FontSize>
659                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
660                        <Format>P</Format>
661                        <TextAlign>Center</TextAlign>
662                        <VerticalAlign>Middle</VerticalAlign>
663                        <PaddingLeft>2pt</PaddingLeft>
664                        <PaddingRight>2pt</PaddingRight>
665                        <PaddingTop>2pt</PaddingTop>
666                        <PaddingBottom>2pt</PaddingBottom>
667                      </Style>
668                      <ZIndex>4</ZIndex>
669                      <CanGrow>true</CanGrow>
670                      <Value>=Fields!procentProwizji.Value</Value>
671                    </Textbox>
672                  </ReportItems>
673                </TableCell>
674                <TableCell>
675                  <ReportItems>
676                    <Textbox Name="textbox4">
677                      <rd:DefaultName>textbox4</rd:DefaultName>
678                      <Style>
679                        <BorderColor>
680                          <Default>LightGrey</Default>
681                        </BorderColor>
682                        <BorderStyle>
683                          <Default>Solid</Default>
684                        </BorderStyle>
685                        <BorderWidth>
686                          <Default>0.5pt</Default>
687                        </BorderWidth>
688                        <FontSize>8pt</FontSize>
689                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
690                        <Format>C</Format>
691                        <TextAlign>Center</TextAlign>
692                        <VerticalAlign>Middle</VerticalAlign>
693                        <PaddingLeft>2pt</PaddingLeft>
694                        <PaddingRight>2pt</PaddingRight>
695                        <PaddingTop>2pt</PaddingTop>
696                        <PaddingBottom>2pt</PaddingBottom>
697                        <Language>pl</Language>
698                      </Style>
699                      <ZIndex>3</ZIndex>
700                      <CanGrow>true</CanGrow>
701                      <Value>=Fields!kwotaProwizji.Value</Value>
702                    </Textbox>
703                  </ReportItems>
704                </TableCell>
705                <TableCell>
706                  <ReportItems>
707                    <Textbox Name="RODZAJ_POTWIERDZENIA">
708                      <rd:DefaultName>RODZAJ_POTWIERDZENIA</rd:DefaultName>
709                      <Style>
710                        <BorderColor>
711                          <Default>LightGrey</Default>
712                        </BorderColor>
713                        <BorderStyle>
714                          <Default>Solid</Default>
715                        </BorderStyle>
716                        <BorderWidth>
717                          <Default>0.5pt</Default>
718                        </BorderWidth>
719                        <FontSize>8pt</FontSize>
720                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
721                        <TextAlign>Center</TextAlign>
722                        <VerticalAlign>Middle</VerticalAlign>
723                        <PaddingLeft>2pt</PaddingLeft>
724                        <PaddingRight>2pt</PaddingRight>
725                        <PaddingTop>2pt</PaddingTop>
726                        <PaddingBottom>2pt</PaddingBottom>
727                      </Style>
728                      <ZIndex>2</ZIndex>
729                      <CanGrow>true</CanGrow>
730                      <Value>=Fields!rodzajPotwierdzenia.Value</Value>
731                    </Textbox>
732                  </ReportItems>
733                </TableCell>
734                <TableCell>
735                  <ReportItems>
736                    <Textbox Name="SYMBOL_POTWIERDZENIA">
737                      <rd:DefaultName>SYMBOL_POTWIERDZENIA</rd:DefaultName>
738                      <Style>
739                        <BorderColor>
740                          <Default>LightGrey</Default>
741                        </BorderColor>
742                        <BorderStyle>
743                          <Default>Solid</Default>
744                        </BorderStyle>
745                        <BorderWidth>
746                          <Default>0.5pt</Default>
747                        </BorderWidth>
748                        <FontSize>8pt</FontSize>
749                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
750                        <TextAlign>Center</TextAlign>
751                        <VerticalAlign>Middle</VerticalAlign>
752                        <PaddingLeft>2pt</PaddingLeft>
753                        <PaddingRight>2pt</PaddingRight>
754                        <PaddingTop>2pt</PaddingTop>
755                        <PaddingBottom>2pt</PaddingBottom>
756                      </Style>
757                      <ZIndex>1</ZIndex>
758                      <CanGrow>true</CanGrow>
759                      <Value>=Fields!symbolPotwierdzenia.Value</Value>
760                    </Textbox>
761                  </ReportItems>
762                </TableCell>
763                <TableCell>
764                  <ReportItems>
765                    <Textbox Name="DATA_ZAPŁATY">
766                      <rd:DefaultName>DATA_ZAPŁATY</rd:DefaultName>
767                      <Style>
768                        <BorderColor>
769                          <Default>LightGrey</Default>
770                        </BorderColor>
771                        <BorderStyle>
772                          <Default>Solid</Default>
773                        </BorderStyle>
774                        <BorderWidth>
775                          <Default>0.5pt</Default>
776                        </BorderWidth>
777                        <FontSize>8pt</FontSize>
778                        <FontWeight>=iif(Fields!roznica_nowa.Value&gt;60 OR Fields!roznica_stara.Value&gt;60,"Bold","Normal")</FontWeight>
779                        <Format>d</Format>
780                        <TextAlign>Center</TextAlign>
781                        <VerticalAlign>Middle</VerticalAlign>
782                        <PaddingLeft>2pt</PaddingLeft>
783                        <PaddingRight>2pt</PaddingRight>
784                        <PaddingTop>2pt</PaddingTop>
785                        <PaddingBottom>2pt</PaddingBottom>
786                        <Language>pl</Language>
787                      </Style>
788                      <CanGrow>true</CanGrow>
789                      <Value>=Fields!dataWplaty.Value</Value>
790                    </Textbox>
791                  </ReportItems>
792                </TableCell>
793              </TableCells>
794              <Height>0.63492cm</Height>
795            </TableRow>
796          </TableRows>
797          <Sorting>
798            <SortBy>
799              <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>
800              <Direction>Ascending</Direction>
801            </SortBy>
802          </Sorting>
803        </Details>
804        <Style>
805          <FontSize>8pt</FontSize>
806          <Language>pl</Language>
807        </Style>
808        <Header>
809          <TableRows>
810            <TableRow>
811              <TableCells>
812                <TableCell>
813                  <ReportItems>
814                    <Textbox Name="textbox1">
815                      <rd:DefaultName>textbox1</rd:DefaultName>
816                      <Style>
817                        <BackgroundColor>WhiteSmoke</BackgroundColor>
818                        <BorderColor>
819                          <Default>LightGrey</Default>
820                        </BorderColor>
821                        <BorderStyle>
822                          <Default>Solid</Default>
823                        </BorderStyle>
824                        <BorderWidth>
825                          <Default>0.5pt</Default>
826                        </BorderWidth>
827                        <FontSize>8pt</FontSize>
828                        <FontWeight>700</FontWeight>
829                        <TextAlign>Center</TextAlign>
830                        <VerticalAlign>Middle</VerticalAlign>
831                        <PaddingLeft>2pt</PaddingLeft>
832                        <PaddingRight>2pt</PaddingRight>
833                        <PaddingTop>2pt</PaddingTop>
834                        <PaddingBottom>2pt</PaddingBottom>
835                      </Style>
836                      <ZIndex>26</ZIndex>
837                      <CanGrow>true</CanGrow>
838                      <Value>Numer faktury</Value>
839                    </Textbox>
840                  </ReportItems>
841                </TableCell>
842                <TableCell>
843                  <ReportItems>
844                    <Textbox Name="textbox29">
845                      <rd:DefaultName>textbox29</rd:DefaultName>
846                      <Style>
847                        <BackgroundColor>WhiteSmoke</BackgroundColor>
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>8pt</FontSize>
858                        <FontWeight>700</FontWeight>
859                        <TextAlign>Center</TextAlign>
860                        <VerticalAlign>Middle</VerticalAlign>
861                        <PaddingLeft>2pt</PaddingLeft>
862                        <PaddingRight>2pt</PaddingRight>
863                        <PaddingTop>2pt</PaddingTop>
864                        <PaddingBottom>2pt</PaddingBottom>
865                      </Style>
866                      <ZIndex>25</ZIndex>
867                      <CanGrow>true</CanGrow>
868                      <Value>Kod klienta</Value>
869                    </Textbox>
870                  </ReportItems>
871                </TableCell>
872                <TableCell>
873                  <ReportItems>
874                    <Textbox Name="textbox26">
875                      <rd:DefaultName>textbox26</rd:DefaultName>
876                      <Style>
877                        <BackgroundColor>WhiteSmoke</BackgroundColor>
878                        <BorderColor>
879                          <Default>LightGrey</Default>
880                        </BorderColor>
881                        <BorderStyle>
882                          <Default>Solid</Default>
883                        </BorderStyle>
884                        <BorderWidth>
885                          <Default>0.5pt</Default>
886                        </BorderWidth>
887                        <FontSize>8pt</FontSize>
888                        <FontWeight>700</FontWeight>
889                        <TextAlign>Center</TextAlign>
890                        <VerticalAlign>Middle</VerticalAlign>
891                        <PaddingLeft>2pt</PaddingLeft>
892                        <PaddingRight>2pt</PaddingRight>
893                        <PaddingTop>2pt</PaddingTop>
894                        <PaddingBottom>2pt</PaddingBottom>
895                      </Style>
896                      <ZIndex>24</ZIndex>
897                      <CanGrow>true</CanGrow>
898                      <Value>Agent</Value>
899                    </Textbox>
900                  </ReportItems>
901                </TableCell>
902                <TableCell>
903                  <ReportItems>
904                    <Textbox Name="textbox23">
905                      <rd:DefaultName>textbox23</rd:DefaultName>
906                      <Style>
907                        <BackgroundColor>WhiteSmoke</BackgroundColor>
908                        <BorderColor>
909                          <Default>LightGrey</Default>
910                        </BorderColor>
911                        <BorderStyle>
912                          <Default>Solid</Default>
913                        </BorderStyle>
914                        <BorderWidth>
915                          <Default>0.5pt</Default>
916                        </BorderWidth>
917                        <FontSize>8pt</FontSize>
918                        <FontWeight>700</FontWeight>
919                        <TextAlign>Center</TextAlign>
920                        <VerticalAlign>Middle</VerticalAlign>
921                        <PaddingLeft>2pt</PaddingLeft>
922                        <PaddingRight>2pt</PaddingRight>
923                        <PaddingTop>2pt</PaddingTop>
924                        <PaddingBottom>2pt</PaddingBottom>
925                      </Style>
926                      <ZIndex>23</ZIndex>
927                      <CanGrow>true</CanGrow>
928                      <Value>Termin zapłaty</Value>
929                    </Textbox>
930                  </ReportItems>
931                </TableCell>
932                <TableCell>
933                  <ReportItems>
934                    <Textbox Name="textbox17">
935                      <rd:DefaultName>textbox17</rd:DefaultName>
936                      <Style>
937                        <BackgroundColor>WhiteSmoke</BackgroundColor>
938                        <BorderColor>
939                          <Default>LightGrey</Default>
940                        </BorderColor>
941                        <BorderStyle>
942                          <Default>Solid</Default>
943                        </BorderStyle>
944                        <BorderWidth>
945                          <Default>0.5pt</Default>
946                        </BorderWidth>
947                        <FontSize>8pt</FontSize>
948                        <FontWeight>700</FontWeight>
949                        <TextAlign>Center</TextAlign>
950                        <VerticalAlign>Middle</VerticalAlign>
951                        <PaddingLeft>2pt</PaddingLeft>
952                        <PaddingRight>2pt</PaddingRight>
953                        <PaddingTop>2pt</PaddingTop>
954                        <PaddingBottom>2pt</PaddingBottom>
955                      </Style>
956                      <ZIndex>22</ZIndex>
957                      <CanGrow>true</CanGrow>
958                      <Value>Rodzaj płatn.</Value>
959                    </Textbox>
960                  </ReportItems>
961                </TableCell>
962                <TableCell>
963                  <ReportItems>
964                    <Textbox Name="textbox14">
965                      <rd:DefaultName>textbox14</rd:DefaultName>
966                      <Style>
967                        <BackgroundColor>WhiteSmoke</BackgroundColor>
968                        <BorderColor>
969                          <Default>LightGrey</Default>
970                        </BorderColor>
971                        <BorderStyle>
972                          <Default>Solid</Default>
973                        </BorderStyle>
974                        <BorderWidth>
975                          <Default>0.5pt</Default>
976                        </BorderWidth>
977                        <FontSize>8pt</FontSize>
978                        <FontWeight>700</FontWeight>
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                      </Style>
986                      <ZIndex>21</ZIndex>
987                      <CanGrow>true</CanGrow>
988                      <Value>Netto</Value>
989                    </Textbox>
990                  </ReportItems>
991                </TableCell>
992                <TableCell>
993                  <ReportItems>
994                    <Textbox Name="textbox11">
995                      <rd:DefaultName>textbox11</rd:DefaultName>
996                      <Style>
997                        <BackgroundColor>WhiteSmoke</BackgroundColor>
998                        <BorderColor>
999                          <Default>LightGrey</Default>
1000                        </BorderColor>
1001                        <BorderStyle>
1002                          <Default>Solid</Default>
1003                        </BorderStyle>
1004                        <BorderWidth>
1005                          <Default>0.5pt</Default>
1006                        </BorderWidth>
1007                        <FontSize>8pt</FontSize>
1008                        <FontWeight>700</FontWeight>
1009                        <TextAlign>Center</TextAlign>
1010                        <VerticalAlign>Middle</VerticalAlign>
1011                        <PaddingLeft>2pt</PaddingLeft>
1012                        <PaddingRight>2pt</PaddingRight>
1013                        <PaddingTop>2pt</PaddingTop>
1014                        <PaddingBottom>2pt</PaddingBottom>
1015                      </Style>
1016                      <ZIndex>20</ZIndex>
1017                      <CanGrow>true</CanGrow>
1018                      <Value>VAT</Value>
1019                    </Textbox>
1020                  </ReportItems>
1021                </TableCell>
1022                <TableCell>
1023                  <ReportItems>
1024                    <Textbox Name="textbox2">
1025                      <rd:DefaultName>textbox2</rd:DefaultName>
1026                      <Style>
1027                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1028                        <BorderColor>
1029                          <Default>LightGrey</Default>
1030                        </BorderColor>
1031                        <BorderStyle>
1032                          <Default>Solid</Default>
1033                        </BorderStyle>
1034                        <BorderWidth>
1035                          <Default>0.5pt</Default>
1036                        </BorderWidth>
1037                        <FontSize>8pt</FontSize>
1038                        <FontWeight>700</FontWeight>
1039                        <TextAlign>Center</TextAlign>
1040                        <VerticalAlign>Middle</VerticalAlign>
1041                        <PaddingLeft>2pt</PaddingLeft>
1042                        <PaddingRight>2pt</PaddingRight>
1043                        <PaddingTop>2pt</PaddingTop>
1044                        <PaddingBottom>2pt</PaddingBottom>
1045                      </Style>
1046                      <ZIndex>19</ZIndex>
1047                      <CanGrow>true</CanGrow>
1048                      <Value>Brutto</Value>
1049                    </Textbox>
1050                  </ReportItems>
1051                </TableCell>
1052                <TableCell>
1053                  <ReportItems>
1054                    <Textbox Name="textbox6">
1055                      <rd:DefaultName>textbox6</rd:DefaultName>
1056                      <Style>
1057                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1058                        <BorderColor>
1059                          <Default>LightGrey</Default>
1060                        </BorderColor>
1061                        <BorderStyle>
1062                          <Default>Solid</Default>
1063                        </BorderStyle>
1064                        <BorderWidth>
1065                          <Default>0.5pt</Default>
1066                        </BorderWidth>
1067                        <FontSize>8pt</FontSize>
1068                        <FontWeight>700</FontWeight>
1069                        <TextAlign>Center</TextAlign>
1070                        <VerticalAlign>Middle</VerticalAlign>
1071                        <PaddingLeft>2pt</PaddingLeft>
1072                        <PaddingRight>2pt</PaddingRight>
1073                        <PaddingTop>2pt</PaddingTop>
1074                        <PaddingBottom>2pt</PaddingBottom>
1075                      </Style>
1076                      <ZIndex>18</ZIndex>
1077                      <CanGrow>true</CanGrow>
1078                      <Value>% pro.</Value>
1079                    </Textbox>
1080                  </ReportItems>
1081                </TableCell>
1082                <TableCell>
1083                  <ReportItems>
1084                    <Textbox Name="textbox3">
1085                      <rd:DefaultName>textbox3</rd:DefaultName>
1086                      <Style>
1087                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1088                        <BorderColor>
1089                          <Default>LightGrey</Default>
1090                        </BorderColor>
1091                        <BorderStyle>
1092                          <Default>Solid</Default>
1093                        </BorderStyle>
1094                        <BorderWidth>
1095                          <Default>0.5pt</Default>
1096                        </BorderWidth>
1097                        <FontSize>8pt</FontSize>
1098                        <FontWeight>700</FontWeight>
1099                        <TextAlign>Center</TextAlign>
1100                        <VerticalAlign>Middle</VerticalAlign>
1101                        <PaddingLeft>2pt</PaddingLeft>
1102                        <PaddingRight>2pt</PaddingRight>
1103                        <PaddingTop>2pt</PaddingTop>
1104                        <PaddingBottom>2pt</PaddingBottom>
1105                      </Style>
1106                      <ZIndex>17</ZIndex>
1107                      <CanGrow>true</CanGrow>
1108                      <Value>Prowizja</Value>
1109                    </Textbox>
1110                  </ReportItems>
1111                </TableCell>
1112                <TableCell>
1113                  <ReportItems>
1114                    <Textbox Name="textbox12">
1115                      <rd:DefaultName>textbox12</rd:DefaultName>
1116                      <Style>
1117                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1118                        <BorderColor>
1119                          <Default>LightGrey</Default>
1120                        </BorderColor>
1121                        <BorderStyle>
1122                          <Default>Solid</Default>
1123                        </BorderStyle>
1124                        <BorderWidth>
1125                          <Default>0.5pt</Default>
1126                        </BorderWidth>
1127                        <FontSize>8pt</FontSize>
1128                        <FontWeight>700</FontWeight>
1129                        <TextAlign>Center</TextAlign>
1130                        <VerticalAlign>Middle</VerticalAlign>
1131                        <PaddingLeft>2pt</PaddingLeft>
1132                        <PaddingRight>2pt</PaddingRight>
1133                        <PaddingTop>2pt</PaddingTop>
1134                        <PaddingBottom>2pt</PaddingBottom>
1135                      </Style>
1136                      <ZIndex>16</ZIndex>
1137                      <CanGrow>true</CanGrow>
1138                      <Value>For. potw.</Value>
1139                    </Textbox>
1140                  </ReportItems>
1141                </TableCell>
1142                <TableCell>
1143                  <ReportItems>
1144                    <Textbox Name="textbox5">
1145                      <rd:DefaultName>textbox5</rd:DefaultName>
1146                      <Style>
1147                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1148                        <BorderColor>
1149                          <Default>LightGrey</Default>
1150                        </BorderColor>
1151                        <BorderStyle>
1152                          <Default>Solid</Default>
1153                        </BorderStyle>
1154                        <BorderWidth>
1155                          <Default>0.5pt</Default>
1156                        </BorderWidth>
1157                        <FontSize>8pt</FontSize>
1158                        <FontWeight>700</FontWeight>
1159                        <TextAlign>Center</TextAlign>
1160                        <VerticalAlign>Middle</VerticalAlign>
1161                        <PaddingLeft>2pt</PaddingLeft>
1162                        <PaddingRight>2pt</PaddingRight>
1163                        <PaddingTop>2pt</PaddingTop>
1164                        <PaddingBottom>2pt</PaddingBottom>
1165                      </Style>
1166                      <ZIndex>15</ZIndex>
1167                      <CanGrow>true</CanGrow>
1168                      <Value>Sym. potw.</Value>
1169                    </Textbox>
1170                  </ReportItems>
1171                </TableCell>
1172                <TableCell>
1173                  <ReportItems>
1174                    <Textbox Name="textbox24">
1175                      <rd:DefaultName>textbox24</rd:DefaultName>
1176                      <Style>
1177                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1178                        <BorderColor>
1179                          <Default>LightGrey</Default>
1180                        </BorderColor>
1181                        <BorderStyle>
1182                          <Default>Solid</Default>
1183                        </BorderStyle>
1184                        <BorderWidth>
1185                          <Default>0.5pt</Default>
1186                        </BorderWidth>
1187                        <FontSize>8pt</FontSize>
1188                        <FontWeight>700</FontWeight>
1189                        <TextAlign>Center</TextAlign>
1190                        <VerticalAlign>Middle</VerticalAlign>
1191                        <PaddingLeft>2pt</PaddingLeft>
1192                        <PaddingRight>2pt</PaddingRight>
1193                        <PaddingTop>2pt</PaddingTop>
1194                        <PaddingBottom>2pt</PaddingBottom>
1195                      </Style>
1196                      <ZIndex>14</ZIndex>
1197                      <CanGrow>true</CanGrow>
1198                      <Value>Data zapłaty </Value>
1199                    </Textbox>
1200                  </ReportItems>
1201                </TableCell>
1202              </TableCells>
1203              <Height>1.25cm</Height>
1204            </TableRow>
1205          </TableRows>
1206          <RepeatOnNewPage>true</RepeatOnNewPage>
1207        </Header>
1208        <TableColumns>
1209          <TableColumn>
1210            <Width>2.25cm</Width>
1211          </TableColumn>
1212          <TableColumn>
1213            <Width>2.75cm</Width>
1214          </TableColumn>
1215          <TableColumn>
1216            <Width>2.05291cm</Width>
1217          </TableColumn>
1218          <TableColumn>
1219            <Width>2.25cm</Width>
1220          </TableColumn>
1221          <TableColumn>
1222            <Width>1.27646cm</Width>
1223          </TableColumn>
1224          <TableColumn>
1225            <Width>2cm</Width>
1226          </TableColumn>
1227          <TableColumn>
1228            <Width>1.75cm</Width>
1229          </TableColumn>
1230          <TableColumn>
1231            <Width>2cm</Width>
1232          </TableColumn>
1233          <TableColumn>
1234            <Width>1.5cm</Width>
1235          </TableColumn>
1236          <TableColumn>
1237            <Width>2cm</Width>
1238          </TableColumn>
1239          <TableColumn>
1240            <Width>1.5cm</Width>
1241          </TableColumn>
1242          <TableColumn>
1243            <Width>2.25cm</Width>
1244          </TableColumn>
1245          <TableColumn>
1246            <Width>2cm</Width>
1247          </TableColumn>
1248        </TableColumns>
1249        <Footer>
1250          <TableRows>
1251            <TableRow>
1252              <TableCells>
1253                <TableCell>
1254                  <ColSpan>13</ColSpan>
1255                  <ReportItems>
1256                    <Textbox Name="textbox7">
1257                      <rd:DefaultName>textbox7</rd:DefaultName>
1258                      <Style>
1259                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1260                        <BorderColor>
1261                          <Default>LightGrey</Default>
1262                        </BorderColor>
1263                        <BorderStyle>
1264                          <Default>Solid</Default>
1265                        </BorderStyle>
1266                        <BorderWidth>
1267                          <Default>0.5pt</Default>
1268                        </BorderWidth>
1269                        <FontSize>8pt</FontSize>
1270                        <FontWeight>700</FontWeight>
1271                        <VerticalAlign>Middle</VerticalAlign>
1272                        <PaddingLeft>2pt</PaddingLeft>
1273                        <PaddingRight>2pt</PaddingRight>
1274                        <PaddingTop>2pt</PaddingTop>
1275                        <PaddingBottom>2pt</PaddingBottom>
1276                      </Style>
1277                      <ZIndex>13</ZIndex>
1278                      <CanGrow>true</CanGrow>
1279                      <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>
1280                    </Textbox>
1281                  </ReportItems>
1282                </TableCell>
1283              </TableCells>
1284              <Height>0.63492cm</Height>
1285            </TableRow>
1286          </TableRows>
1287          <RepeatOnNewPage>true</RepeatOnNewPage>
1288        </Footer>
1289      </Table>
1290    </ReportItems>
1291    <Height>3.51984cm</Height>
1292  </Body>
1293  <Language>en-US</Language>
1294  <TopMargin>1cm</TopMargin>
1295  <PageHeight>21cm</PageHeight>
1296</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.