root/trunk/RaportySQL/BrakKontaktu.rdl @ 1006

Wersja 1000, 43.5 KB (wprowadzona przez Sylwek, 16 years temu)

Re #241

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