root/trunk/RaportySQL/FakturyNettoWgTytulow.rdl @ 433

Wersja 363, 45.6 KB (wprowadzona przez marek, 17 years temu)

fixes #85

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>556da6c7-7dc9-4c27-a283-bf44afeca6dc</rd:DataSourceID>
6      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
7    </DataSource>
8  </DataSources>
9  <InteractiveHeight>21cm</InteractiveHeight>
10  <ReportParameters>
11    <ReportParameter Name="rok">
12      <DataType>String</DataType>
13      <DefaultValue>
14        <Values>
15          <Value>=Year(Today)</Value>
16        </Values>
17      </DefaultValue>
18      <Prompt>Rok:</Prompt>
19      <ValidValues>
20        <DataSetReference>
21          <DataSetName>ListaLat</DataSetName>
22          <ValueField>rok</ValueField>
23          <LabelField>rok</LabelField>
24        </DataSetReference>
25      </ValidValues>
26    </ReportParameter>
27    <ReportParameter Name="miesiac">
28      <DataType>String</DataType>
29      <DefaultValue>
30        <Values>
31          <Value>=Month(Today)</Value>
32        </Values>
33      </DefaultValue>
34      <Prompt>Miesiac:</Prompt>
35      <ValidValues>
36        <ParameterValues>
37          <ParameterValue>
38            <Value>1</Value>
39          </ParameterValue>
40          <ParameterValue>
41            <Value>2</Value>
42          </ParameterValue>
43          <ParameterValue>
44            <Value>3</Value>
45          </ParameterValue>
46          <ParameterValue>
47            <Value>4</Value>
48          </ParameterValue>
49          <ParameterValue>
50            <Value>5</Value>
51          </ParameterValue>
52          <ParameterValue>
53            <Value>6</Value>
54          </ParameterValue>
55          <ParameterValue>
56            <Value>7</Value>
57          </ParameterValue>
58          <ParameterValue>
59            <Value>8</Value>
60          </ParameterValue>
61          <ParameterValue>
62            <Value>9</Value>
63          </ParameterValue>
64          <ParameterValue>
65            <Value>10</Value>
66          </ParameterValue>
67          <ParameterValue>
68            <Value>11</Value>
69          </ParameterValue>
70          <ParameterValue>
71            <Value>12</Value>
72          </ParameterValue>
73        </ParameterValues>
74      </ValidValues>
75      <MultiValue>true</MultiValue>
76    </ReportParameter>
77    <ReportParameter Name="tytul">
78      <DataType>String</DataType>
79      <DefaultValue>
80        <DataSetReference>
81          <DataSetName>ListaTytulow</DataSetName>
82          <ValueField>SYMB</ValueField>
83        </DataSetReference>
84      </DefaultValue>
85      <Prompt>Tytuł:</Prompt>
86      <ValidValues>
87        <DataSetReference>
88          <DataSetName>ListaTytulow</DataSetName>
89          <ValueField>SYMB</ValueField>
90          <LabelField>SYMB</LabelField>
91        </DataSetReference>
92      </ValidValues>
93      <MultiValue>true</MultiValue>
94    </ReportParameter>
95    <ReportParameter Name="agencja">
96      <DataType>String</DataType>
97      <DefaultValue>
98        <DataSetReference>
99          <DataSetName>ListaAgencji</DataSetName>
100          <ValueField>Symbol</ValueField>
101        </DataSetReference>
102      </DefaultValue>
103      <Prompt>Agencja:</Prompt>
104      <ValidValues>
105        <DataSetReference>
106          <DataSetName>ListaAgencji</DataSetName>
107          <ValueField>Symbol</ValueField>
108          <LabelField>Symbol</LabelField>
109        </DataSetReference>
110      </ValidValues>
111      <MultiValue>true</MultiValue>
112    </ReportParameter>
113    <ReportParameter Name="agent">
114      <DataType>String</DataType>
115      <DefaultValue>
116        <DataSetReference>
117          <DataSetName>ListaAgentow</DataSetName>
118          <ValueField>Symbol</ValueField>
119        </DataSetReference>
120      </DefaultValue>
121      <Prompt>Agent:</Prompt>
122      <ValidValues>
123        <DataSetReference>
124          <DataSetName>ListaAgentow</DataSetName>
125          <ValueField>Symbol</ValueField>
126          <LabelField>Symbol</LabelField>
127        </DataSetReference>
128      </ValidValues>
129      <MultiValue>true</MultiValue>
130    </ReportParameter>
131  </ReportParameters>
132  <rd:DrawGrid>true</rd:DrawGrid>
133  <InteractiveWidth>29.7cm</InteractiveWidth>
134  <rd:GridSpacing>0.25cm</rd:GridSpacing>
135  <rd:SnapToGrid>true</rd:SnapToGrid>
136  <RightMargin>1cm</RightMargin>
137  <LeftMargin>1cm</LeftMargin>
138  <BottomMargin>1cm</BottomMargin>
139  <rd:ReportID>44183224-74ec-4ce4-81ae-ab10d63ae553</rd:ReportID>
140  <PageWidth>29.7cm</PageWidth>
141  <DataSets>
142    <DataSet Name="ListaFaktur">
143      <Fields>
144        <Field Name="Id">
145          <DataField>Id</DataField>
146          <rd:TypeName>System.Int32</rd:TypeName>
147        </Field>
148        <Field Name="NumerFaktury">
149          <DataField>NumerFaktury</DataField>
150          <rd:TypeName>System.String</rd:TypeName>
151        </Field>
152        <Field Name="NUMER">
153          <DataField>Numer</DataField>
154          <rd:TypeName>System.Int32</rd:TypeName>
155        </Field>
156        <Field Name="Netto">
157          <DataField>Netto</DataField>
158          <rd:TypeName>System.Decimal</rd:TypeName>
159        </Field>
160        <Field Name="Data">
161          <DataField>Data</DataField>
162          <rd:TypeName>System.DateTime</rd:TypeName>
163        </Field>
164        <Field Name="Tytul">
165          <DataField>Tytul</DataField>
166          <rd:TypeName>System.String</rd:TypeName>
167        </Field>
168        <Field Name="Agencja">
169          <DataField>Agencja</DataField>
170          <rd:TypeName>System.String</rd:TypeName>
171        </Field>
172        <Field Name="Agent">
173          <DataField>Agent</DataField>
174          <rd:TypeName>System.String</rd:TypeName>
175        </Field>
176      </Fields>
177      <Query>
178        <DataSourceName>BAZA_REKLAM</DataSourceName>
179        <CommandText>SELECT * FROM FakturyNettoByTytul
180WHERE
181(YEAR(Data) = @rok)
182AND (MONTH(Data) in (@miesiac))
183AND (Tytul in (@tytul))
184AND (Agent in (@agent))
185ORDER BY Agent, Numer</CommandText>
186        <QueryParameters>
187          <QueryParameter Name="@rok">
188            <Value>=Parameters!rok.Value</Value>
189          </QueryParameter>
190          <QueryParameter Name="@miesiac">
191            <Value>=Parameters!miesiac.Value</Value>
192          </QueryParameter>
193          <QueryParameter Name="@tytul">
194            <Value>=Parameters!tytul.Value</Value>
195          </QueryParameter>
196          <QueryParameter Name="@agent">
197            <Value>=Parameters!agent.Value</Value>
198          </QueryParameter>
199        </QueryParameters>
200        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
201      </Query>
202    </DataSet>
203    <DataSet Name="ListaLat">
204      <Fields>
205        <Field Name="rok">
206          <DataField>rok</DataField>
207          <rd:TypeName>System.Int32</rd:TypeName>
208        </Field>
209      </Fields>
210      <Query>
211        <DataSourceName>BAZA_REKLAM</DataSourceName>
212        <CommandText>SELECT DISTINCT YEAR(DATA_W) AS rok
213FROM dbo.NR
214WHERE DATA_W IS NOT NULL
215AND YEAR(DATA_W)&gt;2007
216ORDER BY YEAR(DATA_W) DESC</CommandText>
217        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
218      </Query>
219    </DataSet>
220    <DataSet Name="ListaTytulow">
221      <Fields>
222        <Field Name="SYMB">
223          <DataField>SYMB</DataField>
224          <rd:TypeName>System.String</rd:TypeName>
225        </Field>
226      </Fields>
227      <Query>
228        <DataSourceName>BAZA_REKLAM</DataSourceName>
229        <CommandText>SELECT      SYMB
230FROM            [LISTA TYTUŁÓW]
231WHERE        (st_aktywny = - 1)</CommandText>
232        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
233      </Query>
234    </DataSet>
235    <DataSet Name="ListaAgencji">
236      <Fields>
237        <Field Name="Id_agencji">
238          <DataField>Id_agencji</DataField>
239          <rd:TypeName>System.Int32</rd:TypeName>
240        </Field>
241        <Field Name="Symbol">
242          <DataField>Symbol</DataField>
243          <rd:TypeName>System.String</rd:TypeName>
244        </Field>
245      </Fields>
246      <Query>
247        <DataSourceName>BAZA_REKLAM</DataSourceName>
248        <CommandText>SELECT Id_agencji, Symbol
249FROM    AGENCJE
250WHERE aktywna=1</CommandText>
251        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
252      </Query>
253    </DataSet>
254    <DataSet Name="ListaAgentow">
255      <Fields>
256        <Field Name="ID_AGENTA">
257          <DataField>ID_AGENTA</DataField>
258          <rd:TypeName>System.Int32</rd:TypeName>
259        </Field>
260        <Field Name="Symbol">
261          <DataField>Symbol</DataField>
262          <rd:TypeName>System.String</rd:TypeName>
263        </Field>
264        <Field Name="agencja">
265          <DataField>agencja</DataField>
266          <rd:TypeName>System.String</rd:TypeName>
267        </Field>
268      </Fields>
269      <Query>
270        <DataSourceName>BAZA_REKLAM</DataSourceName>
271        <CommandText>SELECT        A.ID_AGENTA, A.Symbol, A2.Symbol agencja
272FROM            AGENCI A left join Agencje A2
273on A.ID_AGENCJI = A2.ID_Agencji
274 where (A2.Symbol in (@agencja) )
275order by A.Symbol</CommandText>
276        <QueryParameters>
277          <QueryParameter Name="@agencja">
278            <Value>=Parameters!agencja.Value</Value>
279          </QueryParameter>
280        </QueryParameters>
281        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
282      </Query>
283    </DataSet>
284  </DataSets>
285  <Code />
286  <Width>20.52646cm</Width>
287  <Body>
288    <ColumnSpacing>1cm</ColumnSpacing>
289    <ReportItems>
290      <Textbox Name="textbox1">
291        <rd:DefaultName>textbox1</rd:DefaultName>
292        <Width>20.31746cm</Width>
293        <Style>
294          <FontSize>16pt</FontSize>
295          <TextAlign>Center</TextAlign>
296          <PaddingLeft>2pt</PaddingLeft>
297          <PaddingRight>2pt</PaddingRight>
298          <PaddingTop>2pt</PaddingTop>
299          <PaddingBottom>2pt</PaddingBottom>
300        </Style>
301        <ZIndex>1</ZIndex>
302        <CanGrow>true</CanGrow>
303        <Height>0.91429cm</Height>
304        <Value>Sprzedaż netto wg daty sprzedaży, agencji, tytułów</Value>
305      </Textbox>
306      <Table Name="table1">
307        <DataSetName>ListaFaktur</DataSetName>
308        <Top>0.91429cm</Top>
309        <TableGroups>
310          <TableGroup>
311            <Grouping Name="tbl_Agencja">
312              <GroupExpressions>
313                <GroupExpression>=Fields!Agencja.Value</GroupExpression>
314              </GroupExpressions>
315            </Grouping>
316            <Sorting>
317              <SortBy>
318                <SortExpression>=Fields!Tytul.Value</SortExpression>
319                <Direction>Ascending</Direction>
320              </SortBy>
321            </Sorting>
322            <Header>
323              <TableRows>
324                <TableRow>
325                  <TableCells>
326                    <TableCell>
327                      <ReportItems>
328                        <Textbox Name="Tytul">
329                          <rd:DefaultName>Tytul</rd:DefaultName>
330                          <Style>
331                            <BackgroundColor>WhiteSmoke</BackgroundColor>
332                            <BorderColor>
333                              <Default>LightGrey</Default>
334                            </BorderColor>
335                            <BorderStyle>
336                              <Default>Solid</Default>
337                            </BorderStyle>
338                            <BorderWidth>
339                              <Default>0.5pt</Default>
340                            </BorderWidth>
341                            <FontSize>8pt</FontSize>
342                            <PaddingLeft>2pt</PaddingLeft>
343                            <PaddingRight>2pt</PaddingRight>
344                            <PaddingTop>2pt</PaddingTop>
345                            <PaddingBottom>2pt</PaddingBottom>
346                          </Style>
347                          <ZIndex>23</ZIndex>
348                          <CanGrow>true</CanGrow>
349                          <Value>=Fields!Agencja.Value</Value>
350                        </Textbox>
351                      </ReportItems>
352                    </TableCell>
353                    <TableCell>
354                      <ReportItems>
355                        <Textbox Name="textbox12">
356                          <rd:DefaultName>textbox12</rd:DefaultName>
357                          <Style>
358                            <BackgroundColor>WhiteSmoke</BackgroundColor>
359                            <BorderColor>
360                              <Default>LightGrey</Default>
361                            </BorderColor>
362                            <BorderStyle>
363                              <Default>Solid</Default>
364                            </BorderStyle>
365                            <BorderWidth>
366                              <Default>0.5pt</Default>
367                            </BorderWidth>
368                            <FontFamily>Tahoma</FontFamily>
369                            <FontWeight>700</FontWeight>
370                            <PaddingLeft>2pt</PaddingLeft>
371                            <PaddingRight>2pt</PaddingRight>
372                            <PaddingTop>2pt</PaddingTop>
373                            <PaddingBottom>2pt</PaddingBottom>
374                          </Style>
375                          <ZIndex>22</ZIndex>
376                          <CanGrow>true</CanGrow>
377                          <Value>
378                          </Value>
379                        </Textbox>
380                      </ReportItems>
381                    </TableCell>
382                    <TableCell>
383                      <ReportItems>
384                        <Textbox Name="textbox14">
385                          <rd:DefaultName>textbox14</rd:DefaultName>
386                          <Style>
387                            <BackgroundColor>WhiteSmoke</BackgroundColor>
388                            <BorderColor>
389                              <Default>LightGrey</Default>
390                            </BorderColor>
391                            <BorderStyle>
392                              <Default>Solid</Default>
393                            </BorderStyle>
394                            <BorderWidth>
395                              <Default>0.5pt</Default>
396                            </BorderWidth>
397                            <FontFamily>Tahoma</FontFamily>
398                            <FontWeight>700</FontWeight>
399                            <PaddingLeft>2pt</PaddingLeft>
400                            <PaddingRight>2pt</PaddingRight>
401                            <PaddingTop>2pt</PaddingTop>
402                            <PaddingBottom>2pt</PaddingBottom>
403                          </Style>
404                          <ZIndex>21</ZIndex>
405                          <CanGrow>true</CanGrow>
406                          <Value>
407                          </Value>
408                        </Textbox>
409                      </ReportItems>
410                    </TableCell>
411                    <TableCell>
412                      <ReportItems>
413                        <Textbox Name="textbox16">
414                          <rd:DefaultName>textbox16</rd:DefaultName>
415                          <Style>
416                            <BackgroundColor>WhiteSmoke</BackgroundColor>
417                            <BorderColor>
418                              <Default>LightGrey</Default>
419                            </BorderColor>
420                            <BorderStyle>
421                              <Default>Solid</Default>
422                            </BorderStyle>
423                            <BorderWidth>
424                              <Default>0.5pt</Default>
425                            </BorderWidth>
426                            <FontSize>8pt</FontSize>
427                            <FontWeight>700</FontWeight>
428                            <Format>C</Format>
429                            <PaddingLeft>2pt</PaddingLeft>
430                            <PaddingRight>2pt</PaddingRight>
431                            <PaddingTop>2pt</PaddingTop>
432                            <PaddingBottom>2pt</PaddingBottom>
433                          </Style>
434                          <ZIndex>20</ZIndex>
435                          <CanGrow>true</CanGrow>
436                          <Value>=Sum(Fields!Netto.Value)</Value>
437                        </Textbox>
438                      </ReportItems>
439                    </TableCell>
440                    <TableCell>
441                      <ReportItems>
442                        <Textbox Name="textbox17">
443                          <rd:DefaultName>textbox17</rd:DefaultName>
444                          <Style>
445                            <BackgroundColor>WhiteSmoke</BackgroundColor>
446                            <BorderColor>
447                              <Default>LightGrey</Default>
448                            </BorderColor>
449                            <BorderStyle>
450                              <Default>Solid</Default>
451                            </BorderStyle>
452                            <BorderWidth>
453                              <Default>0.5pt</Default>
454                            </BorderWidth>
455                            <FontFamily>Tahoma</FontFamily>
456                            <FontWeight>700</FontWeight>
457                            <PaddingLeft>2pt</PaddingLeft>
458                            <PaddingRight>2pt</PaddingRight>
459                            <PaddingTop>2pt</PaddingTop>
460                            <PaddingBottom>2pt</PaddingBottom>
461                          </Style>
462                          <ZIndex>19</ZIndex>
463                          <CanGrow>true</CanGrow>
464                          <Value>
465                          </Value>
466                        </Textbox>
467                      </ReportItems>
468                    </TableCell>
469                    <TableCell>
470                      <ReportItems>
471                        <Textbox Name="textbox18">
472                          <rd:DefaultName>textbox18</rd:DefaultName>
473                          <Style>
474                            <BackgroundColor>WhiteSmoke</BackgroundColor>
475                            <BorderColor>
476                              <Default>LightGrey</Default>
477                            </BorderColor>
478                            <BorderStyle>
479                              <Default>Solid</Default>
480                            </BorderStyle>
481                            <BorderWidth>
482                              <Default>0.5pt</Default>
483                            </BorderWidth>
484                            <FontFamily>Tahoma</FontFamily>
485                            <FontWeight>700</FontWeight>
486                            <PaddingLeft>2pt</PaddingLeft>
487                            <PaddingRight>2pt</PaddingRight>
488                            <PaddingTop>2pt</PaddingTop>
489                            <PaddingBottom>2pt</PaddingBottom>
490                          </Style>
491                          <ZIndex>18</ZIndex>
492                          <CanGrow>true</CanGrow>
493                          <Value>
494                          </Value>
495                        </Textbox>
496                      </ReportItems>
497                    </TableCell>
498                  </TableCells>
499                  <Height>0.53333cm</Height>
500                </TableRow>
501              </TableRows>
502            </Header>
503          </TableGroup>
504          <TableGroup>
505            <Grouping Name="tbl_Tytul">
506              <GroupExpressions>
507                <GroupExpression>=Fields!Tytul.Value</GroupExpression>
508              </GroupExpressions>
509            </Grouping>
510            <Sorting>
511              <SortBy>
512                <SortExpression>=Fields!Agencja.Value</SortExpression>
513                <Direction>Ascending</Direction>
514              </SortBy>
515            </Sorting>
516            <Visibility>
517              <Hidden>true</Hidden>
518              <ToggleItem>Tytul</ToggleItem>
519            </Visibility>
520            <Header>
521              <TableRows>
522                <TableRow>
523                  <TableCells>
524                    <TableCell>
525                      <ReportItems>
526                        <Textbox Name="textbox19">
527                          <rd:DefaultName>textbox19</rd:DefaultName>
528                          <Style>
529                            <BorderColor>
530                              <Default>LightGrey</Default>
531                            </BorderColor>
532                            <FontFamily>Tahoma</FontFamily>
533                            <FontWeight>700</FontWeight>
534                            <PaddingLeft>2pt</PaddingLeft>
535                            <PaddingRight>2pt</PaddingRight>
536                            <PaddingTop>2pt</PaddingTop>
537                            <PaddingBottom>2pt</PaddingBottom>
538                          </Style>
539                          <ZIndex>17</ZIndex>
540                          <CanGrow>true</CanGrow>
541                          <Value>
542                          </Value>
543                        </Textbox>
544                      </ReportItems>
545                    </TableCell>
546                    <TableCell>
547                      <ReportItems>
548                        <Textbox Name="Agencja">
549                          <rd:DefaultName>Agencja</rd:DefaultName>
550                          <Style>
551                            <BackgroundColor>WhiteSmoke</BackgroundColor>
552                            <BorderColor>
553                              <Default>LightGrey</Default>
554                            </BorderColor>
555                            <BorderStyle>
556                              <Default>Solid</Default>
557                            </BorderStyle>
558                            <BorderWidth>
559                              <Default>0.5pt</Default>
560                            </BorderWidth>
561                            <FontSize>8pt</FontSize>
562                            <PaddingLeft>2pt</PaddingLeft>
563                            <PaddingRight>2pt</PaddingRight>
564                            <PaddingTop>2pt</PaddingTop>
565                            <PaddingBottom>2pt</PaddingBottom>
566                          </Style>
567                          <ZIndex>16</ZIndex>
568                          <CanGrow>true</CanGrow>
569                          <Value>=Fields!Tytul.Value</Value>
570                        </Textbox>
571                      </ReportItems>
572                    </TableCell>
573                    <TableCell>
574                      <ReportItems>
575                        <Textbox Name="textbox21">
576                          <rd:DefaultName>textbox21</rd:DefaultName>
577                          <Style>
578                            <BackgroundColor>WhiteSmoke</BackgroundColor>
579                            <BorderColor>
580                              <Default>LightGrey</Default>
581                            </BorderColor>
582                            <BorderStyle>
583                              <Default>Solid</Default>
584                            </BorderStyle>
585                            <BorderWidth>
586                              <Default>0.5pt</Default>
587                            </BorderWidth>
588                            <FontFamily>Tahoma</FontFamily>
589                            <FontWeight>700</FontWeight>
590                            <PaddingLeft>2pt</PaddingLeft>
591                            <PaddingRight>2pt</PaddingRight>
592                            <PaddingTop>2pt</PaddingTop>
593                            <PaddingBottom>2pt</PaddingBottom>
594                          </Style>
595                          <ZIndex>15</ZIndex>
596                          <CanGrow>true</CanGrow>
597                          <Value>
598                          </Value>
599                        </Textbox>
600                      </ReportItems>
601                    </TableCell>
602                    <TableCell>
603                      <ReportItems>
604                        <Textbox Name="textbox23">
605                          <rd:DefaultName>textbox23</rd:DefaultName>
606                          <Style>
607                            <BackgroundColor>WhiteSmoke</BackgroundColor>
608                            <BorderColor>
609                              <Default>LightGrey</Default>
610                            </BorderColor>
611                            <BorderStyle>
612                              <Default>Solid</Default>
613                            </BorderStyle>
614                            <BorderWidth>
615                              <Default>0.5pt</Default>
616                            </BorderWidth>
617                            <FontSize>8pt</FontSize>
618                            <FontWeight>700</FontWeight>
619                            <Format>C</Format>
620                            <PaddingLeft>2pt</PaddingLeft>
621                            <PaddingRight>2pt</PaddingRight>
622                            <PaddingTop>2pt</PaddingTop>
623                            <PaddingBottom>2pt</PaddingBottom>
624                          </Style>
625                          <ZIndex>14</ZIndex>
626                          <CanGrow>true</CanGrow>
627                          <Value>=Sum(Fields!Netto.Value)</Value>
628                        </Textbox>
629                      </ReportItems>
630                    </TableCell>
631                    <TableCell>
632                      <ReportItems>
633                        <Textbox Name="textbox24">
634                          <rd:DefaultName>textbox24</rd:DefaultName>
635                          <Style>
636                            <BackgroundColor>WhiteSmoke</BackgroundColor>
637                            <BorderColor>
638                              <Default>LightGrey</Default>
639                            </BorderColor>
640                            <BorderStyle>
641                              <Default>Solid</Default>
642                            </BorderStyle>
643                            <BorderWidth>
644                              <Default>0.5pt</Default>
645                            </BorderWidth>
646                            <FontFamily>Tahoma</FontFamily>
647                            <FontWeight>700</FontWeight>
648                            <PaddingLeft>2pt</PaddingLeft>
649                            <PaddingRight>2pt</PaddingRight>
650                            <PaddingTop>2pt</PaddingTop>
651                            <PaddingBottom>2pt</PaddingBottom>
652                          </Style>
653                          <ZIndex>13</ZIndex>
654                          <CanGrow>true</CanGrow>
655                          <Value>
656                          </Value>
657                        </Textbox>
658                      </ReportItems>
659                    </TableCell>
660                    <TableCell>
661                      <ReportItems>
662                        <Textbox Name="textbox25">
663                          <rd:DefaultName>textbox25</rd:DefaultName>
664                          <Style>
665                            <BackgroundColor>WhiteSmoke</BackgroundColor>
666                            <BorderColor>
667                              <Default>LightGrey</Default>
668                            </BorderColor>
669                            <BorderStyle>
670                              <Default>Solid</Default>
671                            </BorderStyle>
672                            <BorderWidth>
673                              <Default>0.5pt</Default>
674                            </BorderWidth>
675                            <FontFamily>Tahoma</FontFamily>
676                            <FontWeight>700</FontWeight>
677                            <PaddingLeft>2pt</PaddingLeft>
678                            <PaddingRight>2pt</PaddingRight>
679                            <PaddingTop>2pt</PaddingTop>
680                            <PaddingBottom>2pt</PaddingBottom>
681                          </Style>
682                          <ZIndex>12</ZIndex>
683                          <CanGrow>true</CanGrow>
684                          <Value>
685                          </Value>
686                        </Textbox>
687                      </ReportItems>
688                    </TableCell>
689                  </TableCells>
690                  <Height>0.53333cm</Height>
691                </TableRow>
692              </TableRows>
693            </Header>
694          </TableGroup>
695        </TableGroups>
696        <Details>
697          <TableRows>
698            <TableRow>
699              <TableCells>
700                <TableCell>
701                  <ReportItems>
702                    <Textbox Name="textbox3">
703                      <rd:DefaultName>textbox3</rd:DefaultName>
704                      <Style>
705                        <BorderColor>
706                          <Default>LightGrey</Default>
707                        </BorderColor>
708                        <FontFamily>Tahoma</FontFamily>
709                        <PaddingLeft>2pt</PaddingLeft>
710                        <PaddingRight>2pt</PaddingRight>
711                        <PaddingTop>2pt</PaddingTop>
712                        <PaddingBottom>2pt</PaddingBottom>
713                      </Style>
714                      <ZIndex>5</ZIndex>
715                      <CanGrow>true</CanGrow>
716                      <Value>
717                      </Value>
718                    </Textbox>
719                  </ReportItems>
720                </TableCell>
721                <TableCell>
722                  <ReportItems>
723                    <Textbox Name="textbox5">
724                      <rd:DefaultName>textbox5</rd:DefaultName>
725                      <Style>
726                        <BorderColor>
727                          <Default>LightGrey</Default>
728                        </BorderColor>
729                        <FontFamily>Tahoma</FontFamily>
730                        <PaddingLeft>2pt</PaddingLeft>
731                        <PaddingRight>2pt</PaddingRight>
732                        <PaddingTop>2pt</PaddingTop>
733                        <PaddingBottom>2pt</PaddingBottom>
734                      </Style>
735                      <ZIndex>4</ZIndex>
736                      <CanGrow>true</CanGrow>
737                      <Value>
738                      </Value>
739                    </Textbox>
740                  </ReportItems>
741                </TableCell>
742                <TableCell>
743                  <ReportItems>
744                    <Textbox Name="NumerFaktury">
745                      <rd:DefaultName>NumerFaktury</rd:DefaultName>
746                      <Style>
747                        <BorderColor>
748                          <Default>LightGrey</Default>
749                        </BorderColor>
750                        <BorderStyle>
751                          <Default>Solid</Default>
752                        </BorderStyle>
753                        <FontSize>8pt</FontSize>
754                        <PaddingLeft>2pt</PaddingLeft>
755                        <PaddingRight>2pt</PaddingRight>
756                        <PaddingTop>2pt</PaddingTop>
757                        <PaddingBottom>2pt</PaddingBottom>
758                      </Style>
759                      <ZIndex>3</ZIndex>
760                      <CanGrow>true</CanGrow>
761                      <Value>=Fields!NumerFaktury.Value</Value>
762                    </Textbox>
763                  </ReportItems>
764                </TableCell>
765                <TableCell>
766                  <ReportItems>
767                    <Textbox Name="Netto">
768                      <rd:DefaultName>Netto</rd:DefaultName>
769                      <Style>
770                        <BorderColor>
771                          <Default>LightGrey</Default>
772                        </BorderColor>
773                        <BorderStyle>
774                          <Default>Solid</Default>
775                        </BorderStyle>
776                        <FontSize>8pt</FontSize>
777                        <Format>C</Format>
778                        <PaddingLeft>2pt</PaddingLeft>
779                        <PaddingRight>2pt</PaddingRight>
780                        <PaddingTop>2pt</PaddingTop>
781                        <PaddingBottom>2pt</PaddingBottom>
782                      </Style>
783                      <ZIndex>2</ZIndex>
784                      <CanGrow>true</CanGrow>
785                      <Value>=Fields!Netto.Value</Value>
786                    </Textbox>
787                  </ReportItems>
788                </TableCell>
789                <TableCell>
790                  <ReportItems>
791                    <Textbox Name="Agent">
792                      <rd:DefaultName>Agent</rd:DefaultName>
793                      <Style>
794                        <BorderColor>
795                          <Default>LightGrey</Default>
796                        </BorderColor>
797                        <BorderStyle>
798                          <Default>Solid</Default>
799                        </BorderStyle>
800                        <FontSize>8pt</FontSize>
801                        <PaddingLeft>2pt</PaddingLeft>
802                        <PaddingRight>2pt</PaddingRight>
803                        <PaddingTop>2pt</PaddingTop>
804                        <PaddingBottom>2pt</PaddingBottom>
805                      </Style>
806                      <ZIndex>1</ZIndex>
807                      <CanGrow>true</CanGrow>
808                      <Value>=Fields!Agent.Value</Value>
809                    </Textbox>
810                  </ReportItems>
811                </TableCell>
812                <TableCell>
813                  <ReportItems>
814                    <Textbox Name="Data">
815                      <rd:DefaultName>Data</rd:DefaultName>
816                      <Style>
817                        <BorderColor>
818                          <Default>LightGrey</Default>
819                        </BorderColor>
820                        <BorderStyle>
821                          <Default>Solid</Default>
822                        </BorderStyle>
823                        <FontSize>8pt</FontSize>
824                        <Format>yyyy-MM-dd</Format>
825                        <PaddingLeft>2pt</PaddingLeft>
826                        <PaddingRight>2pt</PaddingRight>
827                        <PaddingTop>2pt</PaddingTop>
828                        <PaddingBottom>2pt</PaddingBottom>
829                      </Style>
830                      <CanGrow>true</CanGrow>
831                      <Value>=Fields!Data.Value</Value>
832                    </Textbox>
833                  </ReportItems>
834                </TableCell>
835              </TableCells>
836              <Height>0.53333cm</Height>
837            </TableRow>
838          </TableRows>
839          <Visibility>
840            <Hidden>true</Hidden>
841            <ToggleItem>Agencja</ToggleItem>
842          </Visibility>
843        </Details>
844        <Header>
845          <TableRows>
846            <TableRow>
847              <TableCells>
848                <TableCell>
849                  <ReportItems>
850                    <Textbox Name="textbox2">
851                      <rd:DefaultName>textbox2</rd:DefaultName>
852                      <Style>
853                        <BorderColor>
854                          <Default>LightGrey</Default>
855                        </BorderColor>
856                        <FontSize>8pt</FontSize>
857                        <FontWeight>700</FontWeight>
858                        <TextAlign>Center</TextAlign>
859                        <PaddingLeft>2pt</PaddingLeft>
860                        <PaddingRight>2pt</PaddingRight>
861                        <PaddingTop>2pt</PaddingTop>
862                        <PaddingBottom>2pt</PaddingBottom>
863                      </Style>
864                      <ZIndex>29</ZIndex>
865                      <CanGrow>true</CanGrow>
866                      <Value>Agencja</Value>
867                    </Textbox>
868                  </ReportItems>
869                </TableCell>
870                <TableCell>
871                  <ReportItems>
872                    <Textbox Name="textbox4">
873                      <rd:DefaultName>textbox4</rd:DefaultName>
874                      <Style>
875                        <BorderColor>
876                          <Default>LightGrey</Default>
877                        </BorderColor>
878                        <FontSize>8pt</FontSize>
879                        <FontWeight>700</FontWeight>
880                        <TextAlign>Center</TextAlign>
881                        <PaddingLeft>2pt</PaddingLeft>
882                        <PaddingRight>2pt</PaddingRight>
883                        <PaddingTop>2pt</PaddingTop>
884                        <PaddingBottom>2pt</PaddingBottom>
885                      </Style>
886                      <ZIndex>28</ZIndex>
887                      <CanGrow>true</CanGrow>
888                      <Value>Tytuł wydania</Value>
889                    </Textbox>
890                  </ReportItems>
891                </TableCell>
892                <TableCell>
893                  <ReportItems>
894                    <Textbox Name="textbox7">
895                      <rd:DefaultName>textbox7</rd:DefaultName>
896                      <Style>
897                        <BorderColor>
898                          <Default>LightGrey</Default>
899                        </BorderColor>
900                        <FontSize>8pt</FontSize>
901                        <FontWeight>700</FontWeight>
902                        <TextAlign>Center</TextAlign>
903                        <PaddingLeft>2pt</PaddingLeft>
904                        <PaddingRight>2pt</PaddingRight>
905                        <PaddingTop>2pt</PaddingTop>
906                        <PaddingBottom>2pt</PaddingBottom>
907                      </Style>
908                      <ZIndex>27</ZIndex>
909                      <CanGrow>true</CanGrow>
910                      <Value>Numer Faktury</Value>
911                    </Textbox>
912                  </ReportItems>
913                </TableCell>
914                <TableCell>
915                  <ReportItems>
916                    <Textbox Name="textbox9">
917                      <rd:DefaultName>textbox9</rd:DefaultName>
918                      <Style>
919                        <BorderColor>
920                          <Default>LightGrey</Default>
921                        </BorderColor>
922                        <FontSize>8pt</FontSize>
923                        <FontWeight>700</FontWeight>
924                        <TextAlign>Center</TextAlign>
925                        <PaddingLeft>2pt</PaddingLeft>
926                        <PaddingRight>2pt</PaddingRight>
927                        <PaddingTop>2pt</PaddingTop>
928                        <PaddingBottom>2pt</PaddingBottom>
929                      </Style>
930                      <ZIndex>26</ZIndex>
931                      <CanGrow>true</CanGrow>
932                      <Value>Netto</Value>
933                    </Textbox>
934                  </ReportItems>
935                </TableCell>
936                <TableCell>
937                  <ReportItems>
938                    <Textbox Name="textbox10">
939                      <rd:DefaultName>textbox10</rd:DefaultName>
940                      <Style>
941                        <BorderColor>
942                          <Default>LightGrey</Default>
943                        </BorderColor>
944                        <FontSize>8pt</FontSize>
945                        <FontWeight>700</FontWeight>
946                        <TextAlign>Center</TextAlign>
947                        <PaddingLeft>2pt</PaddingLeft>
948                        <PaddingRight>2pt</PaddingRight>
949                        <PaddingTop>2pt</PaddingTop>
950                        <PaddingBottom>2pt</PaddingBottom>
951                      </Style>
952                      <ZIndex>25</ZIndex>
953                      <CanGrow>true</CanGrow>
954                      <Value>Agent</Value>
955                    </Textbox>
956                  </ReportItems>
957                </TableCell>
958                <TableCell>
959                  <ReportItems>
960                    <Textbox Name="textbox11">
961                      <rd:DefaultName>textbox11</rd:DefaultName>
962                      <Style>
963                        <BorderColor>
964                          <Default>LightGrey</Default>
965                        </BorderColor>
966                        <FontSize>8pt</FontSize>
967                        <FontWeight>700</FontWeight>
968                        <TextAlign>Center</TextAlign>
969                        <PaddingLeft>2pt</PaddingLeft>
970                        <PaddingRight>2pt</PaddingRight>
971                        <PaddingTop>2pt</PaddingTop>
972                        <PaddingBottom>2pt</PaddingBottom>
973                      </Style>
974                      <ZIndex>24</ZIndex>
975                      <CanGrow>true</CanGrow>
976                      <Value>Data</Value>
977                    </Textbox>
978                  </ReportItems>
979                </TableCell>
980              </TableCells>
981              <Height>0.6cm</Height>
982            </TableRow>
983          </TableRows>
984          <RepeatOnNewPage>true</RepeatOnNewPage>
985        </Header>
986        <TableColumns>
987          <TableColumn>
988            <Width>4.5cm</Width>
989          </TableColumn>
990          <TableColumn>
991            <Width>3.5cm</Width>
992          </TableColumn>
993          <TableColumn>
994            <Width>3.5cm</Width>
995          </TableColumn>
996          <TableColumn>
997            <Width>3cm</Width>
998          </TableColumn>
999          <TableColumn>
1000            <Width>3.02646cm</Width>
1001          </TableColumn>
1002          <TableColumn>
1003            <Width>3cm</Width>
1004          </TableColumn>
1005        </TableColumns>
1006        <Footer>
1007          <TableRows>
1008            <TableRow>
1009              <TableCells>
1010                <TableCell>
1011                  <ReportItems>
1012                    <Textbox Name="textbox6">
1013                      <rd:DefaultName>textbox6</rd:DefaultName>
1014                      <Style>
1015                        <PaddingLeft>2pt</PaddingLeft>
1016                        <PaddingRight>2pt</PaddingRight>
1017                        <PaddingTop>2pt</PaddingTop>
1018                        <PaddingBottom>2pt</PaddingBottom>
1019                      </Style>
1020                      <ZIndex>11</ZIndex>
1021                      <CanGrow>true</CanGrow>
1022                      <Value />
1023                    </Textbox>
1024                  </ReportItems>
1025                </TableCell>
1026                <TableCell>
1027                  <ReportItems>
1028                    <Textbox Name="textbox8">
1029                      <rd:DefaultName>textbox8</rd:DefaultName>
1030                      <Style>
1031                        <PaddingLeft>2pt</PaddingLeft>
1032                        <PaddingRight>2pt</PaddingRight>
1033                        <PaddingTop>2pt</PaddingTop>
1034                        <PaddingBottom>2pt</PaddingBottom>
1035                      </Style>
1036                      <ZIndex>10</ZIndex>
1037                      <CanGrow>true</CanGrow>
1038                      <Value />
1039                    </Textbox>
1040                  </ReportItems>
1041                </TableCell>
1042                <TableCell>
1043                  <ReportItems>
1044                    <Textbox Name="textbox13">
1045                      <rd:DefaultName>textbox13</rd:DefaultName>
1046                      <Style>
1047                        <PaddingLeft>2pt</PaddingLeft>
1048                        <PaddingRight>2pt</PaddingRight>
1049                        <PaddingTop>2pt</PaddingTop>
1050                        <PaddingBottom>2pt</PaddingBottom>
1051                      </Style>
1052                      <ZIndex>9</ZIndex>
1053                      <CanGrow>true</CanGrow>
1054                      <Value />
1055                    </Textbox>
1056                  </ReportItems>
1057                </TableCell>
1058                <TableCell>
1059                  <ReportItems>
1060                    <Textbox Name="textbox15">
1061                      <rd:DefaultName>textbox15</rd:DefaultName>
1062                      <Style>
1063                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1064                        <BorderColor>
1065                          <Default>LightGrey</Default>
1066                        </BorderColor>
1067                        <BorderStyle>
1068                          <Default>Solid</Default>
1069                        </BorderStyle>
1070                        <BorderWidth>
1071                          <Default>0.5pt</Default>
1072                        </BorderWidth>
1073                        <FontSize>8pt</FontSize>
1074                        <FontWeight>700</FontWeight>
1075                        <Format>C</Format>
1076                        <PaddingLeft>2pt</PaddingLeft>
1077                        <PaddingRight>2pt</PaddingRight>
1078                        <PaddingTop>2pt</PaddingTop>
1079                        <PaddingBottom>2pt</PaddingBottom>
1080                      </Style>
1081                      <ZIndex>8</ZIndex>
1082                      <CanGrow>true</CanGrow>
1083                      <Value>=Sum(Fields!Netto.Value)</Value>
1084                    </Textbox>
1085                  </ReportItems>
1086                </TableCell>
1087                <TableCell>
1088                  <ReportItems>
1089                    <Textbox Name="textbox20">
1090                      <rd:DefaultName>textbox20</rd:DefaultName>
1091                      <Style>
1092                        <PaddingLeft>2pt</PaddingLeft>
1093                        <PaddingRight>2pt</PaddingRight>
1094                        <PaddingTop>2pt</PaddingTop>
1095                        <PaddingBottom>2pt</PaddingBottom>
1096                      </Style>
1097                      <ZIndex>7</ZIndex>
1098                      <CanGrow>true</CanGrow>
1099                      <Value />
1100                    </Textbox>
1101                  </ReportItems>
1102                </TableCell>
1103                <TableCell>
1104                  <ReportItems>
1105                    <Textbox Name="textbox22">
1106                      <rd:DefaultName>textbox22</rd:DefaultName>
1107                      <Style>
1108                        <PaddingLeft>2pt</PaddingLeft>
1109                        <PaddingRight>2pt</PaddingRight>
1110                        <PaddingTop>2pt</PaddingTop>
1111                        <PaddingBottom>2pt</PaddingBottom>
1112                      </Style>
1113                      <ZIndex>6</ZIndex>
1114                      <CanGrow>true</CanGrow>
1115                      <Value />
1116                    </Textbox>
1117                  </ReportItems>
1118                </TableCell>
1119              </TableCells>
1120              <Height>0.63492cm</Height>
1121            </TableRow>
1122          </TableRows>
1123        </Footer>
1124      </Table>
1125    </ReportItems>
1126    <Height>3.7492cm</Height>
1127  </Body>
1128  <Language>pl-PL</Language>
1129  <TopMargin>1cm</TopMargin>
1130  <PageHeight>21cm</PageHeight>
1131</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.