From 2d2e23d0da4655035165a5d1cd482fed6b3bdce8 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 27 Dec 2022 18:47:27 +0100 Subject: [PATCH] =?UTF-8?q?EvVereinF=C3=BCrWohnraumhilfe=20mit=20PluginLoa?= =?UTF-8?q?der?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BeWoAllReports.sln | 27 + .../CollectiveBillingReport.Designer.cs | 1068 ++++++++--------- .../CollectiveBillingReport.cs | 36 +- .../CollectiveBillingReport.resx | 6 +- .../CollectiveBillingReport2.Designer.cs | 150 +-- .../CollectiveBillingReport2.cs | 15 +- .../CustomReportCreator.cs | 92 ++ .../EvVereinFürWohnraumhilfe.csproj | 14 + .../InvoiceCustomerReport.Designer.cs | 438 +++---- .../Invoicing/CollectiveInvoiceCreation.cs | 114 ++ .../Invoicing/CustomInvoiceFactory.cs | 23 + Service/Plugins/PluginLoader.cs | 9 +- 12 files changed, 1080 insertions(+), 912 deletions(-) create mode 100644 ReportImp/EvVereinFürWohnraumhilfe/CustomReportCreator.cs create mode 100644 ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CollectiveInvoiceCreation.cs create mode 100644 ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CustomInvoiceFactory.cs diff --git a/BeWoAllReports.sln b/BeWoAllReports.sln index 3805b16e4..ba29fe313 100644 --- a/BeWoAllReports.sln +++ b/BeWoAllReports.sln @@ -742,6 +742,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MobileEV", "ReportImp\Mobil EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PsychosozialeProjekteSaarpfalz", "ReportImp\PsychosozialeProjekteSaarpfalz\PsychosozialeProjekteSaarpfalz.csproj", "{182599E0-36D9-4804-8904-F28F40A79A5D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EvVereinFürWohnraumhilfe", "ReportImp\EvVereinFürWohnraumhilfe\EvVereinFürWohnraumhilfe.csproj", "{91FEDB73-0198-474D-9269-1034D0558886}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|.NET = Debug|.NET @@ -9029,6 +9031,30 @@ Global {182599E0-36D9-4804-8904-F28F40A79A5D}.Release|Mixed Platforms.Build.0 = Release|Any CPU {182599E0-36D9-4804-8904-F28F40A79A5D}.Release|x86.ActiveCfg = Release|Any CPU {182599E0-36D9-4804-8904-F28F40A79A5D}.Release|x86.Build.0 = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|.NET.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|.NET.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|Any CPU.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|x86.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Debug|x86.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|.NET.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|x86.ActiveCfg = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.DebugRemote|x86.Build.0 = Debug|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|.NET.ActiveCfg = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|.NET.Build.0 = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|Any CPU.ActiveCfg = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|Any CPU.Build.0 = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|x86.ActiveCfg = Release|Any CPU + {91FEDB73-0198-474D-9269-1034D0558886}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -9398,6 +9424,7 @@ Global {284983D5-2982-4A96-87B9-AEE265393D75} = {D8A691C5-146D-4613-86CC-438F02FE9106} {48BB802C-43AF-4A3D-93F0-AE88A18E155C} = {D8A691C5-146D-4613-86CC-438F02FE9106} {182599E0-36D9-4804-8904-F28F40A79A5D} = {D8A691C5-146D-4613-86CC-438F02FE9106} + {91FEDB73-0198-474D-9269-1034D0558886} = {D8A691C5-146D-4613-86CC-438F02FE9106} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9} diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.Designer.cs b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.Designer.cs index 128938469..6dd7dd220 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.Designer.cs +++ b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.Designer.cs @@ -1,7 +1,7 @@ using BeWo.Report.ReportObjects; namespace BeWo.Report.DefaultReports { - partial class Sammelrechnung + partial class SammelrechnungAnhang { /// /// Required designer variable. @@ -21,7 +21,7 @@ namespace BeWo.Report.DefaultReports base.Dispose(disposing); } - + /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. @@ -29,67 +29,54 @@ namespace BeWo.Report.DefaultReports private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sammelrechnung)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SammelrechnungAnhang)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); - this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.GroupFooter = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); - this.ruleNoticeNull = new DevExpress.XtraReports.UI.FormattingRule(); - this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow19 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); - this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = 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.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell36 = 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.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); - this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); - this.lblAddress = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.ruleNoticeNull = new DevExpress.XtraReports.UI.FormattingRule(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblAddress = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -99,13 +86,6 @@ namespace BeWo.Report.DefaultReports this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // - // ReportHeader - // - this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F); - this.ReportHeader.HeightF = 0F; - this.ReportHeader.Name = "ReportHeader"; - this.ReportHeader.StylePriority.UseFont = false; - // // ruleRateFactorNull // this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; @@ -115,341 +95,14 @@ namespace BeWo.Report.DefaultReports // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrPictureBox1}); - this.topMarginBand1.HeightF = 143F; - this.topMarginBand1.Name = "topMarginBand1"; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel8, - this.xrLabel12, - this.xrLabel13, - this.xrLabel6, - this.xrLabel7}); - this.bottomMarginBand1.HeightF = 131.7081F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // GroupFooter - // - this.GroupFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel10, - this.xrPictureBox2, - this.xrLabel17, - this.xrTable4}); - this.GroupFooter.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.GroupFooter.HeightF = 265.9167F; - this.GroupFooter.Name = "GroupFooter"; - this.GroupFooter.StylePriority.UseFont = false; - this.GroupFooter.StylePriority.UseTextAlignment = false; - this.GroupFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - // - // xrTable4 - // - this.xrTable4.Font = new System.Drawing.Font("Verdana", 10F); - this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0.9999593F, 9.999974F); - this.xrTable4.Name = "xrTable4"; - this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow7, - this.xrTableRow10, - this.xrTableRow14, - this.xrTableRow19, - this.xrTableRow24}); - this.xrTable4.SizeF = new System.Drawing.SizeF(626F, 68F); - this.xrTable4.StylePriority.UseFont = false; - // - // xrTableRow7 - // - this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell3}); - this.xrTableRow7.Name = "xrTableRow7"; - this.xrTableRow7.Weight = 0.38095238095238093D; - // - // xrTableCell3 - // - this.xrTableCell3.CanShrink = true; - this.xrTableCell3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Italic); - this.xrTableCell3.FormattingRules.Add(this.ruleNoticeNull); - this.xrTableCell3.Name = "xrTableCell3"; - this.xrTableCell3.StylePriority.UseFont = false; - this.xrTableCell3.Text = "Abschließende Bemerkungen:"; - this.xrTableCell3.Weight = 3D; - // - // ruleNoticeNull - // - this.ruleNoticeNull.Condition = "[Notice] == ?"; - this.ruleNoticeNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.ruleNoticeNull.Name = "ruleNoticeNull"; - // - // xrTableRow10 - // - this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell9}); - this.xrTableRow10.Name = "xrTableRow10"; - this.xrTableRow10.Weight = 0.38095238095238093D; - // - // xrTableCell9 - // - this.xrTableCell9.CanShrink = true; - this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); - this.xrTableCell9.Name = "xrTableCell9"; - this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell9.StylePriority.UsePadding = false; - this.xrTableCell9.Text = "xrTableCell1"; - this.xrTableCell9.Weight = 3D; - // - // xrTableRow14 - // - this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell12}); - this.xrTableRow14.Name = "xrTableRow14"; - this.xrTableRow14.Weight = 0.23809523809523808D; - // - // xrTableCell12 - // - this.xrTableCell12.Name = "xrTableCell12"; - this.xrTableCell12.Weight = 3D; - // - // xrTableRow19 - // - this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell14}); - this.xrTableRow19.Name = "xrTableRow19"; - this.xrTableRow19.Weight = 0.38095238095238088D; - // - // xrTableCell14 - // - this.xrTableCell14.CanShrink = true; - this.xrTableCell14.Name = "xrTableCell14"; - this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell14.StylePriority.UsePadding = false; - this.xrTableCell14.Text = "[NotBillableNote]"; - this.xrTableCell14.Weight = 3D; - // - // xrTableRow24 - // - this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell20}); - this.xrTableRow24.Name = "xrTableRow24"; - this.xrTableRow24.Weight = 0.23809523809523803D; - // - // xrTableCell20 - // - this.xrTableCell20.Name = "xrTableCell20"; - this.xrTableCell20.Weight = 3D; - // - // Page1 - // - this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel5, - this.lblAddress, - this.xrLabel4, - this.xrLabel9, this.xrLabel11, - this.xrLabel3, - this.xrLabel2}); - this.Page1.Font = new System.Drawing.Font("Verdana", 10F); - this.Page1.HeightF = 313.7499F; - this.Page1.Name = "Page1"; - this.Page1.StylePriority.UseFont = false; - // - // xrLabel3 - // - this.xrLabel3.BackColor = System.Drawing.Color.Transparent; - this.xrLabel3.CanShrink = true; - this.xrLabel3.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 266.6667F); - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(626F, 20F); - this.xrLabel3.StylePriority.UseBackColor = false; - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "Abrechnung für Zeitraum [AccountingPeriod]"; - this.xrLabel3.WordWrap = false; - // - // xrLabel2 - // - this.xrLabel2.BackColor = System.Drawing.Color.Transparent; - this.xrLabel2.CanShrink = true; - this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 246.6667F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(626F, 20F); - this.xrLabel2.StylePriority.UseBackColor = false; - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; - this.xrLabel2.WordWrap = false; - // - // DetailReport - // - this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail1, - this.DetailReport2}); - this.DetailReport.DataMember = "ServiceInvoicePeriods"; - this.DetailReport.DataSource = this.bindingSource1; - this.DetailReport.Level = 0; - this.DetailReport.Name = "DetailReport"; - // - // Detail1 - // - this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable5}); - this.Detail1.Font = new System.Drawing.Font("Verdana", 10F); - this.Detail1.HeightF = 25F; - this.Detail1.Name = "Detail1"; - this.Detail1.StylePriority.UseFont = false; - // - // xrTable5 - // - this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable5.Name = "xrTable5"; - this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow23}); - this.xrTable5.SizeF = new System.Drawing.SizeF(665F, 25F); - // - // xrTableRow23 - // - this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell2, - this.xrTableCell37, - this.xrTableCell36, - this.xrTableCell1}); - this.xrTableRow23.Name = "xrTableRow23"; - this.xrTableRow23.Weight = 1D; - // - // xrTableCell37 - // - this.xrTableCell37.BackColor = System.Drawing.Color.Gainsboro; - this.xrTableCell37.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell37.Name = "xrTableCell37"; - this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell37.StylePriority.UseBackColor = false; - this.xrTableCell37.StylePriority.UseBorderColor = false; - this.xrTableCell37.StylePriority.UseBorders = false; - this.xrTableCell37.StylePriority.UsePadding = false; - this.xrTableCell37.StylePriority.UseTextAlignment = false; - this.xrTableCell37.Text = "Anzahl"; - this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell37.Weight = 0.48284796406597696D; - // - // xrTableCell36 - // - this.xrTableCell36.BackColor = System.Drawing.Color.Gainsboro; - this.xrTableCell36.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell36.Name = "xrTableCell36"; - this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell36.StylePriority.UseBackColor = false; - this.xrTableCell36.StylePriority.UseBorderColor = false; - this.xrTableCell36.StylePriority.UseBorders = false; - this.xrTableCell36.StylePriority.UsePadding = false; - this.xrTableCell36.StylePriority.UseTextAlignment = false; - this.xrTableCell36.Text = "Einzelpreis"; - this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell36.Weight = 0.90909095112205562D; - // - // DetailReport2 - // - this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail3, - this.GroupFooter1}); - this.DetailReport2.DataMember = "ServiceInvoicePeriods.ServiceInvoiceItems"; - this.DetailReport2.DataSource = this.bindingSource1; - this.DetailReport2.Level = 0; - this.DetailReport2.Name = "DetailReport2"; - // - // Detail3 - // - this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable6}); - this.Detail3.HeightF = 25F; - this.Detail3.Name = "Detail3"; - // - // xrTable6 - // - this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable6.Name = "xrTable6"; - this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow25}); - this.xrTable6.SizeF = new System.Drawing.SizeF(664.9999F, 25F); - this.xrTable6.StylePriority.UseFont = false; - // - // xrTableRow25 - // - this.xrTableRow25.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell4, - this.xrTableCell6, - this.xrTableCell42, - this.xrTableCell45, - this.xrTableCell5}); - this.xrTableRow25.Name = "xrTableRow25"; - this.xrTableRow25.Weight = 1D; - // - // xrTableCell42 - // - this.xrTableCell42.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "AccountingPeriod")}); - this.xrTableCell42.Name = "xrTableCell42"; - this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell42.StylePriority.UseBorderColor = false; - this.xrTableCell42.StylePriority.UseBorders = false; - this.xrTableCell42.StylePriority.UsePadding = false; - this.xrTableCell42.StylePriority.UseTextAlignment = false; - this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell42.Weight = 0.48284784918124096D; - // - // xrTableCell45 - // - this.xrTableCell45.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell45.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ServiceInvoiceItems.NetAmount", "{0:0.00} €")}); - this.xrTableCell45.Name = "xrTableCell45"; - this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell45.StylePriority.UseBorderColor = false; - this.xrTableCell45.StylePriority.UseBorders = false; - this.xrTableCell45.StylePriority.UsePadding = false; - this.xrTableCell45.StylePriority.UseTextAlignment = false; - this.xrTableCell45.Text = "xrTableCell45"; - this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell45.Weight = 0.90909132151594463D; - // - // GroupFooter1 - // - this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel15, - this.xrLabel1}); - this.GroupFooter1.HeightF = 24.16667F; - this.GroupFooter1.Name = "GroupFooter1"; - // - // xrLabel1 - // - this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.Claim", "{0}")}); - this.xrLabel1.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(545.0001F, 0F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(119.9999F, 24.16667F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "xrLabel1"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); + this.xrLabel9, + this.xrLabel4, + this.lblAddress, + this.xrLabel5, + this.xrPictureBox1}); + this.topMarginBand1.HeightF = 347.2917F; + this.topMarginBand1.Name = "topMarginBand1"; // // xrPictureBox1 // @@ -459,65 +112,38 @@ namespace BeWo.Report.DefaultReports this.xrPictureBox1.SizeF = new System.Drawing.SizeF(674.0001F, 73.75002F); this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; // - // xrLabel4 + // bottomMarginBand1 // - this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "Frankfurt, den {0:d. MMMM yyyy}")}); - this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 159.5F); - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(213.0833F, 23.95834F); - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.StylePriority.UseTextAlignment = false; - this.xrLabel4.Text = "xrLabel1"; - this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel8, + this.xrLabel12, + this.xrLabel13, + this.xrLabel6, + this.xrLabel7}); + this.bottomMarginBand1.HeightF = 132F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; // - // xrLabel9 + // xrLabel8 // - this.xrLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 25.62501F); - this.xrLabel9.Multiline = true; - this.xrLabel9.Name = "xrLabel9"; - this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel9.SizeF = new System.Drawing.SizeF(213.0833F, 44.54168F); - this.xrLabel9.StylePriority.UseFont = false; - this.xrLabel9.Text = "Lindleystraße 15\r\n60314 Frankfurt am Main"; + this.xrLabel8.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(254.0848F, 9.999974F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(200F, 17F); + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "Bankverbindung:"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // - // xrLabel11 + // xrLabel12 // - this.xrLabel11.Font = new System.Drawing.Font("Segoe UI", 8.25F); - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 70.16665F); - this.xrLabel11.Multiline = true; - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(213.0833F, 89.33334F); - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.Text = "Betreutes Wohnen für junge Erwachsene\r\nAneta Süß\r\nTel:\t069 408958 210\r\nFax:\t069 4" + - "08958 270\r\nE-Mail: \taneta.suess@evvfwh.de "; - // - // xrLabel5 - // - this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.62501F); - this.xrLabel5.Multiline = true; - this.xrLabel5.Name = "xrLabel5"; - this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(351.375F, 28.91668F); - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.Text = " Ev. Verein für Wohnraumhilfe | Lindleystr. 15 | 60314 Frankfurt am Main"; - // - // lblAddress - // - this.lblAddress.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(10.00004F, 54.54168F); - this.lblAddress.Multiline = true; - this.lblAddress.Name = "lblAddress"; - this.lblAddress.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblAddress.SizeF = new System.Drawing.SizeF(341.375F, 131F); - this.lblAddress.StylePriority.UseFont = false; - this.lblAddress.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientContactPerson]\r\n[Recipien" + - "tStreet]\r\n[RecipientPostCodeAndTown]"; + this.xrLabel12.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(147.1253F, 26.99998F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(409.3749F, 17F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "Evangelische Bank IBAN: DE32520604100004112326 BIG: GENODEF1EK1"; // // xrLabel13 // @@ -554,239 +180,493 @@ namespace BeWo.Report.DefaultReports this.xrLabel7.StylePriority.UseFont = false; this.xrLabel7.Text = "Besondere Vertreter gem. § 30 BGB:\r\nRebekka Georgi, Heinz Gonther"; // - // xrLabel10 + // ruleNoticeNull // - this.xrLabel10.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 100.6459F); - this.xrLabel10.Name = "xrLabel10"; - this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(200F, 17F); - this.xrLabel10.StylePriority.UseFont = false; - this.xrLabel10.Text = "Mit freundlichen Grüßen"; + this.ruleNoticeNull.Condition = "[Notice] == ?"; + this.ruleNoticeNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.ruleNoticeNull.Name = "ruleNoticeNull"; // - // xrPictureBox2 + // DetailReport // - this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image"))); - this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 128.0626F); - this.xrPictureBox2.Name = "xrPictureBox2"; - this.xrPictureBox2.SizeF = new System.Drawing.SizeF(152.6039F, 77.49997F); - this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.ReportHeader1, + this.GroupFooter2}); + this.DetailReport.DataMember = "ServiceInvoicePeriods"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand; // - // xrLabel17 + // Detail1 // - this.xrLabel17.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 205.5625F); - this.xrLabel17.Name = "xrLabel17"; - this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel17.SizeF = new System.Drawing.SizeF(200F, 17F); - this.xrLabel17.StylePriority.UseFont = false; - this.xrLabel17.Text = "Aneta Süß"; + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6, + this.xrLabel14}); + this.Detail1.Font = new System.Drawing.Font("Verdana", 10F); + this.Detail1.HeightF = 49.16667F; + this.Detail1.Name = "Detail1"; + this.Detail1.StylePriority.UseFont = false; // - // xrLabel8 + // bindingSource1 // - this.xrLabel8.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(254.0848F, 9.999974F); - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(200F, 17F); - this.xrLabel8.StylePriority.UseFont = false; - this.xrLabel8.StylePriority.UseTextAlignment = false; - this.xrLabel8.Text = "Bankverbindung:"; - this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); // - // xrLabel12 + // xrLabel11 // - this.xrLabel12.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(147.1253F, 26.99998F); - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(409.3749F, 17F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "Evangelische Bank IBAN: DE32520604100004112326 BIG: GENODEF1EK1"; + this.xrLabel11.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 214.2083F); + this.xrLabel11.Multiline = true; + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(213.0833F, 89.33334F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "Betreutes Wohnen für junge Erwachsene\r\nAneta Süß\r\nTel:\t069 408958 210\r\nFax:\t069 4" + + "08958 270\r\nE-Mail: \taneta.suess@evvfwh.de "; // - // xrTableCell1 + // xrLabel9 // - this.xrTableCell1.BackColor = System.Drawing.Color.Gainsboro; - this.xrTableCell1.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - 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.UsePadding = false; - this.xrTableCell1.StylePriority.UseTextAlignment = false; - this.xrTableCell1.Text = "Korr."; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell1.Weight = 0.57416271745401759D; + this.xrLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 169.6667F); + this.xrLabel9.Multiline = true; + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(213.0833F, 44.54168F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.Text = "Lindleystraße 15\r\n60314 Frankfurt am Main"; // - // xrTableCell2 + // xrLabel4 // - this.xrTableCell2.BackColor = System.Drawing.Color.Gainsboro; - this.xrTableCell2.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell2.StylePriority.UseBackColor = false; - this.xrTableCell2.StylePriority.UseBorderColor = false; - this.xrTableCell2.StylePriority.UseBorders = false; - this.xrTableCell2.StylePriority.UsePadding = false; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "Leistung"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell2.Weight = 1.2157165872043116D; + this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime", "Frankfurt, den {0:d. MMMM yyyy}")}); + this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(470.9167F, 303.5417F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(213.0833F, 23.95834F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "xrLabel1"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // lblAddress + // + this.lblAddress.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblAddress.LocationFloat = new DevExpress.Utils.PointFloat(10.00004F, 198.5833F); + this.lblAddress.Multiline = true; + this.lblAddress.Name = "lblAddress"; + this.lblAddress.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAddress.SizeF = new System.Drawing.SizeF(341.375F, 131F); + this.lblAddress.StylePriority.UseFont = false; + this.lblAddress.Text = "[RecipientOrganisation]\r\n[RecipientDivision]\r\n[RecipientContactPerson]\r\n[Recipien" + + "tStreet]\r\n[RecipientPostCodeAndTown]"; + // + // xrLabel5 + // + this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 169.6667F); + this.xrLabel5.Multiline = true; + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(351.375F, 28.91668F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = " Ev. Verein für Wohnraumhilfe | Lindleystr. 15 | 60314 Frankfurt am Main"; + // + // xrTable6 + // + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow25}); + this.xrTable6.SizeF = new System.Drawing.SizeF(664.9999F, 25F); + this.xrTable6.StylePriority.UseFont = false; + // + // xrTableRow25 + // + this.xrTableRow25.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell42, + this.xrTableCell45, + this.xrTableCell5}); + this.xrTableRow25.Name = "xrTableRow25"; + this.xrTableRow25.Weight = 1D; // // xrTableCell4 // this.xrTableCell4.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell4.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "AccountingPeriod")}); + this.xrTableCell4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); this.xrTableCell4.StylePriority.UseBorderColor = false; this.xrTableCell4.StylePriority.UseBorders = false; + this.xrTableCell4.StylePriority.UseFont = false; this.xrTableCell4.StylePriority.UsePadding = false; this.xrTableCell4.StylePriority.UseTextAlignment = false; this.xrTableCell4.Text = "xrTableCell4"; this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell4.Weight = 0.94896323457271758D; + this.xrTableCell4.Weight = 1.7440258707291492D; + // + // xrTableCell42 + // + this.xrTableCell42.BorderColor = System.Drawing.Color.DarkGray; + this.xrTableCell42.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ApprovedHours")}); + this.xrTableCell42.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell42.StylePriority.UseBorderColor = false; + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.StylePriority.UseFont = false; + this.xrTableCell42.StylePriority.UsePadding = false; + this.xrTableCell42.StylePriority.UseTextAlignment = false; + this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell42.Weight = 0.36882005703191856D; + // + // xrTableCell45 + // + this.xrTableCell45.BorderColor = System.Drawing.Color.DarkGray; + this.xrTableCell45.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.NotBillableString", "{0:0.00} €")}); + this.xrTableCell45.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell45.Name = "xrTableCell45"; + this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell45.StylePriority.UseBorderColor = false; + this.xrTableCell45.StylePriority.UseBorders = false; + this.xrTableCell45.StylePriority.UseFont = false; + this.xrTableCell45.StylePriority.UsePadding = false; + this.xrTableCell45.StylePriority.UseTextAlignment = false; + this.xrTableCell45.Text = "xrTableCell45"; + this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell45.Weight = 0.49480961451234678D; // // xrTableCell5 // this.xrTableCell5.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell5.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.Notice", "{0} €")}); + this.xrTableCell5.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrTableCell5.Name = "xrTableCell5"; this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); this.xrTableCell5.StylePriority.UseBorderColor = false; this.xrTableCell5.StylePriority.UseBorders = false; + this.xrTableCell5.StylePriority.UseFont = false; this.xrTableCell5.StylePriority.UsePadding = false; this.xrTableCell5.StylePriority.UseTextAlignment = false; this.xrTableCell5.Text = "0,00 €"; this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; this.xrTableCell5.Weight = 0.5741617659096363D; // - // xrTableCell6 + // xrLabel14 // - this.xrTableCell6.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.SupportConceptApprovalPeriod.ServiceCategory.Abbreviation")}); - this.xrTableCell6.Name = "xrTableCell6"; - this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell6.StylePriority.UseBorderColor = false; - this.xrTableCell6.StylePriority.UseBorders = false; - this.xrTableCell6.StylePriority.UsePadding = false; - this.xrTableCell6.StylePriority.UseTextAlignment = false; - this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell6.Weight = 0.26675313700351133D; + this.xrLabel14.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(198.3333F, 24.16667F); + this.xrLabel14.StylePriority.UseBorders = false; + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.StylePriority.UseTextAlignment = false; + this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // ReportHeader1 + // + this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel16, + this.xrLabel15, + this.xrLabel1, + this.xrTable5}); + this.ReportHeader1.HeightF = 212.5F; + this.ReportHeader1.Name = "ReportHeader1"; + // + // xrTable5 + // + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 187.5F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow23}); + this.xrTable5.SizeF = new System.Drawing.SizeF(665F, 25F); + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2, + this.xrTableCell37, + this.xrTableCell36, + this.xrTableCell1}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 1D; + // + // xrTableCell2 + // + this.xrTableCell2.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell2.BorderColor = System.Drawing.Color.Black; + this.xrTableCell2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell2.StylePriority.UseBackColor = false; + this.xrTableCell2.StylePriority.UseBorderColor = false; + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UsePadding = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "Leistung"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell2.Weight = 1.7440259547344978D; + // + // xrTableCell37 + // + this.xrTableCell37.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell37.BorderColor = System.Drawing.Color.Black; + this.xrTableCell37.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell37.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell37.StylePriority.UseBackColor = false; + this.xrTableCell37.StylePriority.UseBorderColor = false; + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.StylePriority.UseFont = false; + this.xrTableCell37.StylePriority.UsePadding = false; + this.xrTableCell37.StylePriority.UseTextAlignment = false; + this.xrTableCell37.Text = "Anzahl"; + this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell37.Weight = 0.36882012716748813D; + // + // xrTableCell36 + // + this.xrTableCell36.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell36.BorderColor = System.Drawing.Color.Black; + this.xrTableCell36.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell36.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell36.StylePriority.UseBackColor = false; + this.xrTableCell36.StylePriority.UseBorderColor = false; + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.StylePriority.UseFont = false; + this.xrTableCell36.StylePriority.UsePadding = false; + this.xrTableCell36.StylePriority.UseTextAlignment = false; + this.xrTableCell36.Text = "Einzelpreis"; + this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell36.Weight = 0.49480942049035842D; + // + // xrTableCell1 + // + this.xrTableCell1.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell1.BorderColor = System.Drawing.Color.Black; + this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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 = "Korr."; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell1.Weight = 0.57416271745401759D; + // + // GroupFooter2 + // + this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrLabel3, + this.xrLabel18}); + this.GroupFooter2.HeightF = 63.54167F; + this.GroupFooter2.Name = "GroupFooter2"; + // + // xrLabel2 + // + this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(190F, 24.16667F); + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Summe:"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel3 + // + this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel3.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(189.9999F, 0F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(354.0001F, 24.16667F); + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel18 + // + this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.Claim", "{0}")}); + this.xrLabel18.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(544.0002F, 0F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(119.9999F, 24.16667F); + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "xrLabel1"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 48.79163F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(200F, 20F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "Einzelrechnung für"; // // xrLabel15 // - this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.Claim", "Gesamt: {0}")}); - this.xrLabel15.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.9999593F, 0F); + this.xrLabel15.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.79164F); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel15.SizeF = new System.Drawing.SizeF(190F, 24.16667F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(300F, 20F); this.xrLabel15.StylePriority.UseFont = false; - this.xrLabel15.StylePriority.UseTextAlignment = false; - this.xrLabel15.Text = "Summe:"; - this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrLabel15.Text = "BW Entgelt BeWo junge Erwachsene"; // - // Sammelrechnung + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel17, + this.xrPictureBox2, + this.xrLabel10}); + this.ReportFooter.HeightF = 210.4167F; + this.ReportFooter.Name = "ReportFooter"; + // + // xrLabel17 + // + this.xrLabel17.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 140.8333F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(200F, 17F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.Text = "Aneta Süß"; + // + // xrPictureBox2 + // + this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image"))); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.33339F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(152.6039F, 77.49997F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // + // xrLabel10 + // + this.xrLabel10.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35.91671F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(200F, 17F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Mit freundlichen Grüßen"; + // + // xrLabel16 + // + this.xrLabel16.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 118.125F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(664.0001F, 20.00001F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.Text = "[Customer.LastNameFirstName], [Customer.DateOfBirth!dd.MM.yyyy], AZ: [CostBearer2" + + "SupportConcept.CustomerReferenceNumber]"; + // + // SammelrechnungAnhang // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, - this.ReportHeader, this.topMarginBand1, this.bottomMarginBand1, - this.GroupFooter, - this.Page1, - this.DetailReport}); + this.DetailReport, + this.ReportFooter}); this.DataSource = this.bindingSource1; this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; this.Font = new System.Drawing.Font("Verdana", 10F); this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.ruleRateFactorNull, this.ruleNoticeNull}); - this.Margins = new System.Drawing.Printing.Margins(95, 38, 143, 132); + this.Margins = new System.Drawing.Printing.Margins(95, 38, 347, 132); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } - + private DevExpress.XtraReports.UI.DetailBand Detail; private System.Windows.Forms.BindingSource bindingSource1; - private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; - private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter; - private DevExpress.XtraReports.UI.GroupHeaderBand Page1; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; - private DevExpress.XtraReports.UI.XRTable xrTable4; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow10; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow14; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow19; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow24; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell20; private DevExpress.XtraReports.UI.DetailReportBand DetailReport; private DevExpress.XtraReports.UI.DetailBand Detail1; - private DevExpress.XtraReports.UI.XRTable xrTable5; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow23; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell37; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; - private DevExpress.XtraReports.UI.DetailReportBand DetailReport2; - private DevExpress.XtraReports.UI.DetailBand Detail3; - private DevExpress.XtraReports.UI.XRTable xrTable6; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow25; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell45; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow7; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; private DevExpress.XtraReports.UI.FormattingRule ruleNoticeNull; - private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; - private DevExpress.XtraReports.UI.XRLabel xrLabel4; - private DevExpress.XtraReports.UI.XRLabel xrLabel9; - private DevExpress.XtraReports.UI.XRLabel xrLabel11; - private DevExpress.XtraReports.UI.XRLabel xrLabel5; - private DevExpress.XtraReports.UI.XRLabel lblAddress; private DevExpress.XtraReports.UI.XRLabel xrLabel13; private DevExpress.XtraReports.UI.XRLabel xrLabel6; private DevExpress.XtraReports.UI.XRLabel xrLabel7; - private DevExpress.XtraReports.UI.XRLabel xrLabel10; - private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; - private DevExpress.XtraReports.UI.XRLabel xrLabel17; private DevExpress.XtraReports.UI.XRLabel xrLabel8; private DevExpress.XtraReports.UI.XRLabel xrLabel12; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel lblAddress; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRTable xrTable6; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow25; private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell45; private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader1; + private DevExpress.XtraReports.UI.XRTable xrTable5; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow23; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell37; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; } } diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.cs b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.cs index 2d64bdce0..a504d44c2 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.cs +++ b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.cs @@ -2,19 +2,49 @@ using BeWo.Report.ReportObjects; using DevExpress.XtraReports.UI; using BS.Shared.Core; +using System; namespace BeWo.Report.DefaultReports { - [IDSpecificClass(Identifier = "Sammelrechnung")] - public partial class Sammelrechnung : XtraReport, IBeWoReport + [IDSpecificClass(Identifier = "SammelrechnungAnhang")] + public partial class SammelrechnungAnhang : XtraReport, IBeWoReport { - public Sammelrechnung() + public SammelrechnungAnhang() { this.InitializeComponent(); } public void SetReportDataSource(ServiceInvoiceRO pRO) { + if (!String.IsNullOrEmpty(pRO.RecipientOrganisation) && pRO.RecipientOrganisation.Contains("LWV Hessen")) + { + pRO.RecipientOrganisation = pRO.RecipientAddressLine1; + } + + foreach (var sip in pRO.ServiceInvoicePeriods) + { + if (sip.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("Monat")) + sip.ApprovedHours = 1; + else + { + DateTime end = sip.SupportConceptApprovalPeriod.EndDate ?? pRO.AccountingPeriodEnd; + DateTime start = sip.SupportConceptApprovalPeriod.StartDate ?? pRO.AccountingPeriodStart; + + sip.ApprovedHours = (decimal)(end - start).TotalDays; + } + + if (sip.CostBearer2SupportConcept.CustomerReferenceNumber == null) + sip.CostBearer2SupportConcept.CustomerReferenceNumber = "LVG"; + if (sip.Notice != null) + { + sip.NotBillableString = String.Format("{0:0.00}", sip.ServiceInvoiceItems[0].NetAmount - Convert.ToDecimal(sip.Notice)); + } + else + { + sip.NotBillableString = sip.Claim; + sip.Notice = "0,00"; + } + } this.bindingSource1.DataSource = pRO; } } diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.resx b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.resx index 5005d1ae2..f5b6f7502 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.resx +++ b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport.resx @@ -1758,6 +1758,9 @@ igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/Z + + 17, 17 + iVBORw0KGgoAAAANSUhEUgAAANoAAABsCAYAAAAMjqyzAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -1961,7 +1964,4 @@ orWHPX9U/gfRNjPeXWPv5gAAAABJRU5ErkJggg== - - 17, 17 - \ No newline at end of file diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.Designer.cs b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.Designer.cs index afe6b5e52..729404f9e 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.Designer.cs +++ b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.Designer.cs @@ -1,7 +1,7 @@ using BeWo.Report.ReportObjects; -namespace BeWo.CaritasFrankfurt2Reports +namespace EvVereinFürWohnraumhilfe { - partial class Sammelrechnung2 + partial class SammelrechnungTab { /// /// Required designer variable. @@ -29,8 +29,8 @@ namespace BeWo.CaritasFrankfurt2Reports private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SammelrechnungTab)); DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sammelrechnung2)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); @@ -41,11 +41,10 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); this.ruleNoticeNull = new DevExpress.XtraReports.UI.FormattingRule(); this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); @@ -54,18 +53,15 @@ namespace BeWo.CaritasFrankfurt2Reports this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.fieldMonatskontingent = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -88,10 +84,12 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.fieldMonatskontingent = new DevExpress.XtraReports.UI.CalculatedField(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -117,7 +115,7 @@ namespace BeWo.CaritasFrankfurt2Reports // topMarginBand1 // this.topMarginBand1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); - this.topMarginBand1.HeightF = 50F; + this.topMarginBand1.HeightF = 22.91667F; this.topMarginBand1.Name = "topMarginBand1"; this.topMarginBand1.StylePriority.UseFont = false; // @@ -152,8 +150,6 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell11, this.xrTableCell12, - this.xrTableCell19, - this.xrTableCell13, this.xrTableCell14}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Weight = 0.67999999999999994D; @@ -171,7 +167,7 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell11.StylePriority.UseTextAlignment = false; this.xrTableCell11.Text = "Gesamtsumme"; this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell11.Weight = 1.0913838305665564D; + this.xrTableCell11.Weight = 1.4622065868766949D; // // xrTableCell12 // @@ -180,21 +176,7 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell12.StylePriority.UseBorders = false; this.xrTableCell12.StylePriority.UseTextAlignment = false; this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell12.Weight = 0.17859009658374178D; - // - // xrTableCell19 - // - this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell19.Name = "xrTableCell19"; - this.xrTableCell19.StylePriority.UseBorders = false; - this.xrTableCell19.Weight = 0.19843343981819028D; - // - // xrTableCell13 - // - this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell13.Name = "xrTableCell13"; - this.xrTableCell13.StylePriority.UseBorders = false; - this.xrTableCell13.Weight = 0.23191895600533544D; + this.xrTableCell12.Weight = 0.23811988033935538D; // // xrTableCell14 // @@ -207,7 +189,7 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell14.StylePriority.UseTextAlignment = false; this.xrTableCell14.Text = "xrTableCell9"; this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrTableCell14.Weight = 0.23812039035552138D; + this.xrTableCell14.Weight = 0.2381202461132948D; // // ruleNoticeNull // @@ -229,6 +211,14 @@ namespace BeWo.CaritasFrankfurt2Reports this.Page1.StylePriority.UseBorders = false; this.Page1.StylePriority.UseFont = false; // + // xrPictureBox1 + // + this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(374.9998F, 0F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(674.0001F, 73.75002F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // // xrLabel3 // this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); @@ -271,7 +261,7 @@ namespace BeWo.CaritasFrankfurt2Reports // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 8F); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(2.999973F, 0F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F); this.xrLabel7.Multiline = true; this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -346,6 +336,21 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableRow25.Name = "xrTableRow25"; this.xrTableRow25.Weight = 0.67999999999999994D; // + // xrTableCell38 + // + this.xrTableCell38.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell38.StylePriority.UseBorders = false; + this.xrTableCell38.StylePriority.UsePadding = false; + this.xrTableCell38.StylePriority.UseTextAlignment = false; + xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber; + xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell38.Summary = xrSummary1; + this.xrTableCell38.Text = "1"; + this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell38.Weight = 0.10634058531450184D; + // // xrTableCell42 // this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); @@ -412,11 +417,24 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell45.Weight = 0.13350326965073692D; // + // xrTableCell1 + // + this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ApprovedHours")}); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UsePadding = false; + this.xrTableCell1.StylePriority.UseTextAlignment = false; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell1.Weight = 0.19938885776036786D; + // // xrTableCell17 // this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ApprovedAmount", "{0:c}")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.Notice", "{0} €")}); this.xrTableCell17.Name = "xrTableCell17"; this.xrTableCell17.StylePriority.UseBorders = false; this.xrTableCell17.StylePriority.UseTextAlignment = false; @@ -436,53 +454,6 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; this.xrTableCell18.Weight = 0.33289234941870466D; // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); - // - // fieldMonatskontingent - // - this.fieldMonatskontingent.DataMember = "ServiceInvoicePeriods"; - this.fieldMonatskontingent.Expression = "[SupportConceptApprovalPeriod.ApprovedBEPerInterval]/12"; - this.fieldMonatskontingent.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; - this.fieldMonatskontingent.Name = "fieldMonatskontingent"; - // - // xrTableCell38 - // - this.xrTableCell38.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell38.Name = "xrTableCell38"; - this.xrTableCell38.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell38.StylePriority.UseBorders = false; - this.xrTableCell38.StylePriority.UsePadding = false; - this.xrTableCell38.StylePriority.UseTextAlignment = false; - xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber; - xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; - this.xrTableCell38.Summary = xrSummary1; - this.xrTableCell38.Text = "1"; - this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell38.Weight = 0.10634058531450184D; - // - // xrPictureBox1 - // - this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); - this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(374.9998F, 0F); - this.xrPictureBox1.Name = "xrPictureBox1"; - this.xrPictureBox1.SizeF = new System.Drawing.SizeF(674.0001F, 73.75002F); - this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - // - // xrTableCell1 - // - this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.ApprovedHours")}); - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - this.xrTableCell1.StylePriority.UseBorders = false; - this.xrTableCell1.StylePriority.UsePadding = false; - this.xrTableCell1.StylePriority.UseTextAlignment = false; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell1.Weight = 0.19938885776036786D; - // // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -716,7 +687,18 @@ namespace BeWo.CaritasFrankfurt2Reports this.xrTableCell50.StylePriority.UseBorders = false; this.xrTableCell50.Weight = 0.33118939540021597D; // - // Sammelrechnung2 + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); + // + // fieldMonatskontingent + // + this.fieldMonatskontingent.DataMember = "ServiceInvoicePeriods"; + this.fieldMonatskontingent.Expression = "[SupportConceptApprovalPeriod.ApprovedBEPerInterval]/12"; + this.fieldMonatskontingent.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldMonatskontingent.Name = "fieldMonatskontingent"; + // + // SammelrechnungTab // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, @@ -735,15 +717,15 @@ namespace BeWo.CaritasFrankfurt2Reports this.ruleRateFactorNull, this.ruleNoticeNull}); this.Landscape = true; - this.Margins = new System.Drawing.Printing.Margins(60, 60, 50, 15); + this.Margins = new System.Drawing.Printing.Margins(60, 60, 23, 15); this.PageHeight = 827; this.PageWidth = 1169; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Version = "17.1"; ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -773,14 +755,12 @@ namespace BeWo.CaritasFrankfurt2Reports private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; private DevExpress.XtraReports.UI.XRLabel xrLabel3; private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; private DevExpress.XtraReports.UI.CalculatedField fieldMonatskontingent; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell19; private DevExpress.XtraReports.UI.XRTableCell xrTableCell38; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.cs b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.cs index 1d7186621..56e8b4200 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.cs +++ b/ReportImp/EvVereinFürWohnraumhilfe/CollectiveBillingReport2.cs @@ -5,12 +5,12 @@ using DevExpress.XtraReports.UI; using BS.Shared.Core; using System; -namespace BeWo.CaritasFrankfurt2Reports +namespace EvVereinFürWohnraumhilfe { [IDSpecificClass(Identifier = "Sammelrechnung")] - public partial class Sammelrechnung2 : XtraReport, IBeWoReport + public partial class SammelrechnungTab : XtraReport, IBeWoReport { - public Sammelrechnung2() + public SammelrechnungTab() { this.InitializeComponent(); } @@ -30,8 +30,15 @@ namespace BeWo.CaritasFrankfurt2Reports sip.ApprovedHours = (decimal)(end - start).TotalDays; } + if (sip.CostBearer2SupportConcept.CustomerReferenceNumber == null) + sip.CostBearer2SupportConcept.CustomerReferenceNumber = "LVG"; } - this.bindingSource1.DataSource = pRO; + + //var anhang = new SammelrechnungAnhang(); + //xrSubreport1.ReportSource = anhang; + //anhang.SetReportDataSource(pRO); + + this.bindingSource1.DataSource = pRO; } } } \ No newline at end of file diff --git a/ReportImp/EvVereinFürWohnraumhilfe/CustomReportCreator.cs b/ReportImp/EvVereinFürWohnraumhilfe/CustomReportCreator.cs new file mode 100644 index 000000000..5cf0b23f0 --- /dev/null +++ b/ReportImp/EvVereinFürWohnraumhilfe/CustomReportCreator.cs @@ -0,0 +1,92 @@ +using System; +using System.Collections.Generic; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report; +using BeWo.Report.DefaultReports; +using BeWo.Report.ReportObjects; +using BeWo.Service.DCEntityMapper; +using BS.Shared.DataContracts; +using DevExpress.XtraReports.UI; + +namespace EvVereinFürWohnraumhilfe +{ + public class CustomReportCreator : DefaultReportCreator + { + public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid) + { + if (String.IsNullOrEmpty(dcIds) && invoiceBaseOid.HasValue) + { + var serviceInvoice = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(invoiceBaseOid.Value); + dcIds = String.Format("{0}", serviceInvoice.Oid); + } + + if (!string.IsNullOrEmpty(dcIds)) + { + + var dcList = new List(); + + var dcidStrs = dcIds.Split(';'); + + foreach (var oidStr in dcidStrs) + { + var oid = long.Parse(oidStr); + var invoice = DAOFactory.GenericDAO.LoadByID(oid); + var dc = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(invoice); + dcList.Add(dc); + } + + return CreateInvoiceReport(dcList); + } + return new XtraReport(); + } + + private XtraReport CreateInvoiceReport(List invoices) + { + XtraReport allReports = null; + + foreach (var iDC in invoices) + { + XtraReport invoiceReport = null; + + if (iDC.InvoiceBase.InvoiceId == "Sammelrechnung") + { + var seite1 = new SammelrechnungTab(); + var ro = ServiceInvoiceRO.Create(iDC); + + seite1.SetReportDataSource(ro); + seite1.CreateDocument(); + + foreach (var sip in ro.ServiceInvoicePeriods) + { + var newro = ServiceInvoiceRO.Create(iDC); + newro.ServiceInvoicePeriods = new List(); + newro.ServiceInvoicePeriods.Add(sip); + + var anhang = new SammelrechnungAnhang(); + anhang.SetReportDataSource(newro); + anhang.CreateDocument(); + seite1.Pages.AddRange(anhang.Pages); + } + + invoiceReport = seite1; + } + + else + { + IBeWoReport singleReport = FindReportImp(iDC.InvoiceBase.InvoiceId); + + singleReport.SetReportDataSource(ServiceInvoiceRO.Create(iDC)); + ((XtraReport)singleReport).CreateDocument(); + invoiceReport = singleReport as XtraReport; + } + if (allReports == null) + allReports = invoiceReport; + else + ((XtraReport)allReports).Pages.AddRange(invoiceReport.Pages); + } + + return allReports as XtraReport; + } + } +} diff --git a/ReportImp/EvVereinFürWohnraumhilfe/EvVereinFürWohnraumhilfe.csproj b/ReportImp/EvVereinFürWohnraumhilfe/EvVereinFürWohnraumhilfe.csproj index 7b07a46ce..16e790507 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/EvVereinFürWohnraumhilfe.csproj +++ b/ReportImp/EvVereinFürWohnraumhilfe/EvVereinFürWohnraumhilfe.csproj @@ -48,18 +48,27 @@ + + Component + + + CollectiveBillingReport.cs + Component CollectiveBillingReport2.cs + Component InvoiceCustomerReport.cs + + @@ -81,6 +90,10 @@ + + CollectiveBillingReport.cs + Designer + CollectiveBillingReport2.cs @@ -90,5 +103,6 @@ + \ No newline at end of file diff --git a/ReportImp/EvVereinFürWohnraumhilfe/InvoiceCustomerReport.Designer.cs b/ReportImp/EvVereinFürWohnraumhilfe/InvoiceCustomerReport.Designer.cs index 187e198df..72b8dc551 100644 --- a/ReportImp/EvVereinFürWohnraumhilfe/InvoiceCustomerReport.Designer.cs +++ b/ReportImp/EvVereinFürWohnraumhilfe/InvoiceCustomerReport.Designer.cs @@ -32,7 +32,18 @@ namespace EvVereinF this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InvoiceCustomerReport)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText(); + this.lblMahnung1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText(); + this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText(); + this.lblMahnung2 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.lblBetreff = new DevExpress.XtraReports.UI.XRLabel(); + this.lblEigenanteile = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.lblAddress = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); @@ -40,33 +51,19 @@ namespace EvVereinF this.lblNutzung = new DevExpress.XtraReports.UI.XRLabel(); this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); - this.lblEigenanteile = new DevExpress.XtraReports.UI.XRLabel(); - this.lblBetreff = new DevExpress.XtraReports.UI.XRLabel(); - this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.Zahlziel = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText(); - this.lblMahnung1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText(); - this.xrRichText3 = new DevExpress.XtraReports.UI.XRRichText(); - this.lblMahnung2 = new DevExpress.XtraReports.UI.XRLabel(); - this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -75,6 +72,7 @@ namespace EvVereinF this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -83,9 +81,11 @@ namespace EvVereinF this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit(); @@ -108,6 +108,66 @@ namespace EvVereinF this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // + // xrLabel6 + // + this.xrLabel6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 0F); + this.xrLabel6.Multiline = true; + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(666.9999F, 58.66669F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = "Sie zahlen bzw. haben Eigenanteile für die Nutzung unserer Wohnung in [RecipientS" + + "treet], [RecipientPostCode] [RecipientTown] zahlen müssen. Ihr Konto bei uns ist" + + " leider noch nicht ausgeglichen."; + // + // xrRichText1 + // + this.xrRichText1.Font = new System.Drawing.Font("Arial", 11F); + this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 63.54148F); + this.xrRichText1.Name = "xrRichText1"; + this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString"); + this.xrRichText1.SizeF = new System.Drawing.SizeF(666.1637F, 21.08331F); + // + // lblMahnung1 + // + this.lblMahnung1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblMahnung1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 96.7708F); + this.lblMahnung1.Multiline = true; + this.lblMahnung1.Name = "lblMahnung1"; + this.lblMahnung1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblMahnung1.SizeF = new System.Drawing.SizeF(666.9999F, 83.66663F); + this.lblMahnung1.StylePriority.UseFont = false; + this.lblMahnung1.Text = resources.GetString("lblMahnung1.Text"); + // + // xrRichText2 + // + this.xrRichText2.Font = new System.Drawing.Font("Arial", 11F); + this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203.2292F); + this.xrRichText2.Name = "xrRichText2"; + this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); + this.xrRichText2.SizeF = new System.Drawing.SizeF(666.1637F, 86.54163F); + // + // xrRichText3 + // + this.xrRichText3.Font = new System.Drawing.Font("Arial", 11F); + this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.6666F); + this.xrRichText3.Name = "xrRichText3"; + this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString"); + this.xrRichText3.SizeF = new System.Drawing.SizeF(666.1637F, 28.37497F); + // + // lblMahnung2 + // + this.lblMahnung2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblMahnung2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 96.7708F); + this.lblMahnung2.Multiline = true; + this.lblMahnung2.Name = "lblMahnung2"; + this.lblMahnung2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblMahnung2.SizeF = new System.Drawing.SizeF(666.9999F, 106.4584F); + this.lblMahnung2.StylePriority.UseFont = false; + this.lblMahnung2.Text = resources.GetString("lblMahnung2.Text"); + this.lblMahnung2.Visible = false; + // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -126,6 +186,68 @@ namespace EvVereinF this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.StylePriority.UseFont = false; // + // lblBetreff + // + this.lblBetreff.BackColor = System.Drawing.Color.Transparent; + this.lblBetreff.CanShrink = true; + this.lblBetreff.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + this.lblBetreff.LocationFloat = new DevExpress.Utils.PointFloat(0F, 269.5833F); + this.lblBetreff.Name = "lblBetreff"; + this.lblBetreff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblBetreff.SizeF = new System.Drawing.SizeF(650F, 20F); + this.lblBetreff.StylePriority.UseBackColor = false; + this.lblBetreff.StylePriority.UseFont = false; + this.lblBetreff.Text = "1. Mahnung"; + this.lblBetreff.WordWrap = false; + // + // lblEigenanteile + // + this.lblEigenanteile.BackColor = System.Drawing.Color.Transparent; + this.lblEigenanteile.CanShrink = true; + this.lblEigenanteile.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + this.lblEigenanteile.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 249.5833F); + this.lblEigenanteile.Name = "lblEigenanteile"; + this.lblEigenanteile.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblEigenanteile.SizeF = new System.Drawing.SizeF(650F, 20F); + this.lblEigenanteile.StylePriority.UseBackColor = false; + this.lblEigenanteile.StylePriority.UseFont = false; + this.lblEigenanteile.Text = "Ihre Eigenanteile"; + this.lblEigenanteile.WordWrap = false; + // + // xrLabel11 + // + this.xrLabel11.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(463.9167F, 70.58334F); + this.xrLabel11.Multiline = true; + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(213.0833F, 89.33334F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "Betreutes Wohnen für junge Erwachsene\r\nAneta Süß\r\nTel:\t069 408958 210\r\nFax:\t069 4" + + "08958 270\r\nE-Mail: \taneta.suess@evvfwh.de "; + // + // xrLabel9 + // + this.xrLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(463.9167F, 26.04167F); + this.xrLabel9.Multiline = true; + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(213.0833F, 44.54168F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.Text = "Lindleystraße 15\r\n60314 Frankfurt am Main"; + // + // xrLabel7 + // + this.xrLabel7.Font = new System.Drawing.Font("Segoe UI", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 26.04167F); + this.xrLabel7.Multiline = true; + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(351.375F, 28.91668F); + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.Text = " Ev. Verein für Wohnraumhilfe | Lindleystr. 15 | 60314 Frankfurt am Main"; + // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { @@ -212,6 +334,24 @@ namespace EvVereinF this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.StylePriority.UseFont = false; // + // xrLabel17 + // + this.xrLabel17.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 179.2084F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(200F, 17F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.Text = "Aneta Süß"; + // + // xrPictureBox2 + // + this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image"))); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 101.7085F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(152.6039F, 77.49997F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // // xrLabel8 // this.xrLabel8.CanShrink = true; @@ -233,16 +373,6 @@ namespace EvVereinF this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.Text = "Mit freundlichen Grüßen"; // - // xrLabel12 - // - this.xrLabel12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 196.2085F); - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(292F, 17.00002F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "Leitung Betreutes Wohnen für junge Erwachsene"; - // // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -250,6 +380,14 @@ namespace EvVereinF this.topMarginBand1.HeightF = 144F; this.topMarginBand1.Name = "topMarginBand1"; // + // xrPictureBox1 + // + this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.41833F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(674.0001F, 73.75002F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // // bottomMarginBand1 // this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -259,59 +397,16 @@ namespace EvVereinF this.bottomMarginBand1.HeightF = 112F; this.bottomMarginBand1.Name = "bottomMarginBand1"; // - // xrPictureBox1 + // xrLabel15 // - this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); - this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.41833F); - this.xrPictureBox1.Name = "xrPictureBox1"; - this.xrPictureBox1.SizeF = new System.Drawing.SizeF(674.0001F, 73.75002F); - this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - // - // xrLabel7 - // - this.xrLabel7.Font = new System.Drawing.Font("Segoe UI", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 26.04167F); - this.xrLabel7.Multiline = true; - this.xrLabel7.Name = "xrLabel7"; - this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(351.375F, 28.91668F); - this.xrLabel7.StylePriority.UseFont = false; - this.xrLabel7.Text = " Ev. Verein für Wohnraumhilfe | Lindleystr. 15 | 60314 Frankfurt am Main"; - // - // xrLabel9 - // - this.xrLabel9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(463.9167F, 26.04167F); - this.xrLabel9.Multiline = true; - this.xrLabel9.Name = "xrLabel9"; - this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel9.SizeF = new System.Drawing.SizeF(213.0833F, 44.54168F); - this.xrLabel9.StylePriority.UseFont = false; - this.xrLabel9.Text = "Lindleystraße 15\r\n60314 Frankfurt am Main"; - // - // xrLabel11 - // - this.xrLabel11.Font = new System.Drawing.Font("Segoe UI", 8.25F); - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(463.9167F, 70.58334F); - this.xrLabel11.Multiline = true; - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(213.0833F, 89.33334F); - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.Text = "Betreutes Wohnen für junge Erwachsene\r\nAneta Süß\r\nTel:\t069 408958 210\r\nFax:\t069 4" + - "08958 270\r\nE-Mail: \taneta.suess@evvfwh.de "; - // - // xrLabel13 - // - this.xrLabel13.Font = new System.Drawing.Font("Segoe UI", 6F); - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.24999F); - this.xrLabel13.Multiline = true; - this.xrLabel13.Name = "xrLabel13"; - this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(217.7501F, 36.20834F); - this.xrLabel13.StylePriority.UseFont = false; - this.xrLabel13.Text = "Ev. Verein für Wohnraumhilfe in Frankfurt am Main e.V\r\nLindleystr. 15, 60314 Fran" + - "kfurt am Main"; + this.xrLabel15.Font = new System.Drawing.Font("Segoe UI", 6F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(441.5848F, 28.24999F); + this.xrLabel15.Multiline = true; + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(209.2514F, 36.20834F); + this.xrLabel15.StylePriority.UseFont = false; + this.xrLabel15.Text = "Besondere Vertreter gem. § 30 BGB:\r\nRebekka Georgi, Heinz Gonther"; // // xrLabel14 // @@ -325,68 +420,23 @@ namespace EvVereinF this.xrLabel14.Text = "AG Frankfurt am Main VR 8389\r\nVorstand: Pfarrer Dr. Michael Frase\r\nStellvertreter" + "in: Karin Kühn"; // - // xrLabel15 + // xrLabel13 // - this.xrLabel15.Font = new System.Drawing.Font("Segoe UI", 6F); - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(441.5848F, 28.24999F); - this.xrLabel15.Multiline = true; - this.xrLabel15.Name = "xrLabel15"; - this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel15.SizeF = new System.Drawing.SizeF(209.2514F, 36.20834F); - this.xrLabel15.StylePriority.UseFont = false; - this.xrLabel15.Text = "Besondere Vertreter gem. § 30 BGB:\r\nRebekka Georgi, Heinz Gonther"; - // - // lblEigenanteile - // - this.lblEigenanteile.BackColor = System.Drawing.Color.Transparent; - this.lblEigenanteile.CanShrink = true; - this.lblEigenanteile.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.lblEigenanteile.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 249.5833F); - this.lblEigenanteile.Name = "lblEigenanteile"; - this.lblEigenanteile.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblEigenanteile.SizeF = new System.Drawing.SizeF(650F, 20F); - this.lblEigenanteile.StylePriority.UseBackColor = false; - this.lblEigenanteile.StylePriority.UseFont = false; - this.lblEigenanteile.Text = "Ihre Eigenanteile"; - this.lblEigenanteile.WordWrap = false; - // - // lblBetreff - // - this.lblBetreff.BackColor = System.Drawing.Color.Transparent; - this.lblBetreff.CanShrink = true; - this.lblBetreff.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.lblBetreff.LocationFloat = new DevExpress.Utils.PointFloat(0F, 269.5833F); - this.lblBetreff.Name = "lblBetreff"; - this.lblBetreff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblBetreff.SizeF = new System.Drawing.SizeF(650F, 20F); - this.lblBetreff.StylePriority.UseBackColor = false; - this.lblBetreff.StylePriority.UseFont = false; - this.lblBetreff.Text = "1. Mahnung"; - this.lblBetreff.WordWrap = false; - // - // xrPictureBox2 - // - this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image"))); - this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 101.7085F); - this.xrPictureBox2.Name = "xrPictureBox2"; - this.xrPictureBox2.SizeF = new System.Drawing.SizeF(152.6039F, 77.49997F); - this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrLabel13.Font = new System.Drawing.Font("Segoe UI", 6F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.24999F); + this.xrLabel13.Multiline = true; + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(217.7501F, 36.20834F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.Text = "Ev. Verein für Wohnraumhilfe in Frankfurt am Main e.V\r\nLindleystr. 15, 60314 Fran" + + "kfurt am Main"; // // Zahlziel // this.Zahlziel.Expression = "AddDays([InvoiceDateTime],14)"; this.Zahlziel.Name = "Zahlziel"; // - // xrLabel17 - // - this.xrLabel17.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 179.2084F); - this.xrLabel17.Name = "xrLabel17"; - this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel17.SizeF = new System.Drawing.SizeF(200F, 17F); - this.xrLabel17.StylePriority.UseFont = false; - this.xrLabel17.Text = "Aneta Süß"; - // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -406,85 +456,6 @@ namespace EvVereinF this.Detail1.HeightF = 25F; this.Detail1.Name = "Detail1"; // - // xrLabel6 - // - this.xrLabel6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 0F); - this.xrLabel6.Multiline = true; - this.xrLabel6.Name = "xrLabel6"; - this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel6.SizeF = new System.Drawing.SizeF(666.9999F, 58.66669F); - this.xrLabel6.StylePriority.UseFont = false; - this.xrLabel6.Text = "Sie zahlen bzw. haben Eigenanteile für die Nutzung unserer Wohnung in [RecipientS" + - "treet], [RecipientPostCode] [RecipientTown] zahlen müssen. Ihr Konto bei uns ist" + - " leider noch nicht ausgeglichen."; - // - // xrRichText1 - // - this.xrRichText1.Font = new System.Drawing.Font("Arial", 11F); - this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 63.54148F); - this.xrRichText1.Name = "xrRichText1"; - this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString"); - this.xrRichText1.SizeF = new System.Drawing.SizeF(666.1637F, 21.08331F); - // - // lblMahnung1 - // - this.lblMahnung1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblMahnung1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 96.7708F); - this.lblMahnung1.Multiline = true; - this.lblMahnung1.Name = "lblMahnung1"; - this.lblMahnung1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblMahnung1.SizeF = new System.Drawing.SizeF(666.9999F, 83.66663F); - this.lblMahnung1.StylePriority.UseFont = false; - this.lblMahnung1.Text = resources.GetString("lblMahnung1.Text"); - // - // xrRichText2 - // - this.xrRichText2.Font = new System.Drawing.Font("Arial", 11F); - this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203.2292F); - this.xrRichText2.Name = "xrRichText2"; - this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); - this.xrRichText2.SizeF = new System.Drawing.SizeF(666.1637F, 86.54163F); - // - // xrRichText3 - // - this.xrRichText3.Font = new System.Drawing.Font("Arial", 11F); - this.xrRichText3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.6666F); - this.xrRichText3.Name = "xrRichText3"; - this.xrRichText3.SerializableRtfString = resources.GetString("xrRichText3.SerializableRtfString"); - this.xrRichText3.SizeF = new System.Drawing.SizeF(666.1637F, 28.37497F); - // - // lblMahnung2 - // - this.lblMahnung2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblMahnung2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 96.7708F); - this.lblMahnung2.Multiline = true; - this.lblMahnung2.Name = "lblMahnung2"; - this.lblMahnung2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblMahnung2.SizeF = new System.Drawing.SizeF(666.9999F, 106.4584F); - this.lblMahnung2.StylePriority.UseFont = false; - this.lblMahnung2.Text = resources.GetString("lblMahnung2.Text"); - this.lblMahnung2.Visible = false; - // - // GroupHeader1 - // - this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable3, - this.xrLabel16}); - this.GroupHeader1.HeightF = 100F; - this.GroupHeader1.Name = "GroupHeader1"; - // - // xrLabel16 - // - this.xrLabel16.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel16.Multiline = true; - this.xrLabel16.Name = "xrLabel16"; - this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(666.9999F, 58.66669F); - this.xrLabel16.StylePriority.UseFont = false; - this.xrLabel16.Text = resources.GetString("xrLabel16.Text"); - // // xrTable1 // this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); @@ -608,6 +579,14 @@ namespace EvVereinF this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; this.xrTableCell12.Weight = 1.0152204985905673D; // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable3, + this.xrLabel16}); + this.GroupHeader1.HeightF = 100F; + this.GroupHeader1.Name = "GroupHeader1"; + // // xrTable3 // this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 75F); @@ -725,9 +704,16 @@ namespace EvVereinF this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; this.xrTableCell20.Weight = 1.0152204985905673D; // - // bindingSource1 + // xrLabel16 // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO); + this.xrLabel16.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel16.Multiline = true; + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(666.9999F, 58.66669F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.Text = resources.GetString("xrLabel16.Text"); // // GroupFooter1 // @@ -748,6 +734,20 @@ namespace EvVereinF this.xrLabel18.Text = "Aus diesem Grund kündigen wir fristlos zum [Zahlziel!dd.MM.yyyy]. Bitte entfernen" + " Sie Ihr Eigentum aus unserer Wohnung. \r\n\r\nWir bedauern sehr, dass wir diesen We" + "g gehen müssen."; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.InvoiceCustomerRO); + // + // xrLabel12 + // + this.xrLabel12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 196.2085F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(292F, 17.00002F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "Leitung Betreutes Wohnen für junge Erwachsene"; // // InvoiceCustomerReport // @@ -788,7 +788,6 @@ namespace EvVereinF private DevExpress.XtraReports.UI.XRLabel xrLabel4; private DevExpress.XtraReports.UI.XRLabel lblNutzung; private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter; - private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel xrLabel10; private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; @@ -836,5 +835,6 @@ namespace EvVereinF private DevExpress.XtraReports.UI.XRTableCell xrTableCell20; private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; } } diff --git a/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CollectiveInvoiceCreation.cs b/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CollectiveInvoiceCreation.cs new file mode 100644 index 000000000..0455d83f3 --- /dev/null +++ b/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CollectiveInvoiceCreation.cs @@ -0,0 +1,114 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report.ReportObjects; +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 EvVereinFürWohnraumhilfe.Invoicing +{ + public class CollectiveInvoiceCreation : InvoiceCreation + { + private DateTime? accountingPeriodStart = null; + private DateTime? accountingPeriodEnd = null; + + public override void SetInvoiceId(ServiceInvoice invoice) + { + invoice.InvoiceBase.InvoiceId = "Sammelrechnung"; + invoice.InvoiceBase.InvoiceTypeText = "Sammelrechnung LWV"; + } + + public override void SetServiceInvoicePeriods(ServiceInvoice invoice, CostBearer2SupportConcept costBearer2SupportConcept, DateTimeSpan invoicePeriod, List serviceRecords) + { + var invoiceAccountingPeriodSpan = new DateTimeSpan + { + StartDateTime = invoice.InvoiceBase.AccountingPeriodStart.Value, + EndDateTime = invoice.InvoiceBase.AccountingPeriodEnd.Value + }; + + foreach (SupportConceptApprovalPeriod iPeriod in costBearer2SupportConcept.ApprovalPeriodList) + { + SupportConceptApprovalPeriodDC approvalPeriodDC = MapperFactory.SupportConceptApprovalPeriodDC_SupportConceptApprovalPeriod.MapToNewDC(iPeriod); + + + if (approvalPeriodDC.Span.EndDateTime < invoiceAccountingPeriodSpan.StartDateTime || approvalPeriodDC.Span.StartDateTime > invoiceAccountingPeriodSpan.EndDate) + { + continue; + } + + ServiceInvoicePeriod serviceInvoicePeriod = CreateServiceInvoicePeriod(approvalPeriodDC, invoiceAccountingPeriodSpan); + serviceInvoicePeriod.SupportConceptApprovalPeriod = iPeriod; + serviceInvoicePeriod.Customer = costBearer2SupportConcept.SupportConcept.Customer; + + CostBearer costBearer = costBearer2SupportConcept.CostBearer; + List costRates = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(costBearer.CostRatePeriods); + + CostRatePeriodDC serviceUnit = costRates.GetCostRatePeriodForDate(CostRatePeriodType.MinutesPerServiceUnit, DateTime.Now); + serviceInvoicePeriod.ServiceUnitName = serviceUnit.UnitName; + + Calculations calc = PluginLoader.FindClass(_SpecificID) ?? Calculations.GetInstance(_SpecificID); + + decimal amountPerUnit; + decimal unitCount; + + serviceInvoicePeriod.ApprovedFixedAmount = calc.GetApprovedFixedAmountForPeriod(approvalPeriodDC, serviceInvoicePeriod.Start.Value, serviceInvoicePeriod.End.Value, out amountPerUnit, out unitCount); + + if (!serviceInvoicePeriod.ApprovedFixedAmount.HasValue) + { + serviceInvoicePeriod.ApprovedHours = calc.GetApprovedHoursForPeriod(approvalPeriodDC, + costRates, + serviceInvoicePeriod.Start.Value, + serviceInvoicePeriod.End.Value); + if (serviceInvoicePeriod.ApprovedHours.HasValue) + serviceInvoicePeriod.ApprovedBE = serviceUnit.GetHoursInBE(serviceInvoicePeriod.ApprovedHours.Value); + + serviceInvoicePeriod.ApprovedAmountDefaultHourlyRate = calc.GetApprovedAmountDefaultHourlyRateForPeriod(approvalPeriodDC, + costRates, + serviceInvoicePeriod.Start, + serviceInvoicePeriod.End); + } + SetInvoiceItems(invoice, serviceInvoicePeriod, approvalPeriodDC, costBearer2SupportConcept, invoicePeriod, serviceRecords); + + CheckMaxApprovedAmount(invoice, serviceInvoicePeriod, approvalPeriodDC, costBearer2SupportConcept, invoicePeriod, serviceRecords); + + if (serviceInvoicePeriod.InvoiceItemList.Count > 0) + { + invoice.ServiceInvoicePeriodList.Add(serviceInvoicePeriod); + } + } + if (invoice.ServiceInvoicePeriodList.Count > 0) + { + decimal cor = 0; + + for (int i = invoice.ServiceInvoicePeriodList.Count - 1; i >= 0; i--) + { + var sip = invoice.ServiceInvoicePeriodList[i]; + if (sip.SupportConceptApprovalPeriod.ServiceCategory == null) + { + cor = sip.InvoiceItemList[0].AmountTotal.Value; + var cb2scOid = sip.SupportConceptApprovalPeriod.CostBearer2SupportConcept.Oid; + var sipOther = invoice.ServiceInvoicePeriodList.Where(s => s.SupportConceptApprovalPeriod.CostBearer2SupportConcept.Oid == cb2scOid); + var sipCor = sipOther.FirstOrDefault(s => s.SupportConceptApprovalPeriod.ServiceCategory != null); + + if (sipCor != null && cor != 0) + { + sipCor.InvoiceItemList[0].AmountTotal += cor; + sipCor.InvoiceItemList[0].GrossAmountTotal += cor; + sipCor.Notice = String.Format("{0:0.00}", cor); + invoice.ServiceInvoicePeriodList.Remove(sip); + } + } + } + } + } + } +} diff --git a/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CustomInvoiceFactory.cs b/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CustomInvoiceFactory.cs new file mode 100644 index 000000000..108ccf149 --- /dev/null +++ b/ReportImp/EvVereinFürWohnraumhilfe/Invoicing/CustomInvoiceFactory.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using BeWo.Service.Invoicing; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; + +namespace EvVereinFürWohnraumhilfe.Invoicing +{ + public class CustomInvoiceFactory : InvoiceFactory + { + public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords) + { + foreach (var key in supportConcepts2ServiceRecords.Keys) + { + if (!String.IsNullOrEmpty(key.CostBearer) && key.CostBearer.Contains("LWV Hessen")) + { + return new CollectiveInvoiceCreation(); + } + } + return new InvoiceCreation(); + } + } +} diff --git a/Service/Plugins/PluginLoader.cs b/Service/Plugins/PluginLoader.cs index d14820ce8..2e59573c2 100644 --- a/Service/Plugins/PluginLoader.cs +++ b/Service/Plugins/PluginLoader.cs @@ -141,7 +141,7 @@ namespace BeWo.Service.Plugins //t = "8828216586"; // Caritas Aachen //t = "7062943632"; // ABW Elsebrock //t = "3956369664"; // LH Wetterau - t = "3984525482"; // API Berlin + //t = "3984525482"; // API Berlin //t = "9975231461"; // Selwo //t = "8181286349"; // BeWo am Rhein //t = "4595275645"; // Eigenständig @@ -221,7 +221,7 @@ namespace BeWo.Service.Plugins //t = "7817461089"; // FAB e.V. (Familienarbeit und Beratung e.V.) //t = "5207911843"; // Pro Balance //t = "8619663355"; // HSH Cologne - t = "1652658918"; // LH Frankfurt Oder + //t = "1652658918"; // LH Frankfurt Oder //t = "7696927868"; // Kuhring Betreuung //t = "6251348980"; // BeWo Gün //t = "6782533512"; // LH Dorsten @@ -315,7 +315,7 @@ namespace BeWo.Service.Plugins //t = "4858885375"; // BewoTrio //t = "9734214365"; // Wegfinder Rhein-Ruhr //t = "1011478760"; // Autismus Köln/Bonn e.V. - t = "8184278271"; // Ambulant Betreutes Wohnen Stephan Schillings + //t = "8184278271"; // Ambulant Betreutes Wohnen Stephan Schillings //t = "2576513996"; // TRIAS Ambulante Sozialarbeit Schön + Schön-Uhlmann GbR //t = "9518001524"; // Sozialpädagogische Praxis Astrid Schnödewind //t = "1048483934"; // Frauenhaus e.V. EWFRA - Wohnprojekt für Frauen @@ -331,11 +331,12 @@ namespace BeWo.Service.Plugins //t = "9815376800"; // Haus Dülken GmbH + Co. KG //t = "6917917884"; // AMBEWO Müller/Gerhards //t = "5240630948"; // Caritasverband der Diözese Rottenburg-Stuttgart e.V. - Rechtsträger der Caritas Heilbronn Hohenlohe e.V. - //t = "7748694330"; //Caritasverband der Diözese Rottenburg-Stuttgart e.V. als Rechtsträger der Caritas Ludwigsburg-Waiblingen-Enz + //t = "7748694330"; // Caritasverband der Diözese Rottenburg-Stuttgart e.V. als Rechtsträger der Caritas Ludwigsburg-Waiblingen-Enz //t = "5578206856"; // SHK Service GmbH //t = "1508800817"; // Behindert na und e.V. //t = "4351087063"; // MOBILE e.V. - Selbstbestimmtes Leben //t = "1262219859"; // Psychosoziale Projekte Saarpfalz + t = "2986016022"; // Ev Verein für Wohnraumhilfe Frankfurt a.M. return t; #else