diff --git a/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs b/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs index 0fa7db997..0a5d2d493 100644 --- a/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs +++ b/ReportImp/Nous/Invoicing/DefaultInvoiceCreation.cs @@ -112,6 +112,34 @@ namespace Nous.Invoicing ii.ItemDescription = "Eingliederungshilfe für Kinder und Jugendliche mit seelischer Behinderung nach §35a SGB VIII"; ii.UnitDescription = "Eingliederungshilfe für Kinder und Jugendliche mit seelischer Behinderung nach §35a SGB VIII"; } + else if (ii.ItemDescription.ToLower().Contains("familienhilfe fachkraft")) + { + ii.ItemDescription = "Sozialpädagogische Familienhilfe nach §31 SGB VIII"; + ii.UnitDescription = "Sozialpädagogische Familienhilfe nach §31 SGB VIII"; + } + 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"; + } + else if (ii.ItemDescription.ToLower().Contains("schulbegleitung fachkraft")) + { + if (iServiceRecord.ServiceDescription.Name.ToLower().Contains("assistenzkraft 1")) + { + ii.ItemDescription = "1 Schulbegleitung nach §35a SGB VIII"; + ii.UnitDescription = "1 Schulbegleitung nach §35a SGB VIII"; + } + else if (iServiceRecord.ServiceDescription.Name.ToLower().Contains("assistenzkraft 2")) + { + ii.ItemDescription = "2 Schulbegleitung nach §35a SGB VIII"; + ii.UnitDescription = "2 Schulbegleitung nach §35a SGB VIII"; + } + else + { + ii.ItemDescription = "Schulbegleitung nach §35a SGB VIII"; + ii.UnitDescription = "Schulbegleitung nach §35a SGB VIII"; + } + } ii.Notice = iServiceRecord.Employee.LastName; diff --git a/ReportImp/Nous/NOUS Logo_neu.jpg b/ReportImp/Nous/NOUS Logo_neu.jpg new file mode 100644 index 000000000..65692d421 Binary files /dev/null and b/ReportImp/Nous/NOUS Logo_neu.jpg differ diff --git a/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs b/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs index ec0b4d211..29f043e85 100644 --- a/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs +++ b/ReportImp/Nous/RechnungFamilienhilfe.Designer.cs @@ -32,6 +32,8 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Rechnung)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.lblAdresseLeverkusen = new DevExpress.XtraReports.UI.XRRichText(); + this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox(); this.lblStandard = new DevExpress.XtraReports.UI.XRLabel(); this.lblAdresseStandard = new DevExpress.XtraReports.UI.XRRichText(); this.pbStandard = new DevExpress.XtraReports.UI.XRPictureBox(); @@ -79,15 +81,13 @@ this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); - this.pbLeverkusen = new DevExpress.XtraReports.UI.XRPictureBox(); - this.lblAdresseLeverkusen = new DevExpress.XtraReports.UI.XRRichText(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.lblAdresseLeverkusen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblAdresseStandard)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.lblAdresseLeverkusen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // @@ -111,6 +111,25 @@ this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.StylePriority.UseFont = false; // + // lblAdresseLeverkusen + // + this.lblAdresseLeverkusen.Font = new System.Drawing.Font("Arial", 8F); + this.lblAdresseLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.11107F); + this.lblAdresseLeverkusen.Name = "lblAdresseLeverkusen"; + this.lblAdresseLeverkusen.SerializableRtfString = resources.GetString("lblAdresseLeverkusen.SerializableRtfString"); + this.lblAdresseLeverkusen.SizeF = new System.Drawing.SizeF(393.1529F, 29.16666F); + this.lblAdresseLeverkusen.StylePriority.UseFont = false; + this.lblAdresseLeverkusen.Visible = false; + // + // pbLeverkusen + // + this.pbLeverkusen.Image = ((System.Drawing.Image)(resources.GetObject("pbLeverkusen.Image"))); + this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(500F, 0F); + this.pbLeverkusen.Name = "pbLeverkusen"; + this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F); + this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.pbLeverkusen.Visible = false; + // // lblStandard // this.lblStandard.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -456,9 +475,8 @@ this.lblTitel.StylePriority.UseBackColor = false; this.lblTitel.StylePriority.UseFont = false; this.lblTitel.StylePriority.UseTextAlignment = false; - this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Sozialpädagogische Familienhil" + - "fe nach §31 SGB VIII\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBir" + - "thdate!dd.MM.yyyy]"; + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] \r\n[CustomerLastName], [Custome" + + "rFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; this.lblTitel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // GroupFooter1 @@ -606,25 +624,6 @@ this.Detail2.HeightF = 20F; this.Detail2.Name = "Detail2"; // - // pbLeverkusen - // - this.pbLeverkusen.Image = ((System.Drawing.Image)(resources.GetObject("pbLeverkusen.Image"))); - this.pbLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(500F, 0F); - this.pbLeverkusen.Name = "pbLeverkusen"; - this.pbLeverkusen.SizeF = new System.Drawing.SizeF(169.3751F, 96.99999F); - this.pbLeverkusen.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - this.pbLeverkusen.Visible = false; - // - // lblAdresseLeverkusen - // - this.lblAdresseLeverkusen.Font = new System.Drawing.Font("Arial", 8F); - this.lblAdresseLeverkusen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.11107F); - this.lblAdresseLeverkusen.Name = "lblAdresseLeverkusen"; - this.lblAdresseLeverkusen.SerializableRtfString = resources.GetString("lblAdresseLeverkusen.SerializableRtfString"); - this.lblAdresseLeverkusen.SizeF = new System.Drawing.SizeF(393.1529F, 29.16666F); - this.lblAdresseLeverkusen.StylePriority.UseFont = false; - this.lblAdresseLeverkusen.Visible = false; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); @@ -650,12 +649,12 @@ this.PageWidth = 827; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.lblAdresseLeverkusen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblAdresseStandard)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.lblAdresseLeverkusen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); diff --git a/ReportImp/Nous/RechnungFamilienhilfe.cs b/ReportImp/Nous/RechnungFamilienhilfe.cs index 96a947f4b..ce42f436d 100644 --- a/ReportImp/Nous/RechnungFamilienhilfe.cs +++ b/ReportImp/Nous/RechnungFamilienhilfe.cs @@ -64,10 +64,73 @@ namespace Nous { ii.UnitDescription = String.Format("{0:0.00} FLS x {1:c}", ii.UnitCount, ii.AmountPerUnit); - if (ii.ServiceDescription != null && ii.ServiceDescription.Contains("Schul")) + if (ii.ServiceDescription == null) { - 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]"; + ii.ServiceDescription = "Fallpauschale"; + ii.UnitDescription = ii.UnitDescription.Replace(" FLS", ""); } + else + { + // Familienhilfe Fachkraft + if (ii.ServiceDescription == "Sozialpädagogische Familienhilfe nach §31 SGB VIII") + { + 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]"; + ii.ServiceDescription = "Fachkraft"; + } + // Flexhilfe Fachkraft + else if (ii.ServiceDescription == "Flexible Erziehungshilfe nach §27 Abs. 2 SGB VIII") + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Flexible Erziehungshilfe nach §27 Abs. 2 SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Fachkraft"; + } + // INSPE Fachkraft + else if (ii.ServiceDescription == "Intensive sozialpädagogische Betreuung nach §35 SGB VIII") + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Intensive sozialpädagogische Betreuung nach §35 SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Fachkraft"; + } + // EGH KJ + else if (ii.ServiceDescription == "Eingliederungshilfe für Kinder und Jugendliche mit seelischer Behinderung nach §35a SGB VIII") + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Eingliederungshilfe für Kinder und Jugendliche mit seelischer Behinderung nach §35a SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Fachkraft"; + } + // Familienhilfe Ergänzungskraft + else if (ii.ServiceDescription == "Sozialpädagogische Familienhilfe nach §31 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"; + } + // Schulbegleitung Fachkraft + else if (ii.ServiceDescription.Contains("Schulbegleitung nach §35a SGB VIII")) + { + if (ii.ServiceDescription == "1 Schulbegleitung nach §35a SGB VIII") + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Schulbegleitung nach §35a SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Assistenzkraft 1"; + } + else if (ii.ServiceDescription == "2 Schulbegleitung nach §35a SGB VIII") + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Schulbegleitung nach §35a SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Assistenzkraft 2"; + } + else + { + this.lblTitel.Text = "Rechnung \r\nMonat [AccountingPeriodStart!MMMM yyyy] Schulbegleitung nach §35a SGB VIII für\r\n[CustomerLastName], [CustomerFirstName] geb.: [CustomerBirthdate!dd.MM.yyyy]"; + ii.ServiceDescription = "Fachkraft"; + } + } + 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]"; + ii.ServiceDescription = "Fachkraft"; + } + else + { + ii.ServiceDescription = "Fachkraft"; + } + } + } }