diff --git a/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs b/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs index dc781701b..951d0cf6e 100644 --- a/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs +++ b/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs @@ -117,8 +117,16 @@ namespace Nous.Invoicing } else if (ii.ItemDescription.ToLower().Contains("familienhilfe ergänzungskraft")) { - ii.ItemDescription = "Sozialpädagogische Familienhilfe nach §31 SGB VIII"; - ii.UnitDescription = "Sozialpädagogische Familienhilfe nach §31 SGB VIII"; + if (iServiceRecord.ServiceDescription.Name.ToLower().Contains("ergänzungskraft")) + { + ii.ItemDescription = "1 Ergänzungskraft nach §27 SGB VIII"; + ii.UnitDescription = "1 Ergänzungskraft nach §27 SGB VIII"; + } + else + { + ii.ItemDescription = "2 Ergänzungskraft nach §27 SGB VIII"; + ii.UnitDescription = "2 Ergänzungskraft nach §27 SGB VIII"; + } } else if (ii.ItemDescription.ToLower().Contains("schulbegleitung fachkraft")) { diff --git a/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs b/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs index 29f043e85..ab2b88140 100644 --- a/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs +++ b/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs @@ -52,7 +52,7 @@ this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblNOUS = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); @@ -306,7 +306,7 @@ // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, - this.xrLabel7, + this.lblNOUS, this.xrLabel10, this.xrLabel12}); this.ReportFooter.HeightF = 371.8333F; @@ -327,17 +327,17 @@ " überweisen.\r\n\r\nFür Rückfragen und weitere Informationen stehe ich Ihnen gerne j" + "ederzeit zur Verfügung.\r\n"; // - // xrLabel7 + // lblNOUS // - this.xrLabel7.CanGrow = false; - this.xrLabel7.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(500F, 100F); - this.xrLabel7.Multiline = true; - this.xrLabel7.Name = "xrLabel7"; - this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(192.7083F, 271.8333F); - this.xrLabel7.StylePriority.UseFont = false; - this.xrLabel7.Text = resources.GetString("xrLabel7.Text"); + this.lblNOUS.CanGrow = false; + this.lblNOUS.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblNOUS.LocationFloat = new DevExpress.Utils.PointFloat(500F, 100F); + this.lblNOUS.Multiline = true; + this.lblNOUS.Name = "lblNOUS"; + this.lblNOUS.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblNOUS.SizeF = new System.Drawing.SizeF(192.7083F, 271.8333F); + this.lblNOUS.StylePriority.UseFont = false; + this.lblNOUS.Text = resources.GetString("lblNOUS.Text"); // // xrLabel10 // @@ -680,7 +680,7 @@ private DevExpress.XtraReports.UI.XRPictureBox pbStandard; private DevExpress.XtraReports.UI.XRLabel lblStandard; private DevExpress.XtraReports.UI.XRRichText lblAdresseStandard; - private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel lblNOUS; private DevExpress.XtraReports.UI.XRLabel lblTitel; private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; diff --git a/ReportImp/Nous/RechnungFamilienhilfe.cs b/ReportImp/Nous/RechnungFamilienhilfe.cs index b7fe4312c..6acca6dee 100644 --- a/ReportImp/Nous/RechnungFamilienhilfe.cs +++ b/ReportImp/Nous/RechnungFamilienhilfe.cs @@ -37,6 +37,9 @@ namespace Nous { pbLeverkusen.Visible = true; lblAdresseLeverkusen.Visible = true; + lblNOUS.Text = lblNOUS.Text.Replace("IBAN DE95 3755 1440 0100 1439 57", "DE91 3755 1440 0100 1775 91."); + lblNOUS.Text = lblNOUS.Text.Replace("Wallstr. 81", "Friedrich-Ebert-Str. 120"); + lblNOUS.Text = lblNOUS.Text.Replace("51063 Köln", "51373 Leverkusen"); } else { @@ -96,10 +99,18 @@ namespace Nous ii.ServiceDescription = "Fachkraft"; } // Familienhilfe Ergänzungskraft - else if (ii.ServiceDescription == "Sozialpädagogische Familienhilfe nach §31 SGB VIII") + else if (ii.ServiceDescription.Contains("Ergänzungskraft nach §27 SGB VIII")) { - this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Sozialpädagogische Familienhilfe nach §31 SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; - ii.ServiceDescription = "Ergänzungskraft"; + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Ergänzungskraft nach §27 SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + + if (ii.ServiceDescription == "1 Ergänzungskraft nach §27 SGB VIII") + { + ii.ServiceDescription = "Ergänzungskraft"; + } + else if (ii.ServiceDescription == "2 Ergänzungskraft nach §27 SGB VIII") + { + ii.ServiceDescription = "Fachkraft"; + } } // Schulbegleitung Fachkraft else if (ii.ServiceDescription.Contains("Schulbegleitung nach §35a SGB VIII")) @@ -122,7 +133,7 @@ namespace Nous } else if (ii.ServiceDescription.Contains("Schul")) { - this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Inklusionsbegleitung nach §35 a SGB XII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Inklusionsbegleitung nach §35a SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; ii.ServiceDescription = "Fachkraft"; } else diff --git a/ReportImp/Nous/RechnungFamilienhilfe.resx b/ReportImp/Nous/RechnungFamilienhilfe.resx index eae6668a1..50e108667 100644 --- a/ReportImp/Nous/RechnungFamilienhilfe.resx +++ b/ReportImp/Nous/RechnungFamilienhilfe.resx @@ -3902,7 +3902,7 @@ EkJI03z44f8DWo9852UEnloAAAAASUVORK5CYII= - + NOUS – Soziale Dienste GmbH Wallstr. 81 51063 Köln