From 54e17c275d048e73bad4be8d48b1e2f41cd51a60 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 19 Aug 2025 11:27:22 +0200 Subject: [PATCH 1/4] =?UTF-8?q?DiakonischesWerkDinslakenJuDi/Invoicing/=20?= =?UTF-8?q?-=20Anpassung=20f=C3=BCr=20Verschiedene=20Leistungsbereiche=20(?= =?UTF-8?q?Kategorien)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DiakonischesWerkDinslakenJuDi.csproj | 2 + .../Invoicing/CustomInvoiceCreation.cs | 41 + .../Invoicing/CustomInvoiceFactory.cs | 18 + .../ServiceInvoiceReport.Designer.cs | 814 +++++++++--------- .../ServiceInvoiceReport.cs | 29 +- 5 files changed, 494 insertions(+), 410 deletions(-) create mode 100644 ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceCreation.cs create mode 100644 ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceFactory.cs diff --git a/ReportImp/DiakonischesWerkDinslakenJuDi/DiakonischesWerkDinslakenJuDi.csproj b/ReportImp/DiakonischesWerkDinslakenJuDi/DiakonischesWerkDinslakenJuDi.csproj index 611fe6c53..298e512de 100644 --- a/ReportImp/DiakonischesWerkDinslakenJuDi/DiakonischesWerkDinslakenJuDi.csproj +++ b/ReportImp/DiakonischesWerkDinslakenJuDi/DiakonischesWerkDinslakenJuDi.csproj @@ -55,6 +55,8 @@ + + Component diff --git a/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceCreation.cs b/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceCreation.cs new file mode 100644 index 000000000..159d0cd54 --- /dev/null +++ b/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceCreation.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Invoicing; +using BeWo.Service.Plugins; +using BS.Shared; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; +using BS.Shared.Extensions; +using BS.Shared.Services; + +namespace DiakonischesWerkDinslakenJuDi.Invoicing +{ + + public class CustomInvoiceCreation : InvoiceCreation + { + public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc) + { + var ii = base.CreateInvoiceItem(iServiceRecord, scap, calc); + ii.ItemDescription = "Fachleistungsstunden "; + if (iServiceRecord.ServiceDescription.Category.Abbreviation.ToLower().Contains("spfh")) + { + ii.ItemDescription += "SPFH"; + } + else if (iServiceRecord.ServiceDescription.Category.Abbreviation.ToLower().Contains("bu")) + { + ii.ItemDescription += "BU"; + } + if (iServiceRecord.ServiceDescription.Category.Abbreviation.ToLower().Contains("ezb")) + { + ii.ItemDescription += "EZB"; + } + return ii; + } + } +} diff --git a/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceFactory.cs b/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceFactory.cs new file mode 100644 index 000000000..95e7ff4ef --- /dev/null +++ b/ReportImp/DiakonischesWerkDinslakenJuDi/Invoicing/CustomInvoiceFactory.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.Invoicing; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; + +namespace DiakonischesWerkDinslakenJuDi.Invoicing +{ + public class CustomInvoiceFactory : InvoiceFactory + { + public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords) + { + return new CustomInvoiceCreation(); + } + } +} diff --git a/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.Designer.cs b/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.Designer.cs index 5e59f90bd..ae8edbf97 100644 --- a/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.Designer.cs @@ -39,31 +39,10 @@ namespace DiakonischesWerkDinslakenJuDi this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.lblAddress = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); - this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); - this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); - this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -84,23 +63,44 @@ namespace DiakonischesWerkDinslakenJuDi this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.lblAddress = new DevExpress.XtraReports.UI.XRLabel(); + this.lblBetreff = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); - this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); @@ -168,6 +168,39 @@ namespace DiakonischesWerkDinslakenJuDi this.xrLabel19}); this.bottomMarginBand1.HeightF = 60.2499F; this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // xrLabel17 + // + this.xrLabel17.BackColor = System.Drawing.Color.Transparent; + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("arial", 7F); + this.xrLabel17.ForeColor = System.Drawing.Color.Gray; + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 4.000028F); + 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(456.7835F, 56.24987F); + this.xrLabel17.StylePriority.UseBackColor = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UseForeColor = false; + this.xrLabel17.Text = "Diakonisches Werk des Evangelischen Kirchenkreises Dinslaken Duisburger Str. 103," + + " 46535 Dinslaken\r\nTel: 02064 - 4347-10, Fax: 02064 - 4347-19\r\n[SenderContactPers" + + "onMail]\r\nSteuernummer: 101/5765/0203"; + // + // xrLabel19 + // + this.xrLabel19.BackColor = System.Drawing.Color.Transparent; + this.xrLabel19.Font = new DevExpress.Drawing.DXFont("arial", 7F); + this.xrLabel19.ForeColor = System.Drawing.Color.Gray; + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(456.7836F, 4.000024F); + this.xrLabel19.Multiline = true; + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(193.9316F, 56.24987F); + this.xrLabel19.StylePriority.UseBackColor = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UseForeColor = false; + this.xrLabel19.Text = "Bankverbindung\r\nBank für Kirche und Diakonie - KD-Bank\r\nIBAN: DE33 3506 0190 1088" + + " 4070 20\r\nBIC: GENODED1DKD\r\n"; // // Page1 // @@ -177,7 +210,7 @@ namespace DiakonischesWerkDinslakenJuDi this.xrTable3, this.xrPageInfo2, this.lblAddress, - this.xrLabel3, + this.lblBetreff, this.xrLabel2, this.xrLabel5, this.lblAbrechnungszeitraum}); @@ -187,6 +220,271 @@ namespace DiakonischesWerkDinslakenJuDi this.Page1.Name = "Page1"; this.Page1.StylePriority.UseFont = false; // + // xrLabel4 + // + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 327.0159F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(317F, 17F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.Text = "Aktenzeichen: [CustomerReferenceNumber]"; + // + // xrTable2 + // + this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(369F, 132.2184F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow4, + this.xrTableRow3, + this.xrTableRow5}); + this.xrTable2.SizeF = new System.Drawing.SizeF(282.9999F, 75F); + this.xrTable2.StylePriority.UseFont = false; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell16, + this.xrTableCell17}); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Weight = 1D; + // + // xrTableCell16 + // + this.xrTableCell16.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell16.BorderColor = System.Drawing.Color.Black; + this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); + this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell16.StylePriority.UseBackColor = false; + this.xrTableCell16.StylePriority.UseBorderColor = false; + this.xrTableCell16.StylePriority.UseBorders = false; + this.xrTableCell16.StylePriority.UseFont = false; + this.xrTableCell16.StylePriority.UsePadding = false; + this.xrTableCell16.StylePriority.UseTextAlignment = false; + this.xrTableCell16.Text = "Rechnungsnummer"; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell16.Weight = 0.53122486267026214D; + // + // xrTableCell17 + // + this.xrTableCell17.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell17.BorderColor = System.Drawing.Color.Black; + this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")}); + this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell17.StylePriority.UseBackColor = false; + this.xrTableCell17.StylePriority.UseBorderColor = false; + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UseFont = false; + this.xrTableCell17.StylePriority.UsePadding = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell17.Weight = 0.53122488360866615D; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1, + this.xrTableCell13}); + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 1D; + // + // xrTableCell1 + // + this.xrTableCell1.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell1.BorderColor = System.Drawing.Color.Black; + this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell1.StylePriority.UseBackColor = false; + this.xrTableCell1.StylePriority.UseBorderColor = false; + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.StylePriority.UsePadding = false; + this.xrTableCell1.StylePriority.UseTextAlignment = false; + this.xrTableCell1.Text = "Rechnungsdatum"; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell1.Weight = 0.53122486267026214D; + // + // xrTableCell13 + // + this.xrTableCell13.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell13.BorderColor = System.Drawing.Color.Black; + this.xrTableCell13.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "{0:dd.MM.yyyy}")}); + this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, 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, 2, 2, 2, 100F); + this.xrTableCell13.StylePriority.UseBackColor = false; + this.xrTableCell13.StylePriority.UseBorderColor = false; + this.xrTableCell13.StylePriority.UseBorders = false; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell13.Weight = 0.53122488360866615D; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell6, + this.xrTableCell7}); + this.xrTableRow5.Name = "xrTableRow5"; + this.xrTableRow5.Weight = 1D; + // + // xrTableCell6 + // + this.xrTableCell6.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell6.BorderColor = System.Drawing.Color.Black; + this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell6.BorderWidth = 1F; + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell6.StylePriority.UseBackColor = false; + this.xrTableCell6.StylePriority.UseBorderColor = false; + this.xrTableCell6.StylePriority.UseBorders = false; + this.xrTableCell6.StylePriority.UseBorderWidth = false; + this.xrTableCell6.StylePriority.UseFont = false; + this.xrTableCell6.StylePriority.UsePadding = false; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "Kundennummer"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell6.Weight = 0.53122486267026214D; + // + // xrTableCell7 + // + this.xrTableCell7.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell7.BorderColor = System.Drawing.Color.Black; + this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell7.BorderWidth = 1F; + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrganisationDebitorNumber")}); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell7.StylePriority.UseBackColor = false; + this.xrTableCell7.StylePriority.UseBorderColor = false; + this.xrTableCell7.StylePriority.UseBorders = false; + this.xrTableCell7.StylePriority.UseBorderWidth = false; + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell7.Weight = 0.53122488360866615D; + // + // xrTable3 + // + this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(369.0001F, 32.99999F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6, + this.xrTableRow7, + this.xrTableRow8, + this.xrTableRow9}); + this.xrTable3.SizeF = new System.Drawing.SizeF(283F, 80F); + this.xrTable3.StylePriority.UseFont = false; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell10}); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.Weight = 0.13245033112582783D; + // + // xrTableCell10 + // + this.xrTableCell10.CanShrink = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell10.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.Text = "Ihr(e) Ansprechpartner(in):"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell10.Weight = 1D; + // + // xrTableRow7 + // + this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell11}); + this.xrTableRow7.Name = "xrTableRow7"; + this.xrTableRow7.Weight = 0.13245033112582783D; + // + // xrTableCell11 + // + this.xrTableCell11.CanShrink = true; + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell11.StylePriority.UseFont = false; + this.xrTableCell11.StylePriority.UseTextAlignment = false; + this.xrTableCell11.Text = "[SenderContactPerson]"; + this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell11.Weight = 1D; + // + // xrTableRow8 + // + this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2}); + this.xrTableRow8.Name = "xrTableRow8"; + this.xrTableRow8.Weight = 0.13245033112582783D; + // + // xrTableCell2 + // + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")}); + this.xrTableCell2.Multiline = true; + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "xrTableCell2"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell2.Weight = 1D; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell15}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Weight = 0.13245033112582783D; + // + // xrTableCell15 + // + this.xrTableCell15.CanShrink = true; + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell15.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell15.StylePriority.UseFont = false; + this.xrTableCell15.StylePriority.UseTextAlignment = false; + this.xrTableCell15.Text = "[SenderContactPersonMail]"; + this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell15.Weight = 1D; + // + // xrPageInfo2 + // + this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(498.9165F, 10.00001F); + this.xrPageInfo2.Name = "xrPageInfo2"; + this.xrPageInfo2.SizeF = new System.Drawing.SizeF(153.0834F, 23F); + this.xrPageInfo2.StylePriority.UseFont = false; + this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrPageInfo2.TextFormatString = "Seite {0} von {1}"; + // // lblAddress // this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); @@ -198,22 +496,22 @@ namespace DiakonischesWerkDinslakenJuDi this.lblAddress.Text = "[RecipientOrganisation]\r\n[RecipientContactPerson]\r\n[RecipientDivision]\r\n\r\n[Recipi" + "entStreet]\r\n[RecipientPostCodeAndTown]"; // - // xrLabel3 + // lblBetreff // - this.xrLabel3.BackColor = System.Drawing.Color.Transparent; - this.xrLabel3.CanShrink = true; - this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 277.0913F); - 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(651.9999F, 38.75003F); - this.xrLabel3.StylePriority.UseBackColor = false; - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "Rechnung für Leistungen gem. §§ 27 ff SGB VIII Sozialpädagogische Hilfe und Erzie" + + this.lblBetreff.BackColor = System.Drawing.Color.Transparent; + this.lblBetreff.CanShrink = true; + this.lblBetreff.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblBetreff.LocationFloat = new DevExpress.Utils.PointFloat(0F, 277.0913F); + this.lblBetreff.Multiline = true; + this.lblBetreff.Name = "lblBetreff"; + this.lblBetreff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblBetreff.SizeF = new System.Drawing.SizeF(651.9999F, 38.75003F); + this.lblBetreff.StylePriority.UseBackColor = false; + this.lblBetreff.StylePriority.UseFont = false; + this.lblBetreff.Text = "Rechnung für Leistungen gem. §§ 27 ff SGB VIII Sozialpädagogische Hilfe und Erzie" + "hungsbeistandschaft für\r\n[CustomerSalutation] [CustomerName], [CustomerStreet], " + "[CustomerPostalCode] [CustomerTown]"; - this.xrLabel3.WordWrap = false; + this.lblBetreff.WordWrap = false; // // xrLabel2 // @@ -228,6 +526,28 @@ namespace DiakonischesWerkDinslakenJuDi this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.Text = "Rechnung"; this.xrLabel2.WordWrap = false; + // + // xrLabel5 + // + this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 364.5159F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; + // + // lblAbrechnungszeitraum + // + this.lblAbrechnungszeitraum.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 389.5159F); + this.lblAbrechnungszeitraum.Multiline = true; + this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum"; + this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(651.9999F, 31.58334F); + this.lblAbrechnungszeitraum.StylePriority.UseFont = false; + this.lblAbrechnungszeitraum.Text = "gemäß dem angefügten Leistungsnachweis, stellen wir Ihnen folgende Kosten in Rech" + + "nung:"; // // xrLabel14 // @@ -507,357 +827,6 @@ namespace DiakonischesWerkDinslakenJuDi this.GroupFooter1.Name = "GroupFooter1"; this.GroupFooter1.StylePriority.UseFont = false; // - // xrLabel1 - // - this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim", "Gesamtsumme: {0}")}); - this.xrLabel1.Font = new DevExpress.Drawing.DXFont("arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(394.1667F, 0F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(257.8335F, 25F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UsePadding = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "xrLabel1"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - // - // xrTable2 - // - this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(369F, 132.2184F); - this.xrTable2.Name = "xrTable2"; - this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow4, - this.xrTableRow3, - this.xrTableRow5}); - this.xrTable2.SizeF = new System.Drawing.SizeF(282.9999F, 75F); - this.xrTable2.StylePriority.UseFont = false; - // - // xrTableRow4 - // - this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell16, - this.xrTableCell17}); - this.xrTableRow4.Name = "xrTableRow4"; - this.xrTableRow4.Weight = 1D; - // - // xrTableCell16 - // - this.xrTableCell16.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell16.BorderColor = System.Drawing.Color.Black; - this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); - this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrTableCell16.Name = "xrTableCell16"; - this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell16.StylePriority.UseBackColor = false; - this.xrTableCell16.StylePriority.UseBorderColor = false; - this.xrTableCell16.StylePriority.UseBorders = false; - this.xrTableCell16.StylePriority.UseFont = false; - this.xrTableCell16.StylePriority.UsePadding = false; - this.xrTableCell16.StylePriority.UseTextAlignment = false; - this.xrTableCell16.Text = "Rechnungsnummer"; - this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell16.Weight = 0.53122486267026214D; - // - // xrTableCell17 - // - this.xrTableCell17.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell17.BorderColor = System.Drawing.Color.Black; - this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")}); - this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrTableCell17.Name = "xrTableCell17"; - this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell17.StylePriority.UseBackColor = false; - this.xrTableCell17.StylePriority.UseBorderColor = false; - this.xrTableCell17.StylePriority.UseBorders = false; - this.xrTableCell17.StylePriority.UseFont = false; - this.xrTableCell17.StylePriority.UsePadding = false; - this.xrTableCell17.StylePriority.UseTextAlignment = false; - this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell17.Weight = 0.53122488360866615D; - // - // xrTableRow3 - // - this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell1, - this.xrTableCell13}); - this.xrTableRow3.Name = "xrTableRow3"; - this.xrTableRow3.Weight = 1D; - // - // xrTableCell1 - // - this.xrTableCell1.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell1.BorderColor = System.Drawing.Color.Black; - this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.Left; - this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell1.StylePriority.UseBackColor = false; - this.xrTableCell1.StylePriority.UseBorderColor = false; - this.xrTableCell1.StylePriority.UseBorders = false; - this.xrTableCell1.StylePriority.UseFont = false; - this.xrTableCell1.StylePriority.UsePadding = false; - this.xrTableCell1.StylePriority.UseTextAlignment = false; - this.xrTableCell1.Text = "Rechnungsdatum"; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell1.Weight = 0.53122486267026214D; - // - // xrTableCell13 - // - this.xrTableCell13.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell13.BorderColor = System.Drawing.Color.Black; - this.xrTableCell13.Borders = DevExpress.XtraPrinting.BorderSide.Right; - this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "{0:dd.MM.yyyy}")}); - this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold, 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, 2, 2, 2, 100F); - this.xrTableCell13.StylePriority.UseBackColor = false; - this.xrTableCell13.StylePriority.UseBorderColor = false; - this.xrTableCell13.StylePriority.UseBorders = false; - this.xrTableCell13.StylePriority.UseFont = false; - this.xrTableCell13.StylePriority.UsePadding = false; - this.xrTableCell13.StylePriority.UseTextAlignment = false; - this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell13.Weight = 0.53122488360866615D; - // - // xrTableRow5 - // - this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell6, - this.xrTableCell7}); - this.xrTableRow5.Name = "xrTableRow5"; - this.xrTableRow5.Weight = 1D; - // - // xrTableCell6 - // - this.xrTableCell6.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell6.BorderColor = System.Drawing.Color.Black; - this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell6.BorderWidth = 1F; - this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrTableCell6.Name = "xrTableCell6"; - this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell6.StylePriority.UseBackColor = false; - this.xrTableCell6.StylePriority.UseBorderColor = false; - this.xrTableCell6.StylePriority.UseBorders = false; - this.xrTableCell6.StylePriority.UseBorderWidth = false; - this.xrTableCell6.StylePriority.UseFont = false; - this.xrTableCell6.StylePriority.UsePadding = false; - this.xrTableCell6.StylePriority.UseTextAlignment = false; - this.xrTableCell6.Text = "Kundennummer"; - this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell6.Weight = 0.53122486267026214D; - // - // xrTableCell7 - // - this.xrTableCell7.BackColor = System.Drawing.Color.Transparent; - this.xrTableCell7.BorderColor = System.Drawing.Color.Black; - this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell7.BorderWidth = 1F; - this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrganisationDebitorNumber")}); - this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrTableCell7.Name = "xrTableCell7"; - this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell7.StylePriority.UseBackColor = false; - this.xrTableCell7.StylePriority.UseBorderColor = false; - this.xrTableCell7.StylePriority.UseBorders = false; - this.xrTableCell7.StylePriority.UseBorderWidth = false; - this.xrTableCell7.StylePriority.UseFont = false; - this.xrTableCell7.StylePriority.UsePadding = false; - this.xrTableCell7.StylePriority.UseTextAlignment = false; - this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell7.Weight = 0.53122488360866615D; - // - // xrTable3 - // - this.xrTable3.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(369.0001F, 32.99999F); - this.xrTable3.Name = "xrTable3"; - this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow6, - this.xrTableRow7, - this.xrTableRow8, - this.xrTableRow9}); - this.xrTable3.SizeF = new System.Drawing.SizeF(283F, 80F); - this.xrTable3.StylePriority.UseFont = false; - // - // xrTableRow6 - // - this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell10}); - this.xrTableRow6.Name = "xrTableRow6"; - this.xrTableRow6.Weight = 0.13245033112582783D; - // - // xrTableCell10 - // - this.xrTableCell10.CanShrink = true; - this.xrTableCell10.Name = "xrTableCell10"; - this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell10.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell10.StylePriority.UseFont = false; - this.xrTableCell10.StylePriority.UseTextAlignment = false; - this.xrTableCell10.Text = "Ihr(e) Ansprechpartner(in):"; - this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell10.Weight = 1D; - // - // xrTableRow7 - // - this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell11}); - this.xrTableRow7.Name = "xrTableRow7"; - this.xrTableRow7.Weight = 0.13245033112582783D; - // - // xrTableCell11 - // - this.xrTableCell11.CanShrink = true; - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell11.StylePriority.UseFont = false; - this.xrTableCell11.StylePriority.UseTextAlignment = false; - this.xrTableCell11.Text = "[SenderContactPerson]"; - this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell11.Weight = 1D; - // - // xrTableRow8 - // - this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell2}); - this.xrTableRow8.Name = "xrTableRow8"; - this.xrTableRow8.Weight = 0.13245033112582783D; - // - // xrTableCell2 - // - this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "SenderContactPersonPhone")}); - this.xrTableCell2.Multiline = true; - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell2.StylePriority.UseFont = false; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "xrTableCell2"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell2.Weight = 1D; - // - // xrTableRow9 - // - this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell15}); - this.xrTableRow9.Name = "xrTableRow9"; - this.xrTableRow9.Weight = 0.13245033112582783D; - // - // xrTableCell15 - // - this.xrTableCell15.CanShrink = true; - this.xrTableCell15.Name = "xrTableCell15"; - this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell15.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell15.StylePriority.UseFont = false; - this.xrTableCell15.StylePriority.UseTextAlignment = false; - this.xrTableCell15.Text = "[SenderContactPersonMail]"; - this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell15.Weight = 1D; - // - // xrPageInfo2 - // - this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(498.9165F, 10.00001F); - this.xrPageInfo2.Name = "xrPageInfo2"; - this.xrPageInfo2.SizeF = new System.Drawing.SizeF(153.0834F, 23F); - this.xrPageInfo2.StylePriority.UseFont = false; - this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrPageInfo2.TextFormatString = "Seite {0} von {1}"; - // - // xrLabel5 - // - this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 364.5159F); - this.xrLabel5.Name = "xrLabel5"; - this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F); - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; - // - // lblAbrechnungszeitraum - // - this.lblAbrechnungszeitraum.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 389.5159F); - this.lblAbrechnungszeitraum.Multiline = true; - this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum"; - this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(651.9999F, 31.58334F); - this.lblAbrechnungszeitraum.StylePriority.UseFont = false; - this.lblAbrechnungszeitraum.Text = "gemäß dem angefügten Leistungsnachweis, stellen wir Ihnen folgende Kosten in Rech" + - "nung:"; - // - // xrLabel17 - // - this.xrLabel17.BackColor = System.Drawing.Color.Transparent; - this.xrLabel17.Font = new DevExpress.Drawing.DXFont("arial", 7F); - this.xrLabel17.ForeColor = System.Drawing.Color.Gray; - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 4.000028F); - 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(456.7835F, 56.24987F); - this.xrLabel17.StylePriority.UseBackColor = false; - this.xrLabel17.StylePriority.UseFont = false; - this.xrLabel17.StylePriority.UseForeColor = false; - this.xrLabel17.Text = "Diakonisches Werk des Evangelischen Kirchenkreises Dinslaken Duisburger Str. 103," + - " 46535 Dinslaken\r\nTel: 02064 - 4347-10, Fax: 02064 - 4347-19\r\n[SenderContactPers" + - "onMail]\r\nSteuernummer: 101/5765/0203"; - // - // xrLabel19 - // - this.xrLabel19.BackColor = System.Drawing.Color.Transparent; - this.xrLabel19.Font = new DevExpress.Drawing.DXFont("arial", 7F); - this.xrLabel19.ForeColor = System.Drawing.Color.Gray; - this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(456.7836F, 4.000024F); - this.xrLabel19.Multiline = true; - this.xrLabel19.Name = "xrLabel19"; - this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel19.SizeF = new System.Drawing.SizeF(193.9316F, 56.24987F); - this.xrLabel19.StylePriority.UseBackColor = false; - this.xrLabel19.StylePriority.UseFont = false; - this.xrLabel19.StylePriority.UseForeColor = false; - this.xrLabel19.Text = "Bankverbindung\r\nBank für Kirche und Diakonie - KD-Bank\r\nIBAN: DE33 3506 0190 1088" + - " 4070 20\r\nBIC: GENODED1DKD\r\n"; - // - // lblNotice - // - this.lblNotice.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Italic, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 87.49997F); - this.lblNotice.Name = "lblNotice"; - this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 17F); - this.lblNotice.StylePriority.UseFont = false; - this.lblNotice.Text = "Abschließende Bemerkungen:"; - // - // xrLabel8 - // - this.xrLabel8.BackColor = System.Drawing.Color.Transparent; - this.xrLabel8.CanShrink = true; - this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 47.49994F); - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(650.7152F, 20F); - this.xrLabel8.StylePriority.UseBackColor = false; - this.xrLabel8.StylePriority.UseFont = false; - this.xrLabel8.Text = "Zahlungsbedingungen: 10 Tage netto"; - this.xrLabel8.WordWrap = false; - // // xrTable4 // this.xrTable4.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { @@ -899,15 +868,46 @@ namespace DiakonischesWerkDinslakenJuDi this.xrTableCell19.Name = "xrTableCell19"; this.xrTableCell19.Weight = 3D; // - // xrLabel4 + // lblNotice // - this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 9F); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 327.0159F); - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(317F, 17F); - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.Text = "Aktenzeichen: [CustomerReferenceNumber]"; + this.lblNotice.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Italic, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 87.49997F); + this.lblNotice.Name = "lblNotice"; + this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 17F); + this.lblNotice.StylePriority.UseFont = false; + this.lblNotice.Text = "Abschließende Bemerkungen:"; + // + // xrLabel8 + // + this.xrLabel8.BackColor = System.Drawing.Color.Transparent; + this.xrLabel8.CanShrink = true; + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 47.49994F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(650.7152F, 20F); + this.xrLabel8.StylePriority.UseBackColor = false; + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.Text = "Zahlungsbedingungen: 10 Tage netto"; + this.xrLabel8.WordWrap = false; + // + // xrLabel1 + // + this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim", "Gesamtsumme: {0}")}); + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(394.1667F, 0F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(257.8335F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UsePadding = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "xrLabel1"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // bindingSource1 // @@ -934,10 +934,10 @@ namespace DiakonischesWerkDinslakenJuDi this.Version = "23.2"; xrWatermark1.Id = "Watermark1"; this.Watermarks.Add(xrWatermark1); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); @@ -952,7 +952,7 @@ namespace DiakonischesWerkDinslakenJuDi private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; private DevExpress.XtraReports.UI.GroupHeaderBand Page1; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel lblBetreff; private DevExpress.XtraReports.UI.XRLabel xrLabel2; private DevExpress.XtraReports.UI.XRLabel xrLabel14; private DevExpress.XtraReports.UI.DetailReportBand DetailReport; diff --git a/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.cs b/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.cs index 6ce6311a2..ce2dd78e6 100644 --- a/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.cs +++ b/ReportImp/DiakonischesWerkDinslakenJuDi/ServiceInvoiceReport.cs @@ -1,4 +1,5 @@ using System; +using System.Linq; using System.Text; using BeWo.Report; using BeWo.Report.ReportObjects; @@ -47,10 +48,32 @@ namespace DiakonischesWerkDinslakenJuDi { if (sip.ServiceInvoiceItems != null && sip.ServiceInvoiceItems.Count > 0) { - foreach (var ii in sip.ServiceInvoiceItems) + if (pRO.InvoiceDateTime < new DateTime(2025, 08, 18)) // ursprünglich alles nur für § 27 SPFH designed + { + foreach (var ii in sip.ServiceInvoiceItems) + { + ii.ServiceDescription = "Fachleistungsstunden SPFH"; + } + } + else { - ii.ServiceDescription = "Fachleistungsstunden SPFH"; - } + if (sip.ServiceInvoiceItems.Any(ii => ii.ServiceDescription.Contains("EZB") && ii.ServiceDescription.Contains("SFPH"))) + { + // lass es so wie in der Vorlage + } + else if (sip.ServiceInvoiceItems.Any(ii => ii.ServiceDescription.Contains("EZB"))) + { + lblBetreff.Text = "Rechnung für Leistungen gem. §§ 30 SGB VIII Erziehungsbeistandschaft für \n[CustomerSalutation] [CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]"; + } + else if (sip.ServiceInvoiceItems.Any(ii => ii.ServiceDescription.Contains("SPFH"))) + { + lblBetreff.Text = "Rechnung für Leistungen gem. §§ 31 SGB VIII Sozialpädagogische Hilfe für \n[CustomerSalutation] [CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]"; + } + else if (sip.ServiceInvoiceItems.Any(ii => ii.ServiceDescription.Contains("SPFH"))) + { + lblBetreff.Text = "Rechnung für Leistungen gem. §§ 18 SGB VIII Begleiteter Umgang für \n[CustomerSalutation] [CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]"; + } + } } } } From b970e9deadea377d1218c9ca88f29d555f0a044d Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 19 Aug 2025 11:45:30 +0200 Subject: [PATCH 2/4] =?UTF-8?q?FeidPartnerReports/Invoicing/CollectiveInvo?= =?UTF-8?q?iceCreation=20-=20Fahrtkosten=20auch=20f=C3=BCr=20nachtr=C3=A4g?= =?UTF-8?q?liche=20Erstellung=20getunt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Invoicing/CollectiveInvoiceCreation.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ReportImp/FeidPartnerReports/Invoicing/CollectiveInvoiceCreation.cs b/ReportImp/FeidPartnerReports/Invoicing/CollectiveInvoiceCreation.cs index 97408c504..6159e068d 100644 --- a/ReportImp/FeidPartnerReports/Invoicing/CollectiveInvoiceCreation.cs +++ b/ReportImp/FeidPartnerReports/Invoicing/CollectiveInvoiceCreation.cs @@ -22,6 +22,7 @@ namespace FeidPartnerReports.Invoicing private DateTime? accountingPeriodStart = null; private DateTime? accountingPeriodEnd = null; private decimal AMOUNT_PER_KMQA = 0.0222m; + private bool monthly = true; public override void SetInvoiceId(ServiceInvoice invoice) { @@ -78,6 +79,7 @@ namespace FeidPartnerReports.Invoicing // dann monatliche Rechnungsposition else { + monthly = false; var monthlyDict = data .GroupBy(e => new DateTime(e.BillingPeriodStart.Value.Year, e.BillingPeriodStart.Value.Month, 1)) .ToDictionary( @@ -146,6 +148,14 @@ namespace FeidPartnerReports.Invoicing if (supportConceptApprovalPeriod.ApprovedBEPerInterval.HasValue) { ii.Notice = String.Format("{0:n0}", supportConceptApprovalPeriod.ApprovedBEPerInterval.Value); + if (!monthly) // Bei Nachberechnung muss der Preis monatlich geprüft werden + { + var pauschVar = base.GetPreis("Fahrzeitenzuschlag qA", start); + if (pauschVar != 0) + { + AMOUNT_PER_KMQA = pauschVar; + } + } if (supportConceptApprovalPeriod.ServiceCategory.Name.Contains("Fahrzeit")) { ii.AmountPerUnit = supportConceptApprovalPeriod.ApprovedBEPerInterval * AMOUNT_PER_KMQA; From c53e311133064ae4f3fe9ebaa47302ee2393ffed Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 19 Aug 2025 16:57:53 +0200 Subject: [PATCH 3/4] GerdasPflegedienst/FehlkontakteMeldepflichtig.cs --- .../FehlkontakteMeldepflichtig.cs | 97 ++++ .../FehlkontakteMeldepflichtig.designer.cs | 460 ++++++++++++++++++ .../FehlkontakteMeldepflichtig.resx | 120 +++++ .../GerdasPflegedienst.csproj | 11 + 4 files changed, 688 insertions(+) create mode 100644 ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.cs create mode 100644 ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.designer.cs create mode 100644 ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.resx diff --git a/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.cs b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.cs new file mode 100644 index 000000000..fd04970cc --- /dev/null +++ b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.cs @@ -0,0 +1,97 @@ +using System; +using System.Linq; +using System.Text; +using BS.Shared; +using BS.Shared.Extensions; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using BeWo.Data.Entities; +using BeWo.Data.Access; +using System.Collections.Generic; +using BS.Shared.Core; +using BS.Shared.Services; +using BS.Shared.DataContracts; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.ServiceImplementations; +using System.Data; + +namespace GerdasPflegedienst +{ + public partial class FehlkontakeMeldung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + + public FehlkontakeMeldung() + { + InitializeComponent(); + } + + public void SetReportDataSource(QueryRO pRO) + { + this.bindingSource1.DataSource = CreateDataSource(pRO); + } + + private QueryRO CreateDataSource(QueryRO ro) + { + QueryRO daten = new QueryRO(); + var supportConcepts = DAOFactory.GenericDAO.GetAllActive(); + supportConcepts = supportConcepts.OrderBy(s => s.Customer.Person.LastNameFirstName).ToList(); + + foreach (var sc in supportConcepts) + { + if (sc.CostBearer2SupportConceptList != null && sc.CostBearer2SupportConceptList.Count > 0) + { + foreach (CostBearer2SupportConcept c2s in sc.CostBearer2SupportConceptList) + { + var servicerecords = DAOFactory.SearchDAO.FindServiceRecords(null, c2s.Oid.Value); + List Fehlkontakte = null; + var ordered = servicerecords.OrderBy(sr => sr.Start).ToList(); + int streakStart = -1; + int streakCount = 0; + + for (int i = 0; i < ordered.Count; i++) + { + var sr = ordered[i]; + if (sr.ServiceDescription.Name.ToLower().Contains("fehlkontakt")) + { + if (streakCount == 0) + streakStart = i; + + streakCount++; + } + else + { + if (streakCount >= 3) + Fehlkontakte = ordered.GetRange(streakStart, streakCount); + + streakCount = 0; + streakStart = -1; + } + } + + // Letzte Serie prüfen + if (streakCount >= 3) + { + Fehlkontakte = ordered.GetRange(streakStart, streakCount); + } + if (Fehlkontakte != null && Fehlkontakte.Count > 0) + { + foreach (var rec in Fehlkontakte.OrderBy(r => r.Start)) + { + QueryRO.Row row = new QueryRO.Row(); + row.Field1 = sc.Customer.Person.LastName + ", " + sc.Customer.Person.FirstName; + row.Field2 = c2s.CostBearer.Organisation.Name + Environment.NewLine + String.Format("{0:dd.MM.yyyy} - {1:dd.MM.yyyy}", c2s.StartDate.Value, c2s.EndDate.Value); + row.Field3 = String.Format("{0:dd.MM.yyyy}", rec.Start); + row.Field4 = String.Format("{0:hh:mm} - {1:hh:mm}", rec.Start, rec.End); + row.Field5 = rec.Notice; + row.Field6 = rec.Employee.Person.LastNameFirstName; + daten.Rows.Add(row); + } + } + } + } + } + + return daten; + } + } +} diff --git a/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.designer.cs b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.designer.cs new file mode 100644 index 000000000..edbf2b9fa --- /dev/null +++ b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.designer.cs @@ -0,0 +1,460 @@ +using BeWo.Report.ReportObjects; +namespace GerdasPflegedienst +{ + partial class FehlkontakeMeldung + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 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.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand(); + this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); + this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle(); + this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); + this.DataField = new DevExpress.XtraReports.UI.XRControlStyle(); + this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Expanded = false; + this.Detail.HeightF = 0F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.Detail1.HeightF = 25F; + this.Detail1.KeepTogetherWithDetailReports = true; + this.Detail1.Name = "Detail1"; + this.Detail1.StylePriority.UseFont = false; + // + // xrTable2 + // + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTable2.SizeF = new System.Drawing.SizeF(1098F, 25F); + this.xrTable2.StylePriority.UseBorders = false; + this.xrTable2.StylePriority.UseFont = false; + this.xrTable2.StylePriority.UsePadding = false; + this.xrTable2.StylePriority.UseTextAlignment = false; + this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell6, + this.xrTableCell7, + this.xrTableCell8, + this.xrTableCell9, + this.xrTableCell10, + this.xrTableCell14}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1D; + // + // xrTableCell6 + // + this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field1")}); + this.xrTableCell6.Multiline = true; + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Text = "Klient/in"; + this.xrTableCell6.Weight = 0.66469718772791964D; + // + // xrTableCell7 + // + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field2")}); + this.xrTableCell7.Multiline = true; + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.Text = "Mitarbeiter/in"; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell7.Weight = 0.66469719163033114D; + // + // xrTableCell8 + // + this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field3")}); + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "FLS"; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell8.Weight = 0.332348602360991D; + // + // xrTableCell9 + // + this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field4")}); + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "Stundensatz"; + this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell9.Weight = 0.44313146334718212D; + // + // xrTableCell10 + // + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field5")}); + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.Text = "Gesamt"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell10.Weight = 2.187961325159308D; + // + // xrTableCell14 + // + this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Field6")}); + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.StylePriority.UseTextAlignment = false; + this.xrTableCell14.Text = "xrTableCell14"; + this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell14.Weight = 0.57274822670036962D; + // + // xrLabel13 + // + this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(666.9999F, 23F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.Text = "Drei oder mehr aufeinanderfolgende Fehlkontakte in allen aktiven Hilfeplänen"; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupFooter1, + this.GroupHeader2}); + this.DetailReport.DataMember = "Rows"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // GroupFooter1 + // + this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.GroupFooter1.HeightF = 0F; + this.GroupFooter1.Name = "GroupFooter1"; + this.GroupFooter1.StylePriority.UseFont = false; + // + // GroupHeader2 + // + this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable1}); + this.GroupHeader2.HeightF = 50F; + this.GroupHeader2.Name = "GroupHeader2"; + this.GroupHeader2.RepeatEveryPage = true; + // + // xrTable1 + // + this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(1098F, 50F); + this.xrTable1.StylePriority.UseBorders = false; + this.xrTable1.StylePriority.UseFont = false; + this.xrTable1.StylePriority.UsePadding = false; + this.xrTable1.StylePriority.UseTextAlignment = false; + this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1, + this.xrTableCell2, + this.xrTableCell3, + this.xrTableCell4, + this.xrTableCell5, + this.xrTableCell13}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Weight = 1.3953493323567705D; + // + // xrTableCell1 + // + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Text = "Klient/In"; + this.xrTableCell1.Weight = 0.66469718772791964D; + // + // xrTableCell2 + // + this.xrTableCell2.Multiline = true; + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "Kostenträger\r\nZeitraum Hilfeplan"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell2.Weight = 0.66469719163033092D; + // + // xrTableCell3 + // + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.Text = "Datum"; + this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell3.Weight = 0.33234860236099123D; + // + // xrTableCell4 + // + this.xrTableCell4.Multiline = true; + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "Uhrzeit"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell4.Weight = 0.44313146334718218D; + // + // xrTableCell5 + // + this.xrTableCell5.Multiline = true; + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.StylePriority.UseTextAlignment = false; + this.xrTableCell5.Text = "Dokumentation"; + this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell5.Weight = 2.1879613251593071D; + // + // xrTableCell13 + // + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "Mitarbeiter/in"; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell13.Weight = 0.57274822670036951D; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel13}); + this.ReportHeader.HeightF = 52.08333F; + this.ReportHeader.Name = "ReportHeader"; + // + // pageFooterBand1 + // + this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPageInfo2, + this.xrPageInfo1}); + this.pageFooterBand1.HeightF = 48F; + this.pageFooterBand1.Name = "pageFooterBand1"; + // + // xrPageInfo2 + // + this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F); + this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(724F, 25F); + this.xrPageInfo2.Name = "xrPageInfo2"; + this.xrPageInfo2.SizeF = new System.Drawing.SizeF(374.0001F, 23F); + this.xrPageInfo2.StyleName = "PageInfo"; + this.xrPageInfo2.StylePriority.UseFont = false; + this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrPageInfo2.TextFormatString = "Seite {0} von {1}"; + // + // xrPageInfo1 + // + this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F); + this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F); + this.xrPageInfo1.Name = "xrPageInfo1"; + this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; + this.xrPageInfo1.SizeF = new System.Drawing.SizeF(287F, 23F); + this.xrPageInfo1.StyleName = "PageInfo"; + this.xrPageInfo1.StylePriority.UseFont = false; + // + // Title + // + this.Title.BackColor = System.Drawing.Color.White; + this.Title.BorderColor = System.Drawing.SystemColors.ControlText; + this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.Title.BorderWidth = 1F; + this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F); + this.Title.ForeColor = System.Drawing.Color.Black; + this.Title.Name = "Title"; + // + // FieldCaption + // + this.FieldCaption.BackColor = System.Drawing.Color.White; + this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText; + this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.FieldCaption.BorderWidth = 1F; + this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.FieldCaption.ForeColor = System.Drawing.Color.Black; + this.FieldCaption.Name = "FieldCaption"; + // + // PageInfo + // + this.PageInfo.BackColor = System.Drawing.Color.White; + this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText; + this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.PageInfo.BorderWidth = 1F; + this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F); + this.PageInfo.ForeColor = System.Drawing.Color.Black; + this.PageInfo.Name = "PageInfo"; + // + // DataField + // + this.DataField.BackColor = System.Drawing.Color.White; + this.DataField.BorderColor = System.Drawing.SystemColors.ControlText; + this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.DataField.BorderWidth = 1F; + this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F); + this.DataField.ForeColor = System.Drawing.SystemColors.ControlText; + this.DataField.Name = "DataField"; + // + // fieldFLS + // + this.fieldFLS.DataMember = "FLSReportGroups"; + this.fieldFLS.DataSource = this.bindingSource1; + this.fieldFLS.Expression = "[TotalFLM] / 60"; + this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldFLS.Name = "fieldFLS"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 50F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 30F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.QueryRO); + // + // FehlkontakeMeldung + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.DetailReport, + this.ReportHeader, + this.pageFooterBand1, + this.topMarginBand1, + this.bottomMarginBand1}); + this.DataSource = this.bindingSource1; + this.DisplayName = "Finanzauswertung laufende HPs"; + this.Landscape = true; + this.Margins = new DevExpress.Drawing.DXMargins(39F, 32F, 50F, 30F); + this.PageHeight = 827; + this.PageWidth = 1169; + this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; + this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { + this.Title, + this.FieldCaption, + this.PageInfo, + this.DataField}); + this.Version = "23.2"; + xrWatermark1.Id = "Watermark1"; + this.Watermarks.Add(xrWatermark1); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).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.DetailBand Detail1; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1; + private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2; + private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1; + private DevExpress.XtraReports.UI.XRControlStyle Title; + private DevExpress.XtraReports.UI.XRControlStyle FieldCaption; + private DevExpress.XtraReports.UI.XRControlStyle PageInfo; + private DevExpress.XtraReports.UI.XRControlStyle DataField; + private DevExpress.XtraReports.UI.CalculatedField fieldFLS; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRTable xrTable2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + } +} diff --git a/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.resx b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.resx new file mode 100644 index 000000000..d58980a38 --- /dev/null +++ b/ReportImp/GerdasPflegedienst/FehlkontakteMeldepflichtig.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/GerdasPflegedienst/GerdasPflegedienst.csproj b/ReportImp/GerdasPflegedienst/GerdasPflegedienst.csproj index ade8c8d2d..e56afe584 100644 --- a/ReportImp/GerdasPflegedienst/GerdasPflegedienst.csproj +++ b/ReportImp/GerdasPflegedienst/GerdasPflegedienst.csproj @@ -33,12 +33,14 @@ false + + @@ -65,6 +67,12 @@ + + Component + + + FehlkontakteMeldepflichtig.cs + @@ -102,6 +110,9 @@ + + FehlkontakteMeldepflichtig.cs + JahresReport.cs From f1934b80522fa9446365cef64d9e35c3bddece20 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 19 Aug 2025 17:25:12 +0200 Subject: [PATCH 4/4] =?UTF-8?q?WegweiserBetreuungsdienstReports/RechnungSP?= =?UTF-8?q?FH=20-=20Leerzeilen=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RechnungSPFH.Designer.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ReportImp/WegweiserBetreuungsdienstReports/RechnungSPFH.Designer.cs b/ReportImp/WegweiserBetreuungsdienstReports/RechnungSPFH.Designer.cs index b9eff4ebd..238189e79 100644 --- a/ReportImp/WegweiserBetreuungsdienstReports/RechnungSPFH.Designer.cs +++ b/ReportImp/WegweiserBetreuungsdienstReports/RechnungSPFH.Designer.cs @@ -319,7 +319,7 @@ namespace BeWo.WegweiserBetreuungsdienstReports this.lblBetreff.BackColor = System.Drawing.Color.Transparent; this.lblBetreff.CanShrink = true; this.lblBetreff.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); - this.lblBetreff.LocationFloat = new DevExpress.Utils.PointFloat(0F, 295.2083F); + this.lblBetreff.LocationFloat = new DevExpress.Utils.PointFloat(0F, 242.0833F); this.lblBetreff.Name = "lblBetreff"; this.lblBetreff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lblBetreff.SizeF = new System.Drawing.SizeF(650F, 24.16667F); @@ -333,7 +333,7 @@ namespace BeWo.WegweiserBetreuungsdienstReports this.xrLabel2.BackColor = System.Drawing.Color.Transparent; this.xrLabel2.CanShrink = true; this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 275.2083F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 222.0833F); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 20F); @@ -347,7 +347,7 @@ namespace BeWo.WegweiserBetreuungsdienstReports this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")}); this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 8F); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(413.9997F, 165.9166F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(414.0004F, 192.9999F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel8.SizeF = new System.Drawing.SizeF(283F, 17.00001F); @@ -358,7 +358,7 @@ namespace BeWo.WegweiserBetreuungsdienstReports // // lblAbrechnungszeitraum // - this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(0F, 319.375F); + this.lblAbrechnungszeitraum.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 297.5F); this.lblAbrechnungszeitraum.Multiline = true; this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum"; this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);