root/trunk/RaportySQL/RozliczenieProwizjiDyrektorow.rdl @ 747

Wersja 747, 40.2 KB (wprowadzona przez marek, 17 years temu)

nowy raport z prowizjami dyrektorow

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