From f3db60982e144840183eb686b255c93cff06efbc Mon Sep 17 00:00:00 2001 From: Alexandra Date: Mon, 21 Oct 2024 16:34:14 +0200 Subject: [PATCH] =?UTF-8?q?CaritasverbandKelheim/Leistungsnachweise=20-=20?= =?UTF-8?q?Erg=C3=A4nzung=20um=20QHK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CaritasverbandKelheim.csproj | 1 + .../CustomReportCreator.cs | 24 +- .../LeistungsnachweisAnlage4.Designer.cs | 253 ++++++++++++++--- .../LeistungsnachweisAnlage4.cs | 95 +++++-- .../LeistungsnachweisAnlage5.Designer.cs | 256 ++++++++++++++++-- .../LeistungsnachweisAnlage5.cs | 94 +++++-- 6 files changed, 575 insertions(+), 148 deletions(-) diff --git a/ReportImp/CaritasverbandKelheim/CaritasverbandKelheim.csproj b/ReportImp/CaritasverbandKelheim/CaritasverbandKelheim.csproj index f80f5270a..dcd4700a9 100644 --- a/ReportImp/CaritasverbandKelheim/CaritasverbandKelheim.csproj +++ b/ReportImp/CaritasverbandKelheim/CaritasverbandKelheim.csproj @@ -104,6 +104,7 @@ ServiceInvoiceReport.cs + diff --git a/ReportImp/CaritasverbandKelheim/CustomReportCreator.cs b/ReportImp/CaritasverbandKelheim/CustomReportCreator.cs index 0bc1ccfe9..76f143f67 100644 --- a/ReportImp/CaritasverbandKelheim/CustomReportCreator.cs +++ b/ReportImp/CaritasverbandKelheim/CustomReportCreator.cs @@ -45,7 +45,6 @@ namespace CaritasverbandKelheim public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay) { var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid); - return CreateServicesOverviewReportForRo(ro, serviceCategoryOid); } @@ -86,26 +85,7 @@ namespace CaritasverbandKelheim foreach (ServicesOverviewRO.ServiceDetail sd in ro.Services) { ServicesOverviewRO.CreateSignatureString(sd); - - // Notice 2 Einzeltermin FK - // Notice 3 Einzeltermin HK - // Notice 4 Gruppentermin FK - // Notice 5 Gruppentermin HK - - if (sd.ServiceCategory.ToLower().Contains("fachkraft") || sd.ServiceCategory.ToLower().Contains("direkte leistung abw")) - { - if (!sd.IsGroup) - sd.Notice2 = string.Format("{0:0.00}", sd.Minutes / 60); - else - sd.Notice4 = string.Format("{0:0.00}", sd.Minutes / 60); - } - else if (sd.ServiceCategory.ToLower().Contains("hilfskraft")) - { - if (!sd.IsGroup) - sd.Notice3 = string.Format("{0:0.00}", sd.Minutes / 60); - else - sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60); - } + // Unterscheidung hier entfernt und in Leistungsnachweise verlegt, da zu viele Unterscheidungen } } @@ -142,13 +122,11 @@ namespace CaritasverbandKelheim XtraReport newReport = new T(); ((T)newReport).SetReportDataSource(ro); - newReport.CreateDocument(); report.Pages.AddRange(newReport.Pages); } } return report; } - } } diff --git a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.Designer.cs b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.Designer.cs index fe593e545..dc2772306 100644 --- a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.Designer.cs +++ b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.Designer.cs @@ -104,12 +104,22 @@ namespace CaritasverbandKelheim this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); this.lblEinzelFK = new DevExpress.XtraReports.UI.XRTableCell(); this.lblEinzelHK = new DevExpress.XtraReports.UI.XRTableCell(); - this.lblGruppeFK = new DevExpress.XtraReports.UI.XRTableCell(); this.lblGruppeHK = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblGruppeQHK = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblApprovedQASS = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblEinzelQHK = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblGruppeFK = new DevExpress.XtraReports.UI.XRTableCell(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); @@ -158,7 +168,7 @@ namespace CaritasverbandKelheim 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(1079F, 20F); + this.xrTable3.SizeF = new System.Drawing.SizeF(1089F, 20F); this.xrTable3.StylePriority.UseFont = false; this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // @@ -170,8 +180,10 @@ namespace CaritasverbandKelheim this.xrTableCell10, this.xrTableCell2, this.xrTableCell15, + this.xrTableCell18, this.xrTableCell12, this.xrTableCell44, + this.xrTableCell19, this.xrTableCell35, this.xrTableCell36, this.xrTableCell50}); @@ -187,6 +199,7 @@ namespace CaritasverbandKelheim this.xrTableCell13.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.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); this.xrTableCell13.StylePriority.UseBorders = false; this.xrTableCell13.StylePriority.UseFont = false; this.xrTableCell13.StylePriority.UsePadding = false; @@ -283,12 +296,13 @@ namespace CaritasverbandKelheim new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")}); this.xrTableCell35.Multiline = true; this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); this.xrTableCell35.StylePriority.UseBorders = false; this.xrTableCell35.StylePriority.UseFont = false; this.xrTableCell35.StylePriority.UsePadding = false; this.xrTableCell35.StylePriority.UseTextAlignment = false; this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell35.Weight = 0.29692591473912167D; + this.xrTableCell35.Weight = 0.28301711613820818D; // // xrTableCell36 // @@ -301,7 +315,7 @@ namespace CaritasverbandKelheim this.xrTableCell36.StylePriority.UsePadding = false; this.xrTableCell36.StylePriority.UseTextAlignment = false; this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell36.Weight = 0.11334713895000681D; + this.xrTableCell36.Weight = 0.10795698441559141D; // // xrTableCell50 // @@ -313,7 +327,7 @@ namespace CaritasverbandKelheim this.xrTableCell50.StylePriority.UsePadding = false; this.xrTableCell50.StylePriority.UseTextAlignment = false; this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell50.Weight = 0.11334718647614464D; + this.xrTableCell50.Weight = 0.13264613961147354D; // // picSignature // @@ -347,7 +361,7 @@ namespace CaritasverbandKelheim this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, this.xrTableRow1}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(1079F, 70F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(1089F, 70F); this.xrTableServiceRecords1.StylePriority.UseBackColor = false; this.xrTableServiceRecords1.StylePriority.UseBorders = false; this.xrTableServiceRecords1.StylePriority.UseFont = false; @@ -414,7 +428,7 @@ namespace CaritasverbandKelheim this.xrTableCell11.StylePriority.UseTextAlignment = false; this.xrTableCell11.Text = "Stunden Einzel-betreuung"; this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell11.Weight = 0.25877468220861377D; + this.xrTableCell11.Weight = 0.38816221445308896D; // // xrTableCell9 // @@ -431,7 +445,7 @@ namespace CaritasverbandKelheim this.xrTableCell9.StylePriority.UseTextAlignment = false; this.xrTableCell9.Text = "Stunden Gruppen-betreuung"; this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell9.Weight = 0.25877466769174529D; + this.xrTableCell9.Weight = 0.38816181765588387D; // // xrTableCell28 // @@ -446,7 +460,7 @@ namespace CaritasverbandKelheim this.xrTableCell28.StylePriority.UseTextAlignment = false; this.xrTableCell28.Text = "Betreuungsinhalt"; this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableCell28.Weight = 0.58538839461173986D; + this.xrTableCell28.Weight = 0.55796758011113678D; // // xrTableCell48 // @@ -462,7 +476,7 @@ namespace CaritasverbandKelheim this.xrTableCell48.StylePriority.UseTextAlignment = false; this.xrTableCell48.Text = "Handzeichen"; this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableCell48.Weight = 0.44692737430167606D; + this.xrTableCell48.Weight = 0.47434818880227925D; // // xrTableRow1 // @@ -472,8 +486,10 @@ namespace CaritasverbandKelheim this.xrTableCell5, this.xrTableCell6, this.xrTableCell32, + this.xrTableCell17, this.xrTableCell7, this.xrTableCell33, + this.xrTableCell20, this.xrTableCell43, this.xrTableCell49, this.xrTableCell34}); @@ -596,7 +612,7 @@ namespace CaritasverbandKelheim this.xrTableCell43.Name = "xrTableCell43"; this.xrTableCell43.StylePriority.UseBorders = false; this.xrTableCell43.StylePriority.UseFont = false; - this.xrTableCell43.Weight = 0.58538839461173986D; + this.xrTableCell43.Weight = 0.55796745002253134D; // // xrTableCell49 // @@ -613,7 +629,7 @@ namespace CaritasverbandKelheim this.xrTableCell49.StylePriority.UseTextAlignment = false; this.xrTableCell49.Text = "Mitarbeiter/in"; this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableCell49.Weight = 0.22346368715083803D; + this.xrTableCell49.Weight = 0.21283686772208943D; // // xrTableCell34 // @@ -630,7 +646,7 @@ namespace CaritasverbandKelheim this.xrTableCell34.StylePriority.UseTextAlignment = false; this.xrTableCell34.Text = "Klient/in"; this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableCell34.Weight = 0.22346368715083803D; + this.xrTableCell34.Weight = 0.26151145116879515D; // // formattingRuleStartDate // @@ -642,6 +658,10 @@ namespace CaritasverbandKelheim // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel11, + this.xrLabel12, + this.lblApprovedQASS, + this.xrLabel17, this.xrLabel33, this.xrLabel34, this.lblApprovedASS, @@ -663,14 +683,14 @@ namespace CaritasverbandKelheim this.xrLabel25, this.xrLabel24, this.xrLabel2}); - this.ReportHeader.HeightF = 147.2349F; + this.ReportHeader.HeightF = 168.0683F; this.ReportHeader.Name = "ReportHeader"; // // xrLabel33 // this.xrLabel33.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel33.ForeColor = System.Drawing.Color.Black; - this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(363.1249F, 117.2349F); + this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(401.7843F, 117.2349F); this.xrLabel33.Multiline = true; this.xrLabel33.Name = "xrLabel33"; this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -685,7 +705,7 @@ namespace CaritasverbandKelheim // this.xrLabel34.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel34.ForeColor = System.Drawing.Color.Black; - this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(363.1249F, 97.23489F); + this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(401.7843F, 97.23489F); this.xrLabel34.Multiline = true; this.xrLabel34.Name = "xrLabel34"; this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -701,7 +721,7 @@ namespace CaritasverbandKelheim this.lblApprovedASS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.lblApprovedASS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblApprovedASS.ForeColor = System.Drawing.Color.Black; - this.lblApprovedASS.LocationFloat = new DevExpress.Utils.PointFloat(302.058F, 117.2349F); + this.lblApprovedASS.LocationFloat = new DevExpress.Utils.PointFloat(340.7174F, 117.2349F); this.lblApprovedASS.Multiline = true; this.lblApprovedASS.Name = "lblApprovedASS"; this.lblApprovedASS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -717,7 +737,7 @@ namespace CaritasverbandKelheim this.lblApprovedFLS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.lblApprovedFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblApprovedFLS.ForeColor = System.Drawing.Color.Black; - this.lblApprovedFLS.LocationFloat = new DevExpress.Utils.PointFloat(302.058F, 97.23489F); + this.lblApprovedFLS.LocationFloat = new DevExpress.Utils.PointFloat(340.7174F, 97.23489F); this.lblApprovedFLS.Multiline = true; this.lblApprovedFLS.Name = "lblApprovedFLS"; this.lblApprovedFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -732,7 +752,7 @@ namespace CaritasverbandKelheim // this.xrLabel28.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel28.ForeColor = System.Drawing.Color.Black; - this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 97.23489F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(257.8702F, 97.23489F); this.xrLabel28.Multiline = true; this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -747,7 +767,7 @@ namespace CaritasverbandKelheim // this.xrLabel30.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel30.ForeColor = System.Drawing.Color.Black; - this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 117.2349F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(257.8702F, 117.2349F); this.xrLabel30.Multiline = true; this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -766,11 +786,11 @@ namespace CaritasverbandKelheim this.xrLabel16.Multiline = true; this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(219.21F, 20F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(257.8702F, 19.99999F); this.xrLabel16.StylePriority.UseFont = false; this.xrLabel16.StylePriority.UseForeColor = false; this.xrLabel16.StylePriority.UseTextAlignment = false; - this.xrLabel16.Text = "Bewilligte Nichtfachkraftstunden"; + this.xrLabel16.Text = "Bewilligte Hilfskraftstunden"; this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel14 @@ -781,7 +801,7 @@ namespace CaritasverbandKelheim this.xrLabel14.Multiline = true; this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(219.21F, 20F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(257.8702F, 20F); this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.StylePriority.UseForeColor = false; this.xrLabel14.StylePriority.UseTextAlignment = false; @@ -1094,7 +1114,7 @@ namespace CaritasverbandKelheim this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow9}); - this.xrTable1.SizeF = new System.Drawing.SizeF(1079F, 28.33335F); + this.xrTable1.SizeF = new System.Drawing.SizeF(1089F, 28.33335F); this.xrTable1.StylePriority.UseFont = false; this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // @@ -1104,8 +1124,10 @@ namespace CaritasverbandKelheim this.xrTableCell37, this.lblEinzelFK, this.lblEinzelHK, + this.lblEinzelQHK, this.lblGruppeFK, this.lblGruppeHK, + this.lblGruppeQHK, this.xrTableCell42}); this.xrTableRow9.Name = "xrTableRow9"; this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); @@ -1148,18 +1170,6 @@ namespace CaritasverbandKelheim this.lblEinzelHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.lblEinzelHK.Weight = 0.065628829249820164D; // - // lblGruppeFK - // - this.lblGruppeFK.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.lblGruppeFK.Multiline = true; - this.lblGruppeFK.Name = "lblGruppeFK"; - this.lblGruppeFK.StylePriority.UseFont = false; - this.lblGruppeFK.StylePriority.UsePadding = false; - this.lblGruppeFK.StylePriority.UseTextAlignment = false; - this.lblGruppeFK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblGruppeFK.Weight = 0.065628829249820164D; - // // lblGruppeHK // this.lblGruppeHK.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { @@ -1172,6 +1182,18 @@ namespace CaritasverbandKelheim this.lblGruppeHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.lblGruppeHK.Weight = 0.065628829249820164D; // + // lblGruppeQHK + // + this.lblGruppeQHK.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.lblGruppeQHK.Multiline = true; + this.lblGruppeQHK.Name = "lblGruppeQHK"; + this.lblGruppeQHK.StylePriority.UseFont = false; + this.lblGruppeQHK.StylePriority.UsePadding = false; + this.lblGruppeQHK.StylePriority.UseTextAlignment = false; + this.lblGruppeQHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.lblGruppeQHK.Weight = 0.065628829249820164D; + // // xrTableCell42 // this.xrTableCell42.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { @@ -1223,6 +1245,153 @@ namespace CaritasverbandKelheim this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // + // xrLabel11 + // + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel11.ForeColor = System.Drawing.Color.Black; + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 137.2349F); + this.xrLabel11.Multiline = true; + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(257.8702F, 20F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseForeColor = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "Bewilligte qualifizierte Hilfskraftstunden"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel12 + // + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel12.ForeColor = System.Drawing.Color.Black; + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(257.8701F, 137.2349F); + this.xrLabel12.Multiline = true; + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(82.84718F, 19.99998F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.StylePriority.UseForeColor = false; + this.xrLabel12.StylePriority.UseTextAlignment = false; + this.xrLabel12.Text = "wöchentlich"; + this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // lblApprovedQASS + // + this.lblApprovedQASS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblApprovedQASS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.lblApprovedQASS.ForeColor = System.Drawing.Color.Black; + this.lblApprovedQASS.LocationFloat = new DevExpress.Utils.PointFloat(340.7173F, 137.2349F); + this.lblApprovedQASS.Multiline = true; + this.lblApprovedQASS.Name = "lblApprovedQASS"; + this.lblApprovedQASS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblApprovedQASS.SizeF = new System.Drawing.SizeF(61.06689F, 19.99999F); + this.lblApprovedQASS.StylePriority.UseBorders = false; + this.lblApprovedQASS.StylePriority.UseFont = false; + this.lblApprovedQASS.StylePriority.UseForeColor = false; + this.lblApprovedQASS.StylePriority.UseTextAlignment = false; + this.lblApprovedQASS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel17 + // + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel17.ForeColor = System.Drawing.Color.Black; + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(401.7843F, 137.2349F); + this.xrLabel17.Multiline = true; + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(82.84718F, 19.99998F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UseForeColor = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Stunden"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableCell17 + // + this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell17.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.xrTableCell17.Multiline = true; + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UseFont = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.Text = "QHK"; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell17.Weight = 0.12938744998082033D; + // + // xrTableCell18 + // + this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategoryAbbr")}); + this.xrTableCell18.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.xrTableCell18.Multiline = true; + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.StylePriority.UseBorders = false; + this.xrTableCell18.StylePriority.UseFont = false; + this.xrTableCell18.StylePriority.UsePadding = false; + this.xrTableCell18.StylePriority.UseTextAlignment = false; + this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell18.Weight = 0.065629040276576914D; + // + // xrTableCell19 + // + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); + this.xrTableCell19.Multiline = true; + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.StylePriority.UseBorders = false; + this.xrTableCell19.StylePriority.UseFont = false; + this.xrTableCell19.StylePriority.UsePadding = false; + this.xrTableCell19.StylePriority.UseTextAlignment = false; + this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell19.Weight = 0.065628946125655757D; + // + // xrTableCell20 + // + this.xrTableCell20.BackColor = System.Drawing.Color.Gainsboro; + this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell20.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.xrTableCell20.Multiline = true; + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.StylePriority.UseBackColor = false; + this.xrTableCell20.StylePriority.UseBorders = false; + this.xrTableCell20.StylePriority.UseFont = false; + this.xrTableCell20.StylePriority.UseTextAlignment = false; + this.xrTableCell20.Text = "QHK"; + this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell20.Weight = 0.12938727577839879D; + // + // lblEinzelQHK + // + this.lblEinzelQHK.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.lblEinzelQHK.Multiline = true; + this.lblEinzelQHK.Name = "lblEinzelQHK"; + this.lblEinzelQHK.StylePriority.UseFont = false; + this.lblEinzelQHK.StylePriority.UsePadding = false; + this.lblEinzelQHK.StylePriority.UseTextAlignment = false; + this.lblEinzelQHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.lblEinzelQHK.Weight = 0.065628829249820164D; + // + // lblGruppeFK + // + this.lblGruppeFK.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.lblGruppeFK.Multiline = true; + this.lblGruppeFK.Name = "lblGruppeFK"; + this.lblGruppeFK.StylePriority.UseFont = false; + this.lblGruppeFK.StylePriority.UsePadding = false; + this.lblGruppeFK.StylePriority.UseTextAlignment = false; + this.lblGruppeFK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.lblGruppeFK.Weight = 0.065628829249820164D; + // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); @@ -1331,8 +1500,8 @@ namespace CaritasverbandKelheim private DevExpress.XtraReports.UI.XRTableCell xrTableCell37; private DevExpress.XtraReports.UI.XRTableCell lblEinzelFK; private DevExpress.XtraReports.UI.XRTableCell lblEinzelHK; - private DevExpress.XtraReports.UI.XRTableCell lblGruppeFK; private DevExpress.XtraReports.UI.XRTableCell lblGruppeHK; + private DevExpress.XtraReports.UI.XRTableCell lblGruppeQHK; private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRLabel xrLabel9; @@ -1343,5 +1512,15 @@ namespace CaritasverbandKelheim private DevExpress.XtraReports.UI.XRLabel xrLabel27; private DevExpress.XtraReports.UI.XRLabel xrLabel25; private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell19; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell20; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRLabel lblApprovedQASS; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRTableCell lblEinzelQHK; + private DevExpress.XtraReports.UI.XRTableCell lblGruppeFK; } } diff --git a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.cs b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.cs index 2b9be4d87..a5194059b 100644 --- a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.cs +++ b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage4.cs @@ -34,9 +34,17 @@ namespace CaritasverbandKelheim if (item.ServiceCategory != null) { if (item.ServiceCategory.Name.ToLower().Contains("fachkraft") || item.ServiceCategory.Name.ToLower().Contains("direkte leistung abw")) + { lblApprovedFLS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } + else if (item.ServiceCategory.Name.ToLower().Contains("qualifiziert")) + { + lblApprovedQASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } else if (item.ServiceCategory.Name.ToLower().Contains("hilfskraft")) + { lblApprovedASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } } } } @@ -50,9 +58,17 @@ namespace CaritasverbandKelheim if (item.ServiceCategory != null) { if (item.ServiceCategory.Name.ToLower().Contains("fachkraft") || item.ServiceCategory.Name.ToLower().Contains("direkte leistung abw")) + { lblApprovedFLS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); - else if (item.ServiceCategory.Name.ToLower().Contains("hilfskraft")) + } + else if (item.ServiceCategory.Name.ToLower().Contains("qualifiziert")) + { + lblApprovedQASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } + else if (item.ServiceCategory.Name.ToLower().Contains("hilfskraft")) + { lblApprovedASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } } } } @@ -63,50 +79,71 @@ namespace CaritasverbandKelheim decimal gesamtEinzelFK = 0; decimal gesamtEinzelHK = 0; + decimal gesamtEinzelQHK = 0; decimal gesamtGruppeFK = 0; decimal gesamtGruppeHK = 0; + decimal gesamtGruppeQHK = 0; foreach (var sd in pRO.Services) { - //sd.Notice2 = null; - //sd.Notice3 = null; - //sd.Notice4 = null; - //sd.Notice5 = null; + sd.Notice2 = null; // Einzeltermin FK + sd.Notice3 = null; // Einzeltermin HK + sd.Notice4 = null; // Gruppentermin FK + sd.Notice5 = null; // Gruppentermin HK + sd.ServiceCategoryAbbr = null; // Einzeltermin QHK + sd.ServiceDescription = null; // Gruppentermin QHK if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt")) { - //if (sd.ServiceCategory.ToLower().Contains("fachkraft")) - //{ - // if (!sd.IsGroup) - // sd.Notice2 = string.Format("{0:0.00}", sd.Minutes / 60); - // else - // sd.Notice4 = string.Format("{0:0.00}", sd.Minutes / 60); - //} - //else if (sd.ServiceCategory.ToLower().Contains("hilfskraft")) - //{ - // if (!sd.IsGroup) - // sd.Notice3 = string.Format("{0:0.00}", sd.Minutes / 60); - // else - // sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60); - //} - - if (!sd.Notice2.IsNullOrEmpty()) - gesamtEinzelFK += Convert.ToDecimal(sd.Notice2); - if (!sd.Notice3.IsNullOrEmpty()) - gesamtEinzelHK += Convert.ToDecimal(sd.Notice3); - if (!sd.Notice4.IsNullOrEmpty()) - gesamtGruppeFK += Convert.ToDecimal(sd.Notice4); - if (!sd.Notice5.IsNullOrEmpty()) - gesamtGruppeHK += Convert.ToDecimal(sd.Notice5); - + if (sd.ServiceCategory.ToLower().Contains("fachkraft") || sd.ServiceCategory.ToLower().Contains("direkte leistung abw")) + { + if (!sd.IsGroup) + { + sd.Notice2 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelFK += (decimal)sd.Minutes / 60; + } + else + { + sd.Notice4 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeFK += (decimal)sd.Minutes / 60; + } + } + else if (sd.ServiceCategory.ToLower().Contains("qualifiziert")) + { + if (!sd.IsGroup) + { + sd.ServiceCategoryAbbr = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelQHK += (decimal)sd.Minutes / 60; + } + else + { + sd.ServiceDescription = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeQHK += (decimal)sd.Minutes / 60; + } + } + else if (sd.ServiceCategory.ToLower().Contains("hilfskraft")) + { + if (!sd.IsGroup) + { + sd.Notice3 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelHK += (decimal)sd.Minutes / 60; + } + else + { + sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeHK += (decimal)sd.Minutes / 60; + } + } servicesBillable.Add(sd); } } lblEinzelFK.Text = string.Format("{0:0.00}", gesamtEinzelFK); lblEinzelHK.Text = string.Format("{0:0.00}", gesamtEinzelHK); + lblEinzelQHK.Text = string.Format("{0:0.00}", gesamtEinzelQHK); lblGruppeFK.Text = string.Format("{0:0.00}", gesamtGruppeFK); lblGruppeHK.Text = string.Format("{0:0.00}", gesamtGruppeHK); + lblGruppeQHK.Text = string.Format("{0:0.00}", gesamtGruppeQHK); } bindingSource1.DataSource = pRO; diff --git a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.Designer.cs b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.Designer.cs index 6f3c9983b..dfd0d7a79 100644 --- a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.Designer.cs +++ b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.Designer.cs @@ -97,6 +97,17 @@ namespace CaritasverbandKelheim this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblEinzelQHK = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblGruppeQHK = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblApprovedQASS = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); @@ -157,8 +168,10 @@ namespace CaritasverbandKelheim this.xrTableCell10, this.xrTableCell2, this.xrTableCell15, + this.xrTableCell18, this.xrTableCell12, - this.xrTableCell44}); + this.xrTableCell44, + this.xrTableCell19}); this.xrTableRow6.Name = "xrTableRow6"; this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -171,6 +184,7 @@ namespace CaritasverbandKelheim this.xrTableCell13.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.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); this.xrTableCell13.StylePriority.UseBorders = false; this.xrTableCell13.StylePriority.UseFont = false; this.xrTableCell13.StylePriority.UsePadding = false; @@ -220,7 +234,7 @@ namespace CaritasverbandKelheim this.xrTableCell2.StylePriority.UsePadding = false; this.xrTableCell2.StylePriority.UseTextAlignment = false; this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell2.Weight = 0.10364761649929813D; + this.xrTableCell2.Weight = 0.069498191707908108D; // // xrTableCell15 // @@ -234,7 +248,7 @@ namespace CaritasverbandKelheim this.xrTableCell15.StylePriority.UsePadding = false; this.xrTableCell15.StylePriority.UseTextAlignment = false; this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell15.Weight = 0.10532415004718422D; + this.xrTableCell15.Weight = 0.069736787419287127D; // // xrTableCell12 // @@ -247,7 +261,7 @@ namespace CaritasverbandKelheim this.xrTableCell12.StylePriority.UsePadding = false; this.xrTableCell12.StylePriority.UseTextAlignment = false; this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell12.Weight = 0.1046051639088486D; + this.xrTableCell12.Weight = 0.069634848053112583D; // // xrTableCell44 // @@ -259,7 +273,7 @@ namespace CaritasverbandKelheim this.xrTableCell44.StylePriority.UsePadding = false; this.xrTableCell44.StylePriority.UseTextAlignment = false; this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell44.Weight = 0.10772221223278422D; + this.xrTableCell44.Weight = 0.069634890266272342D; // // GroupHeader1 // @@ -281,7 +295,7 @@ namespace CaritasverbandKelheim this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, this.xrTableRow1}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(733.3312F, 70F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(737F, 70F); this.xrTableServiceRecords1.StylePriority.UseBackColor = false; this.xrTableServiceRecords1.StylePriority.UseBorders = false; this.xrTableServiceRecords1.StylePriority.UseFont = false; @@ -365,7 +379,7 @@ namespace CaritasverbandKelheim this.xrTableCell9.StylePriority.UseTextAlignment = false; this.xrTableCell9.Text = "Stunden \r\nGruppenbetreuung anteilig"; this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell9.Weight = 0.41198725290415078D; + this.xrTableCell9.Weight = 0.41813261482800324D; // // xrTableRow1 // @@ -375,8 +389,10 @@ namespace CaritasverbandKelheim this.xrTableCell5, this.xrTableCell6, this.xrTableCell32, + this.xrTableCell16, this.xrTableCell7, - this.xrTableCell33}); + this.xrTableCell33, + this.xrTableCell17}); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Weight = 0.68829979523118712D; // @@ -433,7 +449,7 @@ namespace CaritasverbandKelheim this.xrTableCell6.StylePriority.UseTextAlignment = false; this.xrTableCell6.Text = "FK"; this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell6.Weight = 0.20622879771320352D; + this.xrTableCell6.Weight = 0.13748585502617255D; // // xrTableCell32 // @@ -449,7 +465,7 @@ namespace CaritasverbandKelheim this.xrTableCell32.StylePriority.UseTextAlignment = false; this.xrTableCell32.Text = "HK"; this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell32.Weight = 0.2062287924437724D; + this.xrTableCell32.Weight = 0.13748585478599326D; // // xrTableCell7 // @@ -467,7 +483,7 @@ namespace CaritasverbandKelheim this.xrTableCell7.StylePriority.UseTextAlignment = false; this.xrTableCell7.Text = "FK"; this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell7.Weight = 0.20622879132349931D; + this.xrTableCell7.Weight = 0.13728485410074559D; // // xrTableCell33 // @@ -485,7 +501,7 @@ namespace CaritasverbandKelheim this.xrTableCell33.StylePriority.UseTextAlignment = false; this.xrTableCell33.Text = "HK"; this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell33.Weight = 0.20622873685599166D; + this.xrTableCell33.Weight = 0.137284858015197D; // // formattingRuleStartDate // @@ -497,6 +513,11 @@ namespace CaritasverbandKelheim // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel18, + this.lblApprovedQASS, + this.xrLabel20, + this.xrLabel21, + this.xrLabel17, this.xrLabel12, this.xrLabel13, this.xrLabel11, @@ -515,14 +536,14 @@ namespace CaritasverbandKelheim this.xrLabel4, this.xrLabel3, this.xrLabel2}); - this.ReportHeader.HeightF = 186.1933F; + this.ReportHeader.HeightF = 207.0266F; this.ReportHeader.Name = "ReportHeader"; // // xrLabel12 // this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel12.ForeColor = System.Drawing.Color.Black; - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(424.5833F, 159.9433F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(424.5833F, 177.0266F); this.xrLabel12.Multiline = true; this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -538,7 +559,7 @@ namespace CaritasverbandKelheim this.xrLabel13.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel13.ForeColor = System.Drawing.Color.Black; - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(506.0575F, 159.9433F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(506.0575F, 177.0266F); this.xrLabel13.Multiline = true; this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -557,7 +578,7 @@ namespace CaritasverbandKelheim new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel11.ForeColor = System.Drawing.Color.Black; - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 159.9433F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 177.0266F); this.xrLabel11.Multiline = true; this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -572,7 +593,7 @@ namespace CaritasverbandKelheim // this.xrLabel33.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel33.ForeColor = System.Drawing.Color.Black; - this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(363.1249F, 125.5683F); + this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(397.2653F, 125.5683F); this.xrLabel33.Multiline = true; this.xrLabel33.Name = "xrLabel33"; this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -587,7 +608,7 @@ namespace CaritasverbandKelheim // this.xrLabel34.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel34.ForeColor = System.Drawing.Color.Black; - this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(363.1249F, 105.5683F); + this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(397.2653F, 105.5683F); this.xrLabel34.Multiline = true; this.xrLabel34.Name = "xrLabel34"; this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -603,7 +624,7 @@ namespace CaritasverbandKelheim this.lblApprovedASS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.lblApprovedASS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblApprovedASS.ForeColor = System.Drawing.Color.Black; - this.lblApprovedASS.LocationFloat = new DevExpress.Utils.PointFloat(302.058F, 125.5683F); + this.lblApprovedASS.LocationFloat = new DevExpress.Utils.PointFloat(336.1984F, 125.5683F); this.lblApprovedASS.Multiline = true; this.lblApprovedASS.Name = "lblApprovedASS"; this.lblApprovedASS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -619,7 +640,7 @@ namespace CaritasverbandKelheim this.lblApprovedFLS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.lblApprovedFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblApprovedFLS.ForeColor = System.Drawing.Color.Black; - this.lblApprovedFLS.LocationFloat = new DevExpress.Utils.PointFloat(302.058F, 105.5683F); + this.lblApprovedFLS.LocationFloat = new DevExpress.Utils.PointFloat(336.1984F, 105.5683F); this.lblApprovedFLS.Multiline = true; this.lblApprovedFLS.Name = "lblApprovedFLS"; this.lblApprovedFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -634,7 +655,7 @@ namespace CaritasverbandKelheim // this.xrLabel28.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel28.ForeColor = System.Drawing.Color.Black; - this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 105.5683F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(253.3512F, 105.5683F); this.xrLabel28.Multiline = true; this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -649,7 +670,7 @@ namespace CaritasverbandKelheim // this.xrLabel30.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel30.ForeColor = System.Drawing.Color.Black; - this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(219.2108F, 125.5683F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(253.3512F, 125.5683F); this.xrLabel30.Multiline = true; this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -664,7 +685,7 @@ namespace CaritasverbandKelheim // this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel16.ForeColor = System.Drawing.Color.Black; - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 159.9433F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 177.0266F); this.xrLabel16.Multiline = true; this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -683,7 +704,7 @@ namespace CaritasverbandKelheim this.xrLabel14.Multiline = true; this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(219.21F, 20F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(253.3512F, 20F); this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.StylePriority.UseForeColor = false; this.xrLabel14.StylePriority.UseTextAlignment = false; @@ -916,8 +937,10 @@ namespace CaritasverbandKelheim this.xrTableCell37, this.lblEinzelFK, this.lblEinzelHK, + this.lblEinzelQHK, this.lblGruppeFK, - this.lblGruppeHK}); + this.lblGruppeHK, + this.lblGruppeQHK}); this.xrTableRow9.Name = "xrTableRow9"; this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -936,7 +959,7 @@ namespace CaritasverbandKelheim this.xrTableCell37.StylePriority.UseTextAlignment = false; this.xrTableCell37.Text = "Gesamtstunden monatlich"; this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; - this.xrTableCell37.Weight = 0.20463185413266818D; + this.xrTableCell37.Weight = 0.2629315397705887D; // // lblEinzelFK // @@ -947,7 +970,7 @@ namespace CaritasverbandKelheim this.lblEinzelFK.StylePriority.UsePadding = false; this.lblEinzelFK.StylePriority.UseTextAlignment = false; this.lblEinzelFK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblEinzelFK.Weight = 0.10460516252783964D; + this.lblEinzelFK.Weight = 0.089194234150972523D; // // lblEinzelHK // @@ -959,7 +982,7 @@ namespace CaritasverbandKelheim this.lblEinzelHK.StylePriority.UsePadding = false; this.lblEinzelHK.StylePriority.UseTextAlignment = false; this.lblEinzelHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblEinzelHK.Weight = 0.10484369019369536D; + this.lblEinzelHK.Weight = 0.089500407761533757D; // // lblGruppeFK // @@ -971,7 +994,7 @@ namespace CaritasverbandKelheim this.lblGruppeFK.StylePriority.UsePadding = false; this.lblGruppeFK.StylePriority.UseTextAlignment = false; this.lblGruppeFK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblGruppeFK.Weight = 0.10436660893365454D; + this.lblGruppeFK.Weight = 0.0893696275947415D; // // lblGruppeHK // @@ -983,7 +1006,7 @@ namespace CaritasverbandKelheim this.lblGruppeHK.StylePriority.UsePadding = false; this.lblGruppeHK.StylePriority.UseTextAlignment = false; this.lblGruppeHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblGruppeHK.Weight = 0.1077222528689761D; + this.lblGruppeHK.Weight = 0.089369693260415384D; // // lblUnterschriftKlient // @@ -1024,6 +1047,168 @@ namespace CaritasverbandKelheim this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // + // xrTableCell16 + // + this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell16.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.xrTableCell16.Multiline = true; + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.StylePriority.UseBorders = false; + this.xrTableCell16.StylePriority.UseFont = false; + this.xrTableCell16.StylePriority.UseTextAlignment = false; + this.xrTableCell16.Text = "QHK"; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell16.Weight = 0.13748585478599326D; + // + // xrTableCell17 + // + this.xrTableCell17.BackColor = System.Drawing.Color.Gainsboro; + this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell17.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.xrTableCell17.Multiline = true; + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.StylePriority.UseBackColor = false; + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UseFont = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.Text = "QHK"; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell17.Weight = 0.14403320354621768D; + // + // xrTableCell18 + // + this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategoryAbbr")}); + this.xrTableCell18.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.xrTableCell18.Multiline = true; + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.StylePriority.UseBorders = false; + this.xrTableCell18.StylePriority.UseFont = false; + this.xrTableCell18.StylePriority.UsePadding = false; + this.xrTableCell18.StylePriority.UseTextAlignment = false; + this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell18.Weight = 0.069736787419287127D; + // + // xrTableCell19 + // + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); + this.xrTableCell19.Multiline = true; + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.StylePriority.UseBorders = false; + this.xrTableCell19.StylePriority.UseFont = false; + this.xrTableCell19.StylePriority.UsePadding = false; + this.xrTableCell19.StylePriority.UseTextAlignment = false; + this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell19.Weight = 0.073057637822247889D; + // + // lblEinzelQHK + // + this.lblEinzelQHK.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.lblEinzelQHK.Multiline = true; + this.lblEinzelQHK.Name = "lblEinzelQHK"; + this.lblEinzelQHK.StylePriority.UseFont = false; + this.lblEinzelQHK.StylePriority.UsePadding = false; + this.lblEinzelQHK.StylePriority.UseTextAlignment = false; + this.lblEinzelQHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.lblEinzelQHK.Weight = 0.089500474314579026D; + // + // lblGruppeQHK + // + this.lblGruppeQHK.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.lblGruppeQHK.Multiline = true; + this.lblGruppeQHK.Name = "lblGruppeQHK"; + this.lblGruppeQHK.StylePriority.UseFont = false; + this.lblGruppeQHK.StylePriority.UsePadding = false; + this.lblGruppeQHK.StylePriority.UseTextAlignment = false; + this.lblGruppeQHK.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.lblGruppeQHK.Weight = 0.093762576926714747D; + // + // xrLabel17 + // + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel17.ForeColor = System.Drawing.Color.Black; + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 125.5683F); + this.xrLabel17.Multiline = true; + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(253.3512F, 20F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UseForeColor = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Bewilligte Hilfskraftstunden"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel18 + // + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel18.ForeColor = System.Drawing.Color.Black; + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(253.3512F, 145.5683F); + this.xrLabel18.Multiline = true; + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(82.84718F, 19.99998F); + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UseForeColor = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "wöchentlich"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // lblApprovedQASS + // + this.lblApprovedQASS.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblApprovedQASS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.lblApprovedQASS.ForeColor = System.Drawing.Color.Black; + this.lblApprovedQASS.LocationFloat = new DevExpress.Utils.PointFloat(336.1984F, 145.5683F); + this.lblApprovedQASS.Multiline = true; + this.lblApprovedQASS.Name = "lblApprovedQASS"; + this.lblApprovedQASS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblApprovedQASS.SizeF = new System.Drawing.SizeF(61.06689F, 19.99999F); + this.lblApprovedQASS.StylePriority.UseBorders = false; + this.lblApprovedQASS.StylePriority.UseFont = false; + this.lblApprovedQASS.StylePriority.UseForeColor = false; + this.lblApprovedQASS.StylePriority.UseTextAlignment = false; + this.lblApprovedQASS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel20 + // + this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel20.ForeColor = System.Drawing.Color.Black; + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(397.2653F, 145.5683F); + this.xrLabel20.Multiline = true; + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(82.84718F, 19.99998F); + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UseForeColor = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "Stunden"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel21 + // + this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel21.ForeColor = System.Drawing.Color.Black; + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 145.5683F); + this.xrLabel21.Multiline = true; + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(253.3512F, 20F); + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.StylePriority.UseForeColor = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.Text = "Bewilligte qualifizierte Hilfskraftstunden"; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); @@ -1130,5 +1315,16 @@ namespace CaritasverbandKelheim private DevExpress.XtraReports.UI.XRLabel xrLabel13; private DevExpress.XtraReports.UI.XRLabel xrLabel11; private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell19; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell16; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel lblApprovedQASS; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRTableCell lblEinzelQHK; + private DevExpress.XtraReports.UI.XRTableCell lblGruppeQHK; } } diff --git a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.cs b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.cs index 0333f6403..b9e79cebd 100644 --- a/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.cs +++ b/ReportImp/CaritasverbandKelheim/LeistungsnachweisAnlage5.cs @@ -36,9 +36,17 @@ namespace CaritasverbandKelheim if (item.ServiceCategory != null) { if (item.ServiceCategory.Name.ToLower().Contains("fachkraft") || item.ServiceCategory.Name.ToLower().Contains("direkte leistung abw")) + { lblApprovedFLS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } + else if (item.ServiceCategory.Name.ToLower().Contains("qualifiziert")) + { + lblApprovedQASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } else if (item.ServiceCategory.Name.ToLower().Contains("hilfskraft")) + { lblApprovedASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } } } } @@ -52,9 +60,17 @@ namespace CaritasverbandKelheim if (item.ServiceCategory != null) { if (item.ServiceCategory.Name.ToLower().Contains("fachkraft") || item.ServiceCategory.Name.ToLower().Contains("direkte leistung abw")) + { lblApprovedFLS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } + else if (item.ServiceCategory.Name.ToLower().Contains("qualifiziert")) + { + lblApprovedQASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } else if (item.ServiceCategory.Name.ToLower().Contains("hilfskraft")) + { lblApprovedASS.Text = string.Format("{0:0.00}", item.ApprovedBEPerInterval); + } } } } @@ -65,51 +81,71 @@ namespace CaritasverbandKelheim decimal gesamtEinzelFK = 0; decimal gesamtEinzelHK = 0; + decimal gesamtEinzelQHK = 0; decimal gesamtGruppeFK = 0; decimal gesamtGruppeHK = 0; + decimal gesamtGruppeQHK = 0; foreach (var sd in pRO.Services) { - //sd.Notice2 = null; - //sd.Notice3 = null; - //sd.Notice4 = null; - //sd.Notice5 = null; + sd.Notice2 = null; // Einzeltermin FK + sd.Notice3 = null; // Einzeltermin HK + sd.Notice4 = null; // Gruppentermin FK + sd.Notice5 = null; // Gruppentermin HK + sd.ServiceCategoryAbbr = null; // Einzeltermin QHK + sd.ServiceDescription = null; // Gruppentermin QHK if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt")) { - //if (sd.ServiceCategory.ToLower().Contains("fachkraft")) - //{ - // if (!sd.IsGroup) - // sd.Notice2 = string.Format("{0:0.00}", sd.Minutes / 60); - // else - // sd.Notice4 = string.Format("{0:0.00}", sd.Minutes / 60); - //} - //else if (sd.ServiceCategory.ToLower().Contains("hilfskraft")) - //{ - // if (!sd.IsGroup) - // sd.Notice3 = string.Format("{0:0.00}", sd.Minutes / 60); - // else - // sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60); - //} - - - if (!sd.Notice2.IsNullOrEmpty()) - gesamtEinzelFK += Convert.ToDecimal(sd.Notice2); - if (!sd.Notice3.IsNullOrEmpty()) - gesamtEinzelHK += Convert.ToDecimal(sd.Notice3); - if (!sd.Notice4.IsNullOrEmpty()) - gesamtGruppeFK += Convert.ToDecimal(sd.Notice4); - if (!sd.Notice5.IsNullOrEmpty()) - gesamtGruppeHK += Convert.ToDecimal(sd.Notice5); - + if (sd.ServiceCategory.ToLower().Contains("fachkraft") || sd.ServiceCategory.ToLower().Contains("direkte leistung abw")) + { + if (!sd.IsGroup) + { + sd.Notice2 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelFK += (decimal)sd.Minutes / 60; + } + else + { + sd.Notice4 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeFK += (decimal)sd.Minutes / 60; + } + } + else if (sd.ServiceCategory.ToLower().Contains("qualifiziert")) + { + if (!sd.IsGroup) + { + sd.ServiceCategoryAbbr = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelQHK += (decimal)sd.Minutes / 60; + } + else + { + sd.ServiceDescription = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeQHK += (decimal)sd.Minutes / 60; + } + } + else if (sd.ServiceCategory.ToLower().Contains("hilfskraft")) + { + if (!sd.IsGroup) + { + sd.Notice3 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtEinzelHK += (decimal)sd.Minutes / 60; + } + else + { + sd.Notice5 = string.Format("{0:0.00}", sd.Minutes / 60); + gesamtGruppeHK += (decimal)sd.Minutes / 60; + } + } servicesBillable.Add(sd); } } lblEinzelFK.Text = string.Format("{0:0.00}", gesamtEinzelFK); lblEinzelHK.Text = string.Format("{0:0.00}", gesamtEinzelHK); + lblEinzelQHK.Text = string.Format("{0:0.00}", gesamtEinzelQHK); lblGruppeFK.Text = string.Format("{0:0.00}", gesamtGruppeFK); lblGruppeHK.Text = string.Format("{0:0.00}", gesamtGruppeHK); + lblGruppeQHK.Text = string.Format("{0:0.00}", gesamtGruppeQHK); pRO.Services = servicesBillable; }