root/trunk/RaportySQL/RozliczenieProwizjiDyrektorow.rdl @ 976

Wersja 809, 40.9 KB (wprowadzona przez marek, 17 years temu)

re #182 - poprawiono raport prowizje dla dyrkow

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
3  <DataSources>
4    <DataSource Name="BAZA_REKLAM">
5      <rd:DataSourceID>0d388776-a05b-43ef-93c5-227770426a94</rd:DataSourceID>
6      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
7    </DataSource>
8  </DataSources>
9  <InteractiveHeight>21cm</InteractiveHeight>
10  <ReportParameters>
11    <ReportParameter Name="year">
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="month">
28      <DataType>String</DataType>
29      <DefaultValue>
30        <Values>
31          <Value>=Month(Today)-1</Value>
32        </Values>
33      </DefaultValue>
34      <Prompt>Miesiąc:</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    </ReportParameter>
76  </ReportParameters>
77  <rd:DrawGrid>true</rd:DrawGrid>
78  <InteractiveWidth>29.7cm</InteractiveWidth>
79  <rd:GridSpacing>0.25cm</rd:GridSpacing>
80  <rd:SnapToGrid>true</rd:SnapToGrid>
81  <RightMargin>1cm</RightMargin>
82  <LeftMargin>1cm</LeftMargin>
83  <PageHeader>
84    <PrintOnFirstPage>true</PrintOnFirstPage>
85    <ReportItems>
86      <Textbox Name="textbox16">
87        <Width>10.75cm</Width>
88        <Style>
89          <TextAlign>Left</TextAlign>
90          <PaddingLeft>2pt</PaddingLeft>
91          <PaddingRight>2pt</PaddingRight>
92          <PaddingTop>2pt</PaddingTop>
93          <PaddingBottom>2pt</PaddingBottom>
94        </Style>
95        <CanGrow>true</CanGrow>
96        <Value>="Data wydruku: " + Now</Value>
97      </Textbox>
98    </ReportItems>
99    <Height>0.63492cm</Height>
100    <PrintOnLastPage>true</PrintOnLastPage>
101  </PageHeader>
102  <BottomMargin>1cm</BottomMargin>
103  <rd:ReportID>1a908918-1fb3-45fd-8bdd-e3ccd2cf8500</rd:ReportID>
104  <PageWidth>29.7cm</PageWidth>
105  <DataSets>
106    <DataSet Name="Prowizje">
107      <Fields>
108        <Field Name="BiuroId">
109          <DataField>BiuroId</DataField>
110          <rd:TypeName>System.Int32</rd:TypeName>
111        </Field>
112        <Field Name="Biuro">
113          <DataField>Biuro</DataField>
114          <rd:TypeName>System.String</rd:TypeName>
115        </Field>
116        <Field Name="Dyrektor">
117          <DataField>Dyrektor</DataField>
118          <rd:TypeName>System.String</rd:TypeName>
119        </Field>
120        <Field Name="PodstawaDyrektora">
121          <DataField>PodstawaDyrektora</DataField>
122          <rd:TypeName>System.Decimal</rd:TypeName>
123        </Field>
124        <Field Name="ProcentWykonaniaPlanuBiura">
125          <DataField>ProcentWykonaniaPlanuBiura</DataField>
126          <rd:TypeName>System.Decimal</rd:TypeName>
127        </Field>
128        <Field Name="ProcentWykonaniaPlanuFirmy">
129          <DataField>ProcentWykonaniaPlanuFirmy</DataField>
130          <rd:TypeName>System.Decimal</rd:TypeName>
131        </Field>
132        <Field Name="ProcentProwizjiDyrektora">
133          <DataField>ProcentProwizjiDyrektora</DataField>
134          <rd:TypeName>System.Decimal</rd:TypeName>
135        </Field>
136        <Field Name="WyplywyBiura">
137          <DataField>WyplywyBiura</DataField>
138          <rd:TypeName>System.Decimal</rd:TypeName>
139        </Field>
140      </Fields>
141      <Query>
142        <DataSourceName>BAZA_REKLAM</DataSourceName>
143        <CommandText>DECLARE @procentWykonaniaPlanuFirmy DECIMAL(9,4)
144
145SELECT @procentWykonaniaPlanuFirmy = dbo.getProcentWykonaniaPlanuFirmy(@year, @month)
146
147
148DECLARE @WplywyNettoBiura TABLE
149(
150 Id INT,
151 Wplywy DECIMAL (18,4)
152)
153
154INSERT INTO @WplywyNettoBiura
155SELECT A.Id_Agencji, CAST(SUM(P.Netto) AS DECIMAL(18,2)) AS WplywyNetto
156FROM         dbo.Prowizje P
157INNER JOIN Agencje A ON A.Symbol=P.Agencja
158WHERE     
159rok = @year
160AND ms = @month
161GROUP BY A.Id_Agencji
162
163
164SELECT
165A.Id_Agencji AS BiuroId,
166A.Symbol AS Biuro,
167U.Imie + ' ' +  U.Nazwisko AS Dyrektor,
168H.ProwizjaDyrektora AS PodstawaDyrektora,
169dbo.getProcentWykonaniaPlanu(A.Id_Agencji, @year, @month) AS ProcentWykonaniaPlanuBiura,
170@procentWykonaniaPlanuFirmy AS ProcentWykonaniaPlanuFirmy,
171dbo.getProcentProwizjiDyrektora(H.ProwizjaDyrektora, dbo.getProcentWykonaniaPlanu(A.Id_Agencji, @year, @month), @procentWykonaniaPlanuFirmy) AS ProcentProwizjiDyrektora,
172W.Wplywy AS WyplywyBiura
173FROM dbo.UserAgency AS UA
174INNER JOIN dbo.Uzytkownicy AS U ON U.Id = UA.UserId
175INNER JOIN dbo.Agencje AS A ON A.Id_Agencji = UA.AgencyId
176INNER JOIN dbo.Agenci AS H ON H.Symbol = U.Login
177LEFT OUTER JOIN @WplywyNettoBiura W ON W.Id = A.Id_Agencji
178WHERE U.Nazwisko IN ('Pepłoński', 'Zielonka', 'Klimczak')</CommandText>
179        <QueryParameters>
180          <QueryParameter Name="@year">
181            <Value>=Parameters!year.Value</Value>
182          </QueryParameter>
183          <QueryParameter Name="@month">
184            <Value>=Parameters!month.Value</Value>
185          </QueryParameter>
186        </QueryParameters>
187        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
188      </Query>
189    </DataSet>
190    <DataSet Name="ListaLat">
191      <Fields>
192        <Field Name="rok">
193          <DataField>rok</DataField>
194          <rd:TypeName>System.Int32</rd:TypeName>
195        </Field>
196      </Fields>
197      <Query>
198        <DataSourceName>BAZA_REKLAM</DataSourceName>
199        <CommandText>select distinct year(DATA_W) as rok from dbo.NR where DATA_W is not null and year( DATA_W) &gt;2008 order by year(DATA_W)desc</CommandText>
200        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
201      </Query>
202    </DataSet>
203  </DataSets>
204  <Code>Public Function GetMonths(P as Parameter) as String
205  Dim i As Integer
206  Dim s As String
207  s = p.value(0)               
208  For i = 1 to Ubound(P.Value)
209    s = s &amp; "," &amp; p.Value(i) 
210  Next i
211  Return s
212End Function</Code>
213  <Width>22.02645cm</Width>
214  <Body>
215    <ColumnSpacing>1cm</ColumnSpacing>
216    <ReportItems>
217      <Textbox Name="textbox6">
218        <rd:DefaultName>textbox6</rd:DefaultName>
219        <Top>0.25cm</Top>
220        <Width>17cm</Width>
221        <Style>
222          <FontSize>14pt</FontSize>
223          <FontWeight>700</FontWeight>
224          <TextAlign>Center</TextAlign>
225          <PaddingLeft>2pt</PaddingLeft>
226          <PaddingRight>2pt</PaddingRight>
227          <PaddingTop>2pt</PaddingTop>
228          <PaddingBottom>2pt</PaddingBottom>
229        </Style>
230        <ZIndex>1</ZIndex>
231        <CanGrow>true</CanGrow>
232        <Left>1cm</Left>
233        <Height>0.75cm</Height>
234        <Value>="Rozliczenie prowizji dyrektorów za rok: " &amp; Parameters!year.Value &amp; "  miesiąc: " &amp; CStr(Parameters!month.Value)</Value>
235      </Textbox>
236      <Table Name="table1">
237        <DataSetName>Prowizje</DataSetName>
238        <Top>1.75cm</Top>
239        <Details>
240          <TableRows>
241            <TableRow>
242              <TableCells>
243                <TableCell>
244                  <ReportItems>
245                    <Textbox Name="Symbol">
246                      <rd:DefaultName>Symbol</rd:DefaultName>
247                      <Style>
248                        <BorderColor>
249                          <Default>LightGrey</Default>
250                        </BorderColor>
251                        <BorderStyle>
252                          <Default>Solid</Default>
253                        </BorderStyle>
254                        <BorderWidth>
255                          <Default>0.5pt</Default>
256                        </BorderWidth>
257                        <FontSize>9pt</FontSize>
258                        <TextAlign>Center</TextAlign>
259                        <VerticalAlign>Middle</VerticalAlign>
260                        <PaddingLeft>2pt</PaddingLeft>
261                        <PaddingRight>2pt</PaddingRight>
262                        <PaddingTop>2pt</PaddingTop>
263                        <PaddingBottom>2pt</PaddingBottom>
264                      </Style>
265                      <ZIndex>7</ZIndex>
266                      <CanGrow>true</CanGrow>
267                      <Value>=Fields!Biuro.Value</Value>
268                    </Textbox>
269                  </ReportItems>
270                </TableCell>
271                <TableCell>
272                  <ReportItems>
273                    <Textbox Name="SYMBOL_AKWIZYTORA">
274                      <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
275                      <Style>
276                        <BorderColor>
277                          <Default>LightGrey</Default>
278                        </BorderColor>
279                        <BorderStyle>
280                          <Default>Solid</Default>
281                        </BorderStyle>
282                        <BorderWidth>
283                          <Default>0.5pt</Default>
284                        </BorderWidth>
285                        <FontSize>9pt</FontSize>
286                        <TextAlign>Center</TextAlign>
287                        <VerticalAlign>Middle</VerticalAlign>
288                        <PaddingLeft>2pt</PaddingLeft>
289                        <PaddingRight>2pt</PaddingRight>
290                        <PaddingTop>2pt</PaddingTop>
291                        <PaddingBottom>2pt</PaddingBottom>
292                      </Style>
293                      <ZIndex>6</ZIndex>
294                      <CanGrow>true</CanGrow>
295                      <Value>=Fields!Dyrektor.Value</Value>
296                    </Textbox>
297                  </ReportItems>
298                </TableCell>
299                <TableCell>
300                  <ReportItems>
301                    <Textbox Name="IloscFaktur">
302                      <Style>
303                        <BorderColor>
304                          <Default>LightGrey</Default>
305                        </BorderColor>
306                        <BorderStyle>
307                          <Default>Solid</Default>
308                        </BorderStyle>
309                        <BorderWidth>
310                          <Default>0.5pt</Default>
311                        </BorderWidth>
312                        <FontSize>9pt</FontSize>
313                        <Format>P</Format>
314                        <TextAlign>Center</TextAlign>
315                        <VerticalAlign>Middle</VerticalAlign>
316                        <PaddingLeft>2pt</PaddingLeft>
317                        <PaddingRight>2pt</PaddingRight>
318                        <PaddingTop>2pt</PaddingTop>
319                        <PaddingBottom>2pt</PaddingBottom>
320                      </Style>
321                      <ZIndex>5</ZIndex>
322                      <CanGrow>true</CanGrow>
323                      <Value>=Fields!PodstawaDyrektora.Value</Value>
324                    </Textbox>
325                  </ReportItems>
326                </TableCell>
327                <TableCell>
328                  <ReportItems>
329                    <Textbox Name="Imię">
330                      <rd:DefaultName>Imię</rd:DefaultName>
331                      <Style>
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>9pt</FontSize>
342                        <Format>P</Format>
343                        <TextAlign>Center</TextAlign>
344                        <VerticalAlign>Middle</VerticalAlign>
345                        <PaddingLeft>2pt</PaddingLeft>
346                        <PaddingRight>2pt</PaddingRight>
347                        <PaddingTop>2pt</PaddingTop>
348                        <PaddingBottom>2pt</PaddingBottom>
349                      </Style>
350                      <ZIndex>4</ZIndex>
351                      <CanGrow>true</CanGrow>
352                      <Value>=Fields!ProcentWykonaniaPlanuBiura.Value</Value>
353                    </Textbox>
354                  </ReportItems>
355                </TableCell>
356                <TableCell>
357                  <ReportItems>
358                    <Textbox Name="Nazwisko">
359                      <rd:DefaultName>Nazwisko</rd:DefaultName>
360                      <Style>
361                        <BorderColor>
362                          <Default>LightGrey</Default>
363                        </BorderColor>
364                        <BorderStyle>
365                          <Default>Solid</Default>
366                        </BorderStyle>
367                        <BorderWidth>
368                          <Default>0.5pt</Default>
369                        </BorderWidth>
370                        <FontSize>9pt</FontSize>
371                        <Format>P</Format>
372                        <TextAlign>Center</TextAlign>
373                        <VerticalAlign>Middle</VerticalAlign>
374                        <PaddingLeft>2pt</PaddingLeft>
375                        <PaddingRight>2pt</PaddingRight>
376                        <PaddingTop>2pt</PaddingTop>
377                        <PaddingBottom>2pt</PaddingBottom>
378                      </Style>
379                      <ZIndex>3</ZIndex>
380                      <CanGrow>true</CanGrow>
381                      <Value>=Fields!ProcentWykonaniaPlanuFirmy.Value</Value>
382                    </Textbox>
383                  </ReportItems>
384                </TableCell>
385                <TableCell>
386                  <ReportItems>
387                    <Textbox Name="nn">
388                      <rd:DefaultName>nn</rd:DefaultName>
389                      <Style>
390                        <BorderColor>
391                          <Default>LightGrey</Default>
392                        </BorderColor>
393                        <BorderStyle>
394                          <Default>Solid</Default>
395                        </BorderStyle>
396                        <BorderWidth>
397                          <Default>0.5pt</Default>
398                        </BorderWidth>
399                        <FontSize>9pt</FontSize>
400                        <Format>P</Format>
401                        <TextAlign>Center</TextAlign>
402                        <VerticalAlign>Middle</VerticalAlign>
403                        <PaddingLeft>2pt</PaddingLeft>
404                        <PaddingRight>2pt</PaddingRight>
405                        <PaddingTop>2pt</PaddingTop>
406                        <PaddingBottom>2pt</PaddingBottom>
407                        <Language>pl</Language>
408                      </Style>
409                      <ZIndex>2</ZIndex>
410                      <CanGrow>true</CanGrow>
411                      <Value>=Fields!ProcentProwizjiDyrektora.Value</Value>
412                    </Textbox>
413                  </ReportItems>
414                </TableCell>
415                <TableCell>
416                  <ReportItems>
417                    <Textbox Name="pp">
418                      <rd:DefaultName>pp</rd:DefaultName>
419                      <Style>
420                        <BorderColor>
421                          <Default>LightGrey</Default>
422                        </BorderColor>
423                        <BorderStyle>
424                          <Default>Solid</Default>
425                        </BorderStyle>
426                        <BorderWidth>
427                          <Default>0.5pt</Default>
428                        </BorderWidth>
429                        <FontSize>9pt</FontSize>
430                        <Format>C</Format>
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                        <Language>pl</Language>
438                      </Style>
439                      <ZIndex>1</ZIndex>
440                      <CanGrow>true</CanGrow>
441                      <Value>=Fields!WyplywyBiura.Value</Value>
442                    </Textbox>
443                  </ReportItems>
444                </TableCell>
445                <TableCell>
446                  <ReportItems>
447                    <Textbox Name="textbox10">
448                      <rd:DefaultName>textbox10</rd:DefaultName>
449                      <Style>
450                        <BorderColor>
451                          <Default>LightGrey</Default>
452                        </BorderColor>
453                        <BorderStyle>
454                          <Default>Solid</Default>
455                        </BorderStyle>
456                        <BorderWidth>
457                          <Default>0.5pt</Default>
458                        </BorderWidth>
459                        <FontSize>9pt</FontSize>
460                        <Format>C</Format>
461                        <TextAlign>Center</TextAlign>
462                        <VerticalAlign>Middle</VerticalAlign>
463                        <PaddingLeft>2pt</PaddingLeft>
464                        <PaddingRight>2pt</PaddingRight>
465                        <PaddingTop>2pt</PaddingTop>
466                        <PaddingBottom>2pt</PaddingBottom>
467                      </Style>
468                      <CanGrow>true</CanGrow>
469                      <Value>=Fields!ProcentProwizjiDyrektora.Value*Fields!WyplywyBiura.Value</Value>
470                    </Textbox>
471                  </ReportItems>
472                </TableCell>
473              </TableCells>
474              <Height>0.63492cm</Height>
475            </TableRow>
476          </TableRows>
477        </Details>
478        <Header>
479          <TableRows>
480            <TableRow>
481              <TableCells>
482                <TableCell>
483                  <ReportItems>
484                    <Textbox Name="textbox1">
485                      <rd:DefaultName>textbox1</rd:DefaultName>
486                      <Style>
487                        <BackgroundColor>WhiteSmoke</BackgroundColor>
488                        <BorderColor>
489                          <Default>LightGrey</Default>
490                        </BorderColor>
491                        <BorderStyle>
492                          <Default>Solid</Default>
493                        </BorderStyle>
494                        <BorderWidth>
495                          <Default>0.5pt</Default>
496                        </BorderWidth>
497                        <FontSize>9pt</FontSize>
498                        <FontWeight>700</FontWeight>
499                        <TextAlign>Center</TextAlign>
500                        <VerticalAlign>Middle</VerticalAlign>
501                        <PaddingLeft>2pt</PaddingLeft>
502                        <PaddingRight>2pt</PaddingRight>
503                        <PaddingTop>2pt</PaddingTop>
504                        <PaddingBottom>2pt</PaddingBottom>
505                      </Style>
506                      <ZIndex>23</ZIndex>
507                      <CanGrow>true</CanGrow>
508                      <Value>Biuro</Value>
509                    </Textbox>
510                  </ReportItems>
511                </TableCell>
512                <TableCell>
513                  <ReportItems>
514                    <Textbox Name="textbox2">
515                      <rd:DefaultName>textbox2</rd:DefaultName>
516                      <Style>
517                        <BackgroundColor>WhiteSmoke</BackgroundColor>
518                        <BorderColor>
519                          <Default>LightGrey</Default>
520                        </BorderColor>
521                        <BorderStyle>
522                          <Default>Solid</Default>
523                        </BorderStyle>
524                        <BorderWidth>
525                          <Default>0.5pt</Default>
526                        </BorderWidth>
527                        <FontSize>9pt</FontSize>
528                        <FontWeight>700</FontWeight>
529                        <TextAlign>Center</TextAlign>
530                        <VerticalAlign>Middle</VerticalAlign>
531                        <PaddingLeft>2pt</PaddingLeft>
532                        <PaddingRight>2pt</PaddingRight>
533                        <PaddingTop>2pt</PaddingTop>
534                        <PaddingBottom>2pt</PaddingBottom>
535                      </Style>
536                      <ZIndex>22</ZIndex>
537                      <CanGrow>true</CanGrow>
538                      <Value>Dyrektor</Value>
539                    </Textbox>
540                  </ReportItems>
541                </TableCell>
542                <TableCell>
543                  <ReportItems>
544                    <Textbox Name="textbox3">
545                      <rd:DefaultName>textbox3</rd:DefaultName>
546                      <Style>
547                        <BackgroundColor>WhiteSmoke</BackgroundColor>
548                        <BorderColor>
549                          <Default>LightGrey</Default>
550                        </BorderColor>
551                        <BorderStyle>
552                          <Default>Solid</Default>
553                        </BorderStyle>
554                        <BorderWidth>
555                          <Default>0.5pt</Default>
556                        </BorderWidth>
557                        <FontSize>9pt</FontSize>
558                        <FontWeight>700</FontWeight>
559                        <TextAlign>Center</TextAlign>
560                        <VerticalAlign>Middle</VerticalAlign>
561                        <PaddingLeft>2pt</PaddingLeft>
562                        <PaddingRight>2pt</PaddingRight>
563                        <PaddingTop>2pt</PaddingTop>
564                        <PaddingBottom>2pt</PaddingBottom>
565                      </Style>
566                      <ZIndex>21</ZIndex>
567                      <CanGrow>true</CanGrow>
568                      <Value>Podstawa dyrekotra</Value>
569                    </Textbox>
570                  </ReportItems>
571                </TableCell>
572                <TableCell>
573                  <ReportItems>
574                    <Textbox Name="textbox18">
575                      <rd:DefaultName>textbox18</rd:DefaultName>
576                      <Style>
577                        <BackgroundColor>WhiteSmoke</BackgroundColor>
578                        <BorderColor>
579                          <Default>LightGrey</Default>
580                        </BorderColor>
581                        <BorderStyle>
582                          <Default>Solid</Default>
583                        </BorderStyle>
584                        <BorderWidth>
585                          <Default>0.5pt</Default>
586                        </BorderWidth>
587                        <FontSize>9pt</FontSize>
588                        <FontWeight>700</FontWeight>
589                        <TextAlign>Center</TextAlign>
590                        <VerticalAlign>Middle</VerticalAlign>
591                        <PaddingLeft>2pt</PaddingLeft>
592                        <PaddingRight>2pt</PaddingRight>
593                        <PaddingTop>2pt</PaddingTop>
594                        <PaddingBottom>2pt</PaddingBottom>
595                      </Style>
596                      <ZIndex>20</ZIndex>
597                      <CanGrow>true</CanGrow>
598                      <Value>Wykonany plan biura</Value>
599                    </Textbox>
600                  </ReportItems>
601                </TableCell>
602                <TableCell>
603                  <ReportItems>
604                    <Textbox Name="textbox15">
605                      <rd:DefaultName>textbox15</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>9pt</FontSize>
618                        <FontWeight>700</FontWeight>
619                        <TextAlign>Center</TextAlign>
620                        <VerticalAlign>Middle</VerticalAlign>
621                        <PaddingLeft>2pt</PaddingLeft>
622                        <PaddingRight>2pt</PaddingRight>
623                        <PaddingTop>2pt</PaddingTop>
624                        <PaddingBottom>2pt</PaddingBottom>
625                      </Style>
626                      <ZIndex>19</ZIndex>
627                      <CanGrow>true</CanGrow>
628                      <Value>Wykonany plan firmy</Value>
629                    </Textbox>
630                  </ReportItems>
631                </TableCell>
632                <TableCell>
633                  <ReportItems>
634                    <Textbox Name="textbox12">
635                      <rd:DefaultName>textbox12</rd:DefaultName>
636                      <Style>
637                        <BackgroundColor>WhiteSmoke</BackgroundColor>
638                        <BorderColor>
639                          <Default>LightGrey</Default>
640                        </BorderColor>
641                        <BorderStyle>
642                          <Default>Solid</Default>
643                        </BorderStyle>
644                        <BorderWidth>
645                          <Default>0.5pt</Default>
646                        </BorderWidth>
647                        <FontSize>9pt</FontSize>
648                        <FontWeight>700</FontWeight>
649                        <TextAlign>Center</TextAlign>
650                        <VerticalAlign>Middle</VerticalAlign>
651                        <PaddingLeft>2pt</PaddingLeft>
652                        <PaddingRight>2pt</PaddingRight>
653                        <PaddingTop>2pt</PaddingTop>
654                        <PaddingBottom>2pt</PaddingBottom>
655                      </Style>
656                      <ZIndex>18</ZIndex>
657                      <CanGrow>true</CanGrow>
658                      <Value>Procent prowizji dyrekotra</Value>
659                    </Textbox>
660                  </ReportItems>
661                </TableCell>
662                <TableCell>
663                  <ReportItems>
664                    <Textbox Name="textbox19">
665                      <rd:DefaultName>textbox19</rd:DefaultName>
666                      <Style>
667                        <BackgroundColor>WhiteSmoke</BackgroundColor>
668                        <BorderColor>
669                          <Default>LightGrey</Default>
670                        </BorderColor>
671                        <BorderStyle>
672                          <Default>Solid</Default>
673                        </BorderStyle>
674                        <BorderWidth>
675                          <Default>0.5pt</Default>
676                        </BorderWidth>
677                        <FontSize>9pt</FontSize>
678                        <FontWeight>700</FontWeight>
679                        <TextAlign>Center</TextAlign>
680                        <VerticalAlign>Middle</VerticalAlign>
681                        <PaddingLeft>2pt</PaddingLeft>
682                        <PaddingRight>2pt</PaddingRight>
683                        <PaddingTop>2pt</PaddingTop>
684                        <PaddingBottom>2pt</PaddingBottom>
685                      </Style>
686                      <ZIndex>17</ZIndex>
687                      <CanGrow>true</CanGrow>
688                      <Value>Wpływy biura</Value>
689                    </Textbox>
690                  </ReportItems>
691                </TableCell>
692                <TableCell>
693                  <ReportItems>
694                    <Textbox Name="textbox5">
695                      <rd:DefaultName>textbox5</rd:DefaultName>
696                      <Style>
697                        <BackgroundColor>WhiteSmoke</BackgroundColor>
698                        <BorderColor>
699                          <Default>LightGrey</Default>
700                        </BorderColor>
701                        <BorderStyle>
702                          <Default>Solid</Default>
703                        </BorderStyle>
704                        <BorderWidth>
705                          <Default>0.5pt</Default>
706                        </BorderWidth>
707                        <FontSize>9pt</FontSize>
708                        <FontWeight>700</FontWeight>
709                        <TextAlign>Center</TextAlign>
710                        <VerticalAlign>Middle</VerticalAlign>
711                        <PaddingLeft>2pt</PaddingLeft>
712                        <PaddingRight>2pt</PaddingRight>
713                        <PaddingTop>2pt</PaddingTop>
714                        <PaddingBottom>2pt</PaddingBottom>
715                      </Style>
716                      <ZIndex>16</ZIndex>
717                      <CanGrow>true</CanGrow>
718                      <Value>Prowizja</Value>
719                    </Textbox>
720                  </ReportItems>
721                </TableCell>
722              </TableCells>
723              <Height>1cm</Height>
724            </TableRow>
725          </TableRows>
726        </Header>
727        <TableColumns>
728          <TableColumn>
729            <Width>3cm</Width>
730          </TableColumn>
731          <TableColumn>
732            <Width>3.75cm</Width>
733          </TableColumn>
734          <TableColumn>
735            <Width>2cm</Width>
736          </TableColumn>
737          <TableColumn>
738            <Width>2.5cm</Width>
739          </TableColumn>
740          <TableColumn>
741            <Width>2.77645cm</Width>
742          </TableColumn>
743          <TableColumn>
744            <Width>3cm</Width>
745          </TableColumn>
746          <TableColumn>
747            <Width>2.5cm</Width>
748          </TableColumn>
749          <TableColumn>
750            <Width>2.5cm</Width>
751          </TableColumn>
752        </TableColumns>
753        <Footer>
754          <TableRows>
755            <TableRow>
756              <TableCells>
757                <TableCell>
758                  <ReportItems>
759                    <Textbox Name="textbox7">
760                      <rd:DefaultName>textbox7</rd:DefaultName>
761                      <Style>
762                        <BorderColor>
763                          <Default>LightGrey</Default>
764                        </BorderColor>
765                        <BorderStyle>
766                          <Default>Solid</Default>
767                        </BorderStyle>
768                        <BorderWidth>
769                          <Default>0.5pt</Default>
770                        </BorderWidth>
771                        <FontSize>9pt</FontSize>
772                        <TextAlign>Center</TextAlign>
773                        <VerticalAlign>Middle</VerticalAlign>
774                        <PaddingLeft>2pt</PaddingLeft>
775                        <PaddingRight>2pt</PaddingRight>
776                        <PaddingTop>2pt</PaddingTop>
777                        <PaddingBottom>2pt</PaddingBottom>
778                      </Style>
779                      <ZIndex>15</ZIndex>
780                      <CanGrow>true</CanGrow>
781                      <Value />
782                    </Textbox>
783                  </ReportItems>
784                </TableCell>
785                <TableCell>
786                  <ReportItems>
787                    <Textbox Name="textbox8">
788                      <rd:DefaultName>textbox8</rd:DefaultName>
789                      <Style>
790                        <BorderColor>
791                          <Default>LightGrey</Default>
792                        </BorderColor>
793                        <BorderStyle>
794                          <Default>Solid</Default>
795                        </BorderStyle>
796                        <BorderWidth>
797                          <Default>0.5pt</Default>
798                        </BorderWidth>
799                        <FontSize>9pt</FontSize>
800                        <TextAlign>Center</TextAlign>
801                        <VerticalAlign>Middle</VerticalAlign>
802                        <PaddingLeft>2pt</PaddingLeft>
803                        <PaddingRight>2pt</PaddingRight>
804                        <PaddingTop>2pt</PaddingTop>
805                        <PaddingBottom>2pt</PaddingBottom>
806                      </Style>
807                      <ZIndex>14</ZIndex>
808                      <CanGrow>true</CanGrow>
809                      <Value />
810                    </Textbox>
811                  </ReportItems>
812                </TableCell>
813                <TableCell>
814                  <ReportItems>
815                    <Textbox Name="textbox9">
816                      <rd:DefaultName>textbox9</rd:DefaultName>
817                      <Style>
818                        <BorderColor>
819                          <Default>LightGrey</Default>
820                        </BorderColor>
821                        <BorderStyle>
822                          <Default>Solid</Default>
823                        </BorderStyle>
824                        <BorderWidth>
825                          <Default>0.5pt</Default>
826                        </BorderWidth>
827                        <FontSize>9pt</FontSize>
828                        <TextAlign>Center</TextAlign>
829                        <VerticalAlign>Middle</VerticalAlign>
830                        <PaddingLeft>2pt</PaddingLeft>
831                        <PaddingRight>2pt</PaddingRight>
832                        <PaddingTop>2pt</PaddingTop>
833                        <PaddingBottom>2pt</PaddingBottom>
834                      </Style>
835                      <ZIndex>13</ZIndex>
836                      <CanGrow>true</CanGrow>
837                      <Value />
838                    </Textbox>
839                  </ReportItems>
840                </TableCell>
841                <TableCell>
842                  <ReportItems>
843                    <Textbox Name="textbox20">
844                      <rd:DefaultName>textbox20</rd:DefaultName>
845                      <Style>
846                        <BorderColor>
847                          <Default>LightGrey</Default>
848                        </BorderColor>
849                        <BorderStyle>
850                          <Default>Solid</Default>
851                        </BorderStyle>
852                        <BorderWidth>
853                          <Default>0.5pt</Default>
854                        </BorderWidth>
855                        <FontSize>9pt</FontSize>
856                        <TextAlign>Center</TextAlign>
857                        <VerticalAlign>Middle</VerticalAlign>
858                        <PaddingLeft>2pt</PaddingLeft>
859                        <PaddingRight>2pt</PaddingRight>
860                        <PaddingTop>2pt</PaddingTop>
861                        <PaddingBottom>2pt</PaddingBottom>
862                      </Style>
863                      <ZIndex>12</ZIndex>
864                      <CanGrow>true</CanGrow>
865                      <Value />
866                    </Textbox>
867                  </ReportItems>
868                </TableCell>
869                <TableCell>
870                  <ReportItems>
871                    <Textbox Name="textbox14">
872                      <rd:DefaultName>textbox14</rd:DefaultName>
873                      <Style>
874                        <BorderColor>
875                          <Default>LightGrey</Default>
876                        </BorderColor>
877                        <BorderStyle>
878                          <Default>Solid</Default>
879                        </BorderStyle>
880                        <BorderWidth>
881                          <Default>0.5pt</Default>
882                        </BorderWidth>
883                        <PaddingLeft>2pt</PaddingLeft>
884                        <PaddingRight>2pt</PaddingRight>
885                        <PaddingTop>2pt</PaddingTop>
886                        <PaddingBottom>2pt</PaddingBottom>
887                      </Style>
888                      <ZIndex>11</ZIndex>
889                      <CanGrow>true</CanGrow>
890                      <Value />
891                    </Textbox>
892                  </ReportItems>
893                </TableCell>
894                <TableCell>
895                  <ReportItems>
896                    <Textbox Name="textbox13">
897                      <Style>
898                        <BackgroundColor>WhiteSmoke</BackgroundColor>
899                        <BorderColor>
900                          <Default>LightGrey</Default>
901                        </BorderColor>
902                        <BorderStyle>
903                          <Default>Solid</Default>
904                        </BorderStyle>
905                        <BorderWidth>
906                          <Default>0.5pt</Default>
907                        </BorderWidth>
908                        <FontSize>9pt</FontSize>
909                        <FontWeight>700</FontWeight>
910                        <TextAlign>Center</TextAlign>
911                        <VerticalAlign>Middle</VerticalAlign>
912                        <PaddingLeft>2pt</PaddingLeft>
913                        <PaddingRight>2pt</PaddingRight>
914                        <PaddingTop>2pt</PaddingTop>
915                        <PaddingBottom>2pt</PaddingBottom>
916                      </Style>
917                      <ZIndex>10</ZIndex>
918                      <CanGrow>true</CanGrow>
919                      <Value>RAZEM:</Value>
920                    </Textbox>
921                  </ReportItems>
922                </TableCell>
923                <TableCell>
924                  <ReportItems>
925                    <Textbox Name="textbox4">
926                      <Style>
927                        <BackgroundColor>WhiteSmoke</BackgroundColor>
928                        <BorderColor>
929                          <Default>LightGrey</Default>
930                        </BorderColor>
931                        <BorderStyle>
932                          <Default>Solid</Default>
933                        </BorderStyle>
934                        <BorderWidth>
935                          <Default>0.5pt</Default>
936                        </BorderWidth>
937                        <FontSize>9pt</FontSize>
938                        <FontWeight>700</FontWeight>
939                        <Format>C</Format>
940                        <TextAlign>Center</TextAlign>
941                        <VerticalAlign>Middle</VerticalAlign>
942                        <PaddingLeft>2pt</PaddingLeft>
943                        <PaddingRight>2pt</PaddingRight>
944                        <PaddingTop>2pt</PaddingTop>
945                        <PaddingBottom>2pt</PaddingBottom>
946                      </Style>
947                      <ZIndex>9</ZIndex>
948                      <CanGrow>true</CanGrow>
949                      <Value>=Sum(Fields!WyplywyBiura.Value)</Value>
950                    </Textbox>
951                  </ReportItems>
952                </TableCell>
953                <TableCell>
954                  <ReportItems>
955                    <Textbox Name="textbox11">
956                      <rd:DefaultName>textbox11</rd:DefaultName>
957                      <Style>
958                        <BackgroundColor>WhiteSmoke</BackgroundColor>
959                        <BorderColor>
960                          <Default>LightGrey</Default>
961                        </BorderColor>
962                        <BorderStyle>
963                          <Default>Solid</Default>
964                        </BorderStyle>
965                        <BorderWidth>
966                          <Default>0.5pt</Default>
967                        </BorderWidth>
968                        <FontSize>9pt</FontSize>
969                        <FontWeight>700</FontWeight>
970                        <Format>C</Format>
971                        <TextAlign>Center</TextAlign>
972                        <VerticalAlign>Middle</VerticalAlign>
973                        <PaddingLeft>2pt</PaddingLeft>
974                        <PaddingRight>2pt</PaddingRight>
975                        <PaddingTop>2pt</PaddingTop>
976                        <PaddingBottom>2pt</PaddingBottom>
977                      </Style>
978                      <ZIndex>8</ZIndex>
979                      <CanGrow>true</CanGrow>
980                      <Value>=Sum(Fields!ProcentProwizjiDyrektora.Value*Fields!WyplywyBiura.Value)</Value>
981                    </Textbox>
982                  </ReportItems>
983                </TableCell>
984              </TableCells>
985              <Height>0.63492cm</Height>
986            </TableRow>
987          </TableRows>
988        </Footer>
989      </Table>
990    </ReportItems>
991    <Height>4.01984cm</Height>
992  </Body>
993  <Language>pl-PL</Language>
994  <TopMargin>1cm</TopMargin>
995  <PageHeight>21cm</PageHeight>
996</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.