diff --git a/ReportImp/VkmHamm/Reports/VkmHammReportCreator.cs b/ReportImp/VkmHamm/Reports/VkmHammReportCreator.cs index e3acaab02..240dadedc 100644 --- a/ReportImp/VkmHamm/Reports/VkmHammReportCreator.cs +++ b/ReportImp/VkmHamm/Reports/VkmHammReportCreator.cs @@ -22,6 +22,58 @@ namespace VkmHamm { public class VkmHammReportCreator : DefaultReportCreator { + public override XtraReport CreateServiceOverviewReportForROs(List roList, long orgaOid) + { + if (roList.Count > 0) + { + String reportId = null; + if (orgaOid > 0) + { + var organisation = DAOFactory.GenericDAO.LoadByID(orgaOid); + if (organisation != null) + reportId = organisation.Name; + } + + // Jugendamt Hamm braucht einen anderen Beleg, weil da Zuschläge drauf müssen + var Report = new XtraReport(); + if (reportId == null && roList[0].Costbearer.Contains("Jugendamt Hamm")) + { + var lServiceOverviewAllCustomersReport = new StundenzettelJugendamt(); + lServiceOverviewAllCustomersReport.SetReportDataSource(roList[0]); + (lServiceOverviewAllCustomersReport as XtraReport).CreateDocument(); + Report = lServiceOverviewAllCustomersReport as XtraReport; + } + else + { + var lServiceOverviewAllCustomersReport = new Stundenzettel(); + lServiceOverviewAllCustomersReport.SetReportDataSource(roList[0]); + (lServiceOverviewAllCustomersReport as XtraReport).CreateDocument(); + Report = lServiceOverviewAllCustomersReport as XtraReport; + } + + + for (int i = 1; i < roList.Count; i++) + { + if (roList[i].Costbearer.Contains("Jugendamt Hamm")) + { + var lNext = new StundenzettelJugendamt(); + lNext.SetReportDataSource(roList[i]); + (lNext as XtraReport).CreateDocument(); + Report.Pages.AddRange((lNext as XtraReport).Pages); + } + else + { + var lNext = new Stundenzettel(); + lNext.SetReportDataSource(roList[i]); + (lNext as XtraReport).CreateDocument(); + Report.Pages.AddRange((lNext as XtraReport).Pages); + } + } + + return Report; + } + return new XtraReport(); + } public override XtraReport CreateFlsReport(string flsReportId, string subType) { string flsReportPath = Path.Combine(TempPath, flsReportId + ".xml"); diff --git a/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs b/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs index a9b35da19..4d1e49fd8 100644 --- a/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs +++ b/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs @@ -68,7 +68,7 @@ namespace VkmHamm this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblAktenzeichen = new DevExpress.XtraReports.UI.XRLabel(); this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); @@ -237,7 +237,7 @@ namespace VkmHamm this.xrTableCell13.StylePriority.UsePadding = false; this.xrTableCell13.StylePriority.UseTextAlignment = false; this.xrTableCell13.Text = "xrTableCell13"; - this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell13.Weight = 0.15651301574282184D; // // xrTableCell6 @@ -247,7 +247,7 @@ namespace VkmHamm this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.StylePriority.UseTextAlignment = false; this.xrTableCell6.Text = "xrTableCell6"; - this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell6.Weight = 0.18616944420409443D; // // xrTableCell16 @@ -259,7 +259,7 @@ namespace VkmHamm this.xrTableCell16.StylePriority.UseFont = false; this.xrTableCell16.StylePriority.UseTextAlignment = false; this.xrTableCell16.Text = "xrTableCell16"; - this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell16.Weight = 0.20349934015219581D; // // xrTableCell7 @@ -271,7 +271,7 @@ namespace VkmHamm this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell7.StylePriority.UseFont = false; this.xrTableCell7.StylePriority.UseTextAlignment = false; - this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell7.Weight = 0.269475021628532D; // // xrTableCell2 @@ -323,7 +323,7 @@ namespace VkmHamm this.xrLabel10, this.xrLabel12, this.xrLabel1, - this.xrLabel22}); + this.lblAktenzeichen}); this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.ReportHeader.HeightF = 240F; this.ReportHeader.Name = "ReportHeader"; @@ -597,17 +597,17 @@ namespace VkmHamm this.xrLabel1.Text = "Quittierungsbeleg über direkte Betreuungsleistungen"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // - // xrLabel22 + // lblAktenzeichen // - this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Arial", 11F); - this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 116F); - this.xrLabel22.Name = "xrLabel22"; - this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel22.SizeF = new System.Drawing.SizeF(329.4164F, 18F); - this.xrLabel22.StylePriority.UseFont = false; - this.xrLabel22.StylePriority.UseTextAlignment = false; - this.xrLabel22.Text = "Aktenzeichen Landschaftsverband"; - this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.lblAktenzeichen.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblAktenzeichen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 116F); + this.lblAktenzeichen.Name = "lblAktenzeichen"; + this.lblAktenzeichen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAktenzeichen.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.lblAktenzeichen.StylePriority.UseFont = false; + this.lblAktenzeichen.StylePriority.UseTextAlignment = false; + this.lblAktenzeichen.Text = "Aktenzeichen Landschaftsverband"; + this.lblAktenzeichen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // formattingRuleServiceDesc // @@ -918,7 +918,7 @@ namespace VkmHamm private DevExpress.XtraReports.UI.XRLabel xrLabel10; private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen; private DevExpress.XtraReports.UI.XRLabel xrLabel7; private DevExpress.XtraReports.UI.XRLabel xrLabel6; private DevExpress.XtraReports.UI.XRLabel xrLabel3; diff --git a/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.Designer.cs b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.Designer.cs new file mode 100644 index 000000000..455df2b94 --- /dev/null +++ b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.Designer.cs @@ -0,0 +1,1033 @@ +namespace VkmHamm +{ + partial class StundenzettelJugendamt + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox(); + this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblStundenWoche = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblStundenGesamt = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblAktenzeichen = new DevExpress.XtraReports.UI.XRLabel(); + this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldTotalFLSBillable = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldTotalFLSBillableXRateFactor = new DevExpress.XtraReports.UI.CalculatedField(); + this.customerCountField = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblSummeZuschlaege = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblGesamtFlmInklZuschlag = new DevExpress.XtraReports.UI.XRLabel(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.Detail.HeightF = 0F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableServiceRecords1 + // + this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTableServiceRecords1.Name = "xrTableServiceRecords1"; + this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(709F, 68.50001F); + this.xrTableServiceRecords1.StylePriority.UseBackColor = false; + this.xrTableServiceRecords1.StylePriority.UseFont = false; + this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false; + this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell5, + this.xrTableCell9, + this.xrTableCell8, + this.xrTableCell4, + this.xrTableCell1}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow2.StylePriority.UseFont = false; + this.xrTableRow2.StylePriority.UseTextAlignment = false; + this.xrTableRow2.Weight = 2.2430523884202942D; + // + // xrTableCell3 + // + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.Text = "Datum"; + this.xrTableCell3.Weight = 0.30228378165158276D; + // + // xrTableCell5 + // + this.xrTableCell5.Multiline = true; + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Text = "Uhrzeit\r\nvon ..... bis"; + this.xrTableCell5.Weight = 0.35956114685646906D; + // + // xrTableCell9 + // + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "Anzahl Minuten"; + this.xrTableCell9.Weight = 0.393031513380654D; + // + // xrTableCell4 + // + this.xrTableCell4.Multiline = true; + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "Inhalt"; + this.xrTableCell4.Weight = 0.52045468706769515D; + // + // xrTableCell1 + // + this.xrTableCell1.Multiline = true; + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Text = "Unterschrift\r\nKlient / in*"; + this.xrTableCell1.Weight = 0.52276231471973267D; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1}); + this.DetailReport.DataMember = "Services"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable3}); + this.Detail1.HeightF = 20.00001F; + this.Detail1.Name = "Detail1"; + this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTable3 + // + this.xrTable3.BorderColor = System.Drawing.Color.Black; + this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable3.SizeF = new System.Drawing.SizeF(709F, 20F); + this.xrTable3.StylePriority.UseFont = false; + this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell13, + this.xrTableCell6, + this.xrTableCell16, + this.xrTableCell10, + this.xrTableCell7, + this.xrTableCell2}); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow6.Weight = 1.1111111111111112D; + // + // xrTableCell13 + // + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yyyy}")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "xrTableCell13"; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell13.Weight = 0.15651301574282184D; + // + // xrTableCell6 + // + this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "xrTableCell6"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell6.Weight = 0.18616944420409443D; + // + // xrTableCell16 + // + this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell16.StylePriority.UseFont = false; + this.xrTableCell16.StylePriority.UseTextAlignment = false; + this.xrTableCell16.Text = "xrTableCell16"; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell16.Weight = 0.20349934015219581D; + // + // xrTableCell7 + // + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")}); + this.xrTableCell7.Multiline = true; + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell7.Weight = 0.269475021628532D; + // + // xrTableCell2 + // + this.xrTableCell2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.picSignature}); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell2.Weight = 0.27066996313467823D; + // + // picSignature + // + this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "Services.SignatureImage")}); + this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.picSignature.Name = "picSignature"; + this.picSignature.SizeF = new System.Drawing.SizeF(148.7836F, 20.00001F); + this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.picSignature.StylePriority.UseBorders = false; + this.picSignature.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.picSignature_BeforePrint); + // + // formattingRuleStartDate + // + this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleStartDate.DataMember = "ServicesDouble"; + this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleStartDate.Name = "formattingRuleStartDate"; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel23, + this.xrLabel24, + this.xrLabel21, + this.xrLabel20, + this.xrLabel17, + this.lblStundenWoche, + this.xrLabel18, + this.xrLabel19, + this.lblStundenGesamt, + this.xrLabel16, + this.xrLabel9, + this.xrLabel13, + this.xrLabel28, + this.xrLabel34, + this.xrLabel30, + this.xrLabel10, + this.xrLabel12, + this.xrLabel1, + this.lblAktenzeichen}); + this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.ReportHeader.HeightF = 240F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseFont = false; + // + // xrLabel23 + // + this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(170F, 199.5F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(63F, 18F); + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.Text = "Jahr:"; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel24 + // + this.xrLabel24.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel24.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Year")}); + this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(233F, 199.5F); + this.xrLabel24.Name = "xrLabel24"; + this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel24.SizeF = new System.Drawing.SizeF(96.41638F, 18F); + this.xrLabel24.StylePriority.UseBorderDashStyle = false; + this.xrLabel24.StylePriority.UseBorders = false; + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.StylePriority.UseTextAlignment = false; + this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel21 + // + this.xrLabel21.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Month")}); + this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(63.00003F, 199.5F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(97.9166F, 18F); + this.xrLabel21.StylePriority.UseBorderDashStyle = false; + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel20 + // + this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0F, 199.5F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(63F, 18F); + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "Monat:"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel17 + // + this.xrLabel17.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dot; + this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(451.7499F, 134F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 1, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(151.3332F, 18F); + this.xrLabel17.StylePriority.UseBorderDashStyle = false; + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Stunden"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // lblStundenWoche + // + this.lblStundenWoche.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.lblStundenWoche.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblStundenWoche.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek")}); + this.lblStundenWoche.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblStundenWoche.LocationFloat = new DevExpress.Utils.PointFloat(392.6665F, 134F); + this.lblStundenWoche.Name = "lblStundenWoche"; + this.lblStundenWoche.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblStundenWoche.SizeF = new System.Drawing.SizeF(59.08344F, 18F); + this.lblStundenWoche.StylePriority.UseBorderDashStyle = false; + this.lblStundenWoche.StylePriority.UseBorders = false; + this.lblStundenWoche.StylePriority.UseFont = false; + this.lblStundenWoche.StylePriority.UseTextAlignment = false; + this.lblStundenWoche.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.lblStundenWoche.TextFormatString = "/ {0:0.00}"; + // + // xrLabel18 + // + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 164.5F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "Verantwortliche Mitarbeiter / in"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel19 + // + this.xrLabel19.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); + this.xrLabel19.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 164.5F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel19.StylePriority.UseBorderDashStyle = false; + this.xrLabel19.StylePriority.UseBorders = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // lblStundenGesamt + // + this.lblStundenGesamt.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.lblStundenGesamt.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblStundenGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSTotal")}); + this.lblStundenGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblStundenGesamt.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 134F); + this.lblStundenGesamt.Name = "lblStundenGesamt"; + this.lblStundenGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblStundenGesamt.SizeF = new System.Drawing.SizeF(63.25009F, 18F); + this.lblStundenGesamt.StylePriority.UseBorderDashStyle = false; + this.lblStundenGesamt.StylePriority.UseBorders = false; + this.lblStundenGesamt.StylePriority.UseFont = false; + this.lblStundenGesamt.StylePriority.UseTextAlignment = false; + this.lblStundenGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.lblStundenGesamt.TextFormatString = "{0:0.00}"; + // + // xrLabel16 + // + this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 134F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.Text = "Bewilligte Fachleistungsstunden / wöchentlich"; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel9 + // + this.xrLabel9.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(146.4581F, 37.91666F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(456.625F, 18F); + this.xrLabel9.StylePriority.UseBorderDashStyle = false; + this.xrLabel9.StylePriority.UseBorders = false; + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UseTextAlignment = false; + this.xrLabel9.Text = "Verein für körper- und mehrfachbehinderte Menschen Hamm e.V."; + this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel13 + // + this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(75.12487F, 37.91666F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(71.33327F, 18F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.StylePriority.UseTextAlignment = false; + this.xrLabel13.Text = "Anbieter: "; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel28 + // + this.xrLabel28.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")}); + this.xrLabel28.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 79.99995F); + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel28.StylePriority.UseBorderDashStyle = false; + this.xrLabel28.StylePriority.UseBorders = false; + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.StylePriority.UseTextAlignment = false; + this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel34 + // + this.xrLabel34.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel34.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); + this.xrLabel34.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 116F); + this.xrLabel34.Name = "xrLabel34"; + this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel34.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel34.StylePriority.UseBorderDashStyle = false; + this.xrLabel34.StylePriority.UseBorders = false; + this.xrLabel34.StylePriority.UseFont = false; + this.xrLabel34.StylePriority.UseTextAlignment = false; + this.xrLabel34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel30 + // + this.xrLabel30.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel30.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")}); + this.xrLabel30.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 97.99995F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(273.6667F, 18F); + this.xrLabel30.StylePriority.UseBorderDashStyle = false; + this.xrLabel30.StylePriority.UseBorders = false; + this.xrLabel30.StylePriority.UseFont = false; + this.xrLabel30.StylePriority.UseTextAlignment = false; + this.xrLabel30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel10 + // + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.99998F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.StylePriority.UseTextAlignment = false; + this.xrLabel10.Text = "Vorname Klient / in"; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel12 + // + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.99995F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.StylePriority.UseTextAlignment = false; + this.xrLabel12.Text = "Name Klient / in"; + this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel1 + // + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F, ((DevExpress.Drawing.DXFontStyle)((DevExpress.Drawing.DXFontStyle.Bold | DevExpress.Drawing.DXFontStyle.Underline)))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(674.9998F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "Quittierungsbeleg über direkte Betreuungsleistungen"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // lblAktenzeichen + // + this.lblAktenzeichen.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblAktenzeichen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 116F); + this.lblAktenzeichen.Name = "lblAktenzeichen"; + this.lblAktenzeichen.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAktenzeichen.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.lblAktenzeichen.StylePriority.UseFont = false; + this.lblAktenzeichen.StylePriority.UseTextAlignment = false; + this.lblAktenzeichen.Text = "Aktenzeichen Jugendamt"; + this.lblAktenzeichen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // formattingRuleServiceDesc + // + this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; + this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; + // + // formattingRuleCostBearer + // + this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleCostBearer.DataMember = "ServicesDouble"; + this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; + // + // formattingRuleEmployeeName + // + this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; + this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; + // + // topMarginBand1 + // + this.topMarginBand1.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F); + this.topMarginBand1.HeightF = 99F; + this.topMarginBand1.Name = "topMarginBand1"; + this.topMarginBand1.StylePriority.UseFont = false; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 36.41669F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.lblGesamtFlmInklZuschlag, + this.xrLabel8, + this.lblSummeZuschlaege, + this.xrLabel5, + this.xrPictureBox2, + this.xrPictureBox1, + this.xrLabel2, + this.xrLabel11, + this.xrLabel7, + this.xrLabel6, + this.xrLabel3, + this.xrLabel4}); + this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.ReportFooter.HeightF = 197.25F; + this.ReportFooter.Name = "ReportFooter"; + this.ReportFooter.StylePriority.UseFont = false; + // + // xrLabel5 + // + this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate")}); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.50002F); + this.xrLabel5.Multiline = true; + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(123.9583F, 23F); + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "xrLabel5"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.xrLabel5.TextFormatString = "{0:dd.MM.yyyy}"; + // + // xrPictureBox2 + // + this.xrPictureBox2.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "CustomerSignature")}); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(172.8335F, 68.50005F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(219.833F, 51.99998F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox2.StylePriority.UseBorderDashStyle = false; + // + // xrPictureBox1 + // + this.xrPictureBox1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "EmployeeSignature")}); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(458.3337F, 68.50005F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(238.6663F, 51.99998F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox1.StylePriority.UseBorderDashStyle = false; + // + // xrLabel2 + // + this.xrLabel2.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dot; + this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 156.9583F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(677.0001F, 40.29167F); + this.xrLabel2.StylePriority.UseBorderDashStyle = false; + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "*Betreuungskontakte können zeitnah einzeln (in der jeweiligen Zeile) oder gesamme" + + "lt am Ende des Monats quittiert werden."; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel11 + // + this.xrLabel11.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(172.8335F, 120.5F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(219.833F, 17.99997F); + this.xrLabel11.StylePriority.UseBorderDashStyle = false; + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "Unterschrift Klient/in"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel7 + // + this.xrLabel7.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120.5F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(123.9583F, 17.99997F); + this.xrLabel7.StylePriority.UseBorderDashStyle = false; + this.xrLabel7.StylePriority.UseBorders = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UseTextAlignment = false; + this.xrLabel7.Text = "Datum"; + this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel6 + // + this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(458.3337F, 120.5F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(240.6663F, 17.99995F); + this.xrLabel6.StylePriority.UseBorderDashStyle = false; + this.xrLabel6.StylePriority.UseBorders = false; + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.Text = "Unterschrift Bezugsbetreuer/in"; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel3 + // + this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(86.03309F, 0F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(102.3348F, 26.33336F); + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "Summe"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel4 + // + this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(188.3679F, 0F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(111.8609F, 26.33336F); + this.xrLabel4.StylePriority.UseBorders = false; + this.xrLabel4.StylePriority.UseBorderWidth = false; + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UsePadding = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "[TotalFLMBillable!0.00] FLM"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // fieldAbrechenbareMinuten + // + this.fieldAbrechenbareMinuten.DataMember = "Services"; + this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)"; + this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten"; + // + // fieldTotalFLSBillable + // + this.fieldTotalFLSBillable.Expression = "[TotalFLMBillable]/60"; + this.fieldTotalFLSBillable.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldTotalFLSBillable.Name = "fieldTotalFLSBillable"; + // + // fieldTotalFLSBillableXRateFactor + // + this.fieldTotalFLSBillableXRateFactor.Expression = "([TotalFLMBillable]/60) * 1.2"; + this.fieldTotalFLSBillableXRateFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldTotalFLSBillableXRateFactor.Name = "fieldTotalFLSBillableXRateFactor"; + // + // customerCountField + // + this.customerCountField.DataMember = "Services"; + this.customerCountField.Expression = "Iif([CustomerCount] < 2, \'\', ToStr([CustomerCount]) + \' Teilnehmer\')"; + this.customerCountField.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.customerCountField.Name = "customerCountField"; + // + // fieldBillableFLS + // + this.fieldBillableFLS.Expression = "[TotalFLMBillable]/60"; + this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldBillableFLS.Name = "fieldBillableFLS"; + // + // fieldAbrechenbareFLS + // + this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable]/60) * 1.2"; + this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS"; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTableServiceRecords1}); + this.GroupHeader1.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.GroupHeader1.HeightF = 68.50001F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + this.GroupHeader1.StylePriority.UseFont = false; + // + // xrTableCell8 + // + this.xrTableCell8.Multiline = true; + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell8.StylePriority.UseFont = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "Sonn- und \r\nFeiertags-zuschlag Min"; + this.xrTableCell8.Weight = 0.393031513380654D; + // + // xrTableCell10 + // + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")}); + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell10.Weight = 0.20349934015219581D; + // + // lblSummeZuschlaege + // + this.lblSummeZuschlaege.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSummeZuschlaege.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblSummeZuschlaege.LocationFloat = new DevExpress.Utils.PointFloat(300.2288F, 0F); + this.lblSummeZuschlaege.Name = "lblSummeZuschlaege"; + this.lblSummeZuschlaege.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.lblSummeZuschlaege.SizeF = new System.Drawing.SizeF(111.8609F, 26.33336F); + this.lblSummeZuschlaege.StylePriority.UseBorders = false; + this.lblSummeZuschlaege.StylePriority.UseBorderWidth = false; + this.lblSummeZuschlaege.StylePriority.UseFont = false; + this.lblSummeZuschlaege.StylePriority.UsePadding = false; + this.lblSummeZuschlaege.StylePriority.UseTextAlignment = false; + this.lblSummeZuschlaege.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel8 + // + this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(86.03309F, 26.33336F); + this.xrLabel8.Multiline = true; + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(102.3348F, 26.33336F); + this.xrLabel8.StylePriority.UseBorders = false; + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "Gesamt"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // lblGesamtFlmInklZuschlag + // + this.lblGesamtFlmInklZuschlag.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblGesamtFlmInklZuschlag.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblGesamtFlmInklZuschlag.LocationFloat = new DevExpress.Utils.PointFloat(188.3679F, 26.33336F); + this.lblGesamtFlmInklZuschlag.Name = "lblGesamtFlmInklZuschlag"; + this.lblGesamtFlmInklZuschlag.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.lblGesamtFlmInklZuschlag.SizeF = new System.Drawing.SizeF(223.7216F, 26.33336F); + this.lblGesamtFlmInklZuschlag.StylePriority.UseBorders = false; + this.lblGesamtFlmInklZuschlag.StylePriority.UseBorderWidth = false; + this.lblGesamtFlmInklZuschlag.StylePriority.UseFont = false; + this.lblGesamtFlmInklZuschlag.StylePriority.UsePadding = false; + this.lblGesamtFlmInklZuschlag.StylePriority.UseTextAlignment = false; + this.lblGesamtFlmInklZuschlag.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // StundenzettelJugendamt + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.DetailReport, + this.ReportHeader, + this.topMarginBand1, + this.bottomMarginBand1, + this.ReportFooter, + this.GroupHeader1}); + this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { + this.fieldAbrechenbareMinuten, + this.fieldTotalFLSBillable, + this.fieldTotalFLSBillableXRateFactor, + this.customerCountField, + this.fieldBillableFLS, + this.fieldAbrechenbareFLS}); + this.DataSource = this.bindingSource1; + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.formattingRuleStartDate, + this.formattingRuleServiceDesc, + this.formattingRuleCostBearer, + this.formattingRuleEmployeeName}); + this.Margins = new DevExpress.Drawing.DXMargins(75F, 43F, 99F, 36.41669F); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; + this.SnapGridSize = 9F; + this.Version = "23.2"; + xrWatermark1.Id = "Watermark1"; + this.Watermarks.Add(xrWatermark1); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell16; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; + private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.CalculatedField fieldTotalFLSBillable; + private DevExpress.XtraReports.UI.CalculatedField fieldTotalFLSBillableXRateFactor; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.CalculatedField customerCountField; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel34; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS; + private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel lblStundenGesamt; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.XRLabel lblStundenWoche; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; + private DevExpress.XtraReports.UI.XRPictureBox picSignature; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRLabel lblSummeZuschlaege; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRLabel lblGesamtFlmInklZuschlag; + } +} diff --git a/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.cs b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.cs new file mode 100644 index 000000000..394f2e96e --- /dev/null +++ b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text.RegularExpressions; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using BeWo.Service.Plugins; +using BS.Shared.Core; +using DevExpress.XtraReports.UI; + +namespace VkmHamm +{ + public partial class StundenzettelJugendamt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + public StundenzettelJugendamt() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + double minutenGruppe = 0; + double minutenNichtGruppe = 0; + + var feiertage = new VacationService().GetFeiertage(pRO.Year); + + if (pRO.Services != null) + { + List servicesBillable = new List(); + + double summeZuschlaege = 0; + foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services) + { + if (s.IsBillable) + { + servicesBillable.Add(s); + if (feiertage.Contains(s.StartDate.Date) || s.StartDate.Date.DayOfWeek == DayOfWeek.Sunday) + { + double zuschlag = s.Minutes * 0.35; + s.Notice5 = string.Format("{0:0.00}", zuschlag); + summeZuschlaege += zuschlag; + } + + if (s.IsGroup) + { + minutenGruppe += s.Minutes; + } + else + { + minutenNichtGruppe += s.Minutes; + } + } + } + + pRO.Services = servicesBillable; + lblSummeZuschlaege.Text = string.Format("{0:0.00} FLM", summeZuschlaege); + lblGesamtFlmInklZuschlag.Text = string.Format("{0:0.00} FLM", pRO.TotalFLMBillable + summeZuschlaege); + } + + + + this.bindingSource1.DataSource = pRO; + } + private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e) + { + XRPictureBox xrBox = sender as XRPictureBox; + //var test = this.GetCurrent + string base64String = xrBox.Tag as string; + if (!String.IsNullOrWhiteSpace(base64String)) + { + var base64Data = Regex.Match(base64String, @"data:image/(?.+?),(?.+)").Groups["data"].Value; + var binData = Convert.FromBase64String(base64Data); + System.Drawing.Image img = ByteArrayToImage(binData); + xrBox.Image = Utils.CropImage(img); + } + else + { + xrBox.Image = null; + } + } + + public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn) + { + using (var memoryStream = new MemoryStream(byteArrayIn)) + { + return System.Drawing.Image.FromStream(memoryStream); + } + } + } +} diff --git a/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.resx b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.resx new file mode 100644 index 000000000..d58980a38 --- /dev/null +++ b/ReportImp/VkmHamm/ServicesOverviewReportJugendamt.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ReportImp/VkmHamm/VkmHamm.csproj b/ReportImp/VkmHamm/VkmHamm.csproj index 8ce31dd66..73e6b5938 100644 --- a/ReportImp/VkmHamm/VkmHamm.csproj +++ b/ReportImp/VkmHamm/VkmHamm.csproj @@ -146,6 +146,12 @@ ServiceRecordListReport.cs + + Component + + + ServicesOverviewReportJugendamt.cs + Component @@ -251,6 +257,9 @@ ServiceRecordListReport.cs Designer + + ServicesOverviewReportJugendamt.cs + ServicesOverviewReport.cs