root/branches/Emisje/RaportySQL/RozliczenieProwizjiDyrektorow.rdl @ 805

Wersja 749, 40.8 KB (wprowadzona przez marek, 17 years temu)

dodano aktualne daty do raportow

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