CEL_Payroll/Payroll.Report/RDLC/OTHourlySheet.rdlc

531 lines
19 KiB
Plaintext
Raw Permalink Normal View History

2024-09-17 14:30:13 +06:00
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="DummyDataSource">
<rd:DataSourceID>82040228-0aed-4570-b0f4-7b3d8b2f916a</rd:DataSourceID>
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString />
</ConnectionProperties>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<ReportParameters>
<ReportParameter Name="SearchCriteria">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Report_Parameter_0</Prompt>
</ReportParameter>
<ReportParameter Name="CompanyInfo">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Report_Parameter_1</Prompt>
</ReportParameter>
<ReportParameter Name="Logo">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Report_Parameter_2</Prompt>
</ReportParameter>
<ReportParameter Name="Address">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Report_Parameter_3</Prompt>
</ReportParameter>
<ReportParameter Name="Phone">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Report_Parameter_4</Prompt>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:GridSpacing>0.05in</rd:GridSpacing>
<rd:SnapToGrid>true</rd:SnapToGrid>
<RightMargin>0.12in</RightMargin>
<LeftMargin>0.15in</LeftMargin>
<PageHeader>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox29">
<rd:DefaultName>textbox29</rd:DefaultName>
<Top>0.35in</Top>
<Width>8.75in</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Left>2.2in</Left>
<Height>0.2in</Height>
<Value>=Parameters!Address.Value</Value>
</Textbox>
<Textbox Name="textbox21">
<rd:DefaultName>textbox21</rd:DefaultName>
<Top>0.55in</Top>
<Width>8.75in</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Left>2.2in</Left>
<Height>0.2in</Height>
<Value>="Tel: " &amp; Parameters!Phone.Value</Value>
</Textbox>
<Image Name="image1">
<Sizing>Fit</Sizing>
<Top>0.05in</Top>
<Width>2.05in</Width>
<MIMEType>image/jpg</MIMEType>
<Source>External</Source>
<Style />
<ZIndex>1</ZIndex>
<Left>0.1in</Left>
<Height>0.95in</Height>
<Value>="file:///" &amp; Parameters!Logo.Value</Value>
</Image>
<Textbox Name="textbox2">
<Top>0.1in</Top>
<Width>8.75in</Width>
<Style>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Left</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Left>2.2in</Left>
<Height>0.25in</Height>
<Value>=Parameters!CompanyInfo.Value</Value>
</Textbox>
</ReportItems>
<Height>1.25in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageHeader>
<BottomMargin>0.29in</BottomMargin>
<rd:ReportID>b03ee2bf-3f73-4f72-a5ed-f73ff9b18e2a</rd:ReportID>
<PageWidth>8.27in</PageWidth>
<DataSets>
<DataSet Name="PayrollDataSet_OTHourlySheet">
<Fields>
<Field Name="EmpNo">
<DataField>EmpNo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Name">
<DataField>Name</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OTDescription">
<DataField>OTDescription</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Hours">
<DataField>Hours</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OTMonth">
<DataField>OTMonth</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="SLNo">
<DataField>SLNo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>DummyDataSource</DataSourceName>
<CommandText />
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<rd:DataSetInfo>
<rd:DataSetName>PayrollDataSet</rd:DataSetName>
<rd:TableName>OTHourlySheet</rd:TableName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<Code />
<Width>11in</Width>
<Body>
<ReportItems>
<Matrix Name="matrix1">
<MatrixColumns>
<MatrixColumn>
<Width>1.05in</Width>
</MatrixColumn>
</MatrixColumns>
<ZIndex>1</ZIndex>
<DataSetName>PayrollDataSet_OTHourlySheet</DataSetName>
<RowGroupings>
<RowGrouping>
<Width>0.6in</Width>
<DynamicRows>
<Grouping Name="matrix1_EmpNo">
<GroupExpressions>
<GroupExpression>=Fields!EmpNo.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Subtotal>
<ReportItems>
<Textbox Name="textbox5">
<rd:DefaultName>textbox5</rd:DefaultName>
<Style>
<BorderStyle>
<Default>Solid</Default>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontSize>9pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>Total</Value>
</Textbox>
</ReportItems>
<Style>
<FontWeight>700</FontWeight>
</Style>
</Subtotal>
<ReportItems>
<Textbox Name="SLNo">
<rd:DefaultName>SLNo</rd:DefaultName>
<Style>
<BorderStyle>
<Default>Solid</Default>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Value>=First(Fields!SLNo.Value)</Value>
</Textbox>
</ReportItems>
</DynamicRows>
</RowGrouping>
<RowGrouping>
<Width>1.15in</Width>
<DynamicRows>
<Grouping Name="matrix1_Name">
<GroupExpressions>
<GroupExpression>=Fields!Name.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="EmpNo_1">
<rd:DefaultName>EmpNo_1</rd:DefaultName>
<Style>
<BorderStyle>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!EmpNo.Value</Value>
</Textbox>
</ReportItems>
</DynamicRows>
</RowGrouping>
<RowGrouping>
<Width>1.25in</Width>
<DynamicRows>
<Grouping Name="matrix1_RowGroup3">
<GroupExpressions>
<GroupExpression>=Fields!OTDescription.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="Name">
<rd:DefaultName>Name</rd:DefaultName>
<Style>
<BorderStyle>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!Name.Value</Value>
</Textbox>
</ReportItems>
</DynamicRows>
</RowGrouping>
</RowGroupings>
<Top>0.4in</Top>
<ColumnGroupings>
<ColumnGrouping>
<Height>0.25in</Height>
<DynamicColumns>
<Grouping Name="matrix1_OTDescription">
<GroupExpressions>
<GroupExpression>=Fields!OTDescription.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="OTDescription">
<rd:DefaultName>OTDescription</rd:DefaultName>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<FontSize>9pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!OTDescription.Value</Value>
</Textbox>
</ReportItems>
</DynamicColumns>
</ColumnGrouping>
<ColumnGrouping>
<Height>0.25in</Height>
<DynamicColumns>
<Grouping Name="matrix1_ColumnGroup2">
<GroupExpressions>
<GroupExpression>=Fields!OTDescription.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="textbox4">
<rd:DefaultName>textbox4</rd:DefaultName>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<FontSize>9pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Value>OT Hours</Value>
</Textbox>
</ReportItems>
</DynamicColumns>
</ColumnGrouping>
</ColumnGroupings>
<Width>4.05in</Width>
<Corner>
<ReportItems>
<Rectangle Name="rectangle1">
<ZIndex>7</ZIndex>
<ReportItems>
<Textbox Name="textbox7">
<rd:DefaultName>textbox7</rd:DefaultName>
<Width>0.6in</Width>
<Style>
<BorderStyle>
<Default>Solid</Default>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value>SL No</Value>
</Textbox>
<Textbox Name="textbox1">
<rd:DefaultName>textbox1</rd:DefaultName>
<Width>1.15in</Width>
<Style>
<BorderStyle>
<Default>Solid</Default>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<Left>0.6in</Left>
<Value>Emp No</Value>
</Textbox>
<Textbox Name="textbox3">
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Left>1.75in</Left>
<Value>Employee Name</Value>
</Textbox>
</ReportItems>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</Rectangle>
</ReportItems>
</Corner>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
<MatrixRows>
<MatrixRow>
<Height>0.25in</Height>
<MatrixCells>
<MatrixCell>
<ReportItems>
<Textbox Name="Hours_1">
<rd:DefaultName>Hours_1</rd:DefaultName>
<Style>
<BorderStyle>
<Left>Solid</Left>
<Right>Solid</Right>
<Top>Solid</Top>
<Bottom>Solid</Bottom>
</BorderStyle>
<FontSize>9pt</FontSize>
<Format>N2</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Sum(Fields!Hours.Value)</Value>
</Textbox>
</ReportItems>
</MatrixCell>
</MatrixCells>
</MatrixRow>
</MatrixRows>
<Height>1in</Height>
<Left>0.1in</Left>
</Matrix>
<Textbox Name="OTMonth">
<rd:DefaultName>OTMonth</rd:DefaultName>
<Top>0.05in</Top>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Left>0.1in</Left>
<Height>0.25in</Height>
<Value>="OT Report for the month of:" &amp; Format(First(Fields!OTMonth.Value),"MMM yyyy")</Value>
</Textbox>
</ReportItems>
<Height>1.45in</Height>
</Body>
<Language>en-US</Language>
<PageFooter>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox18">
<rd:DefaultName>textbox18</rd:DefaultName>
<Top>0.05in</Top>
<Width>2.475in</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Left</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.1in</Left>
<Height>0.2in</Height>
<Value>="Print Date &amp; Time: " &amp; Format(Today(), "dd MMM yyyy")</Value>
</Textbox>
<Textbox Name="textbox30">
<Top>0.05in</Top>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Left>9.5in</Left>
<Height>0.2in</Height>
<Value>="Page " &amp; Globals!PageNumber &amp; " of " &amp; Globals!TotalPages</Value>
</Textbox>
</ReportItems>
<Height>0.3in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageFooter>
<TopMargin>0.4in</TopMargin>
<PageHeight>11.69in</PageHeight>
</Report>