diff --git a/ReportImp/CaritasverbandOstvest/SettlementReport.Designer.cs b/ReportImp/CaritasverbandOstvest/SettlementReport.Designer.cs index 9e7e6f5d2..4d7842193 100644 --- a/ReportImp/CaritasverbandOstvest/SettlementReport.Designer.cs +++ b/ReportImp/CaritasverbandOstvest/SettlementReport.Designer.cs @@ -1,35 +1,37 @@ -namespace CaritasOstvest -{ - partial class Spitzabrechnung - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { +namespace CaritasOstvest +{ + partial class Spitzabrechnung + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung)); + DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); + DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); @@ -61,7 +63,68 @@ namespace CaritasOstvest this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable7 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow25 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow26 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow27 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow28 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow29 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.cellBewilligteFLSText = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); + this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // @@ -161,7 +224,7 @@ namespace CaritasOstvest this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UsePadding = false; - this.xrLabel10.Text = "Tatsächlich geleistete Fachleistungsstunden im Bewilligungszeitraum lt. Anlage:"; + this.xrLabel10.Text = "Tats�chlich geleistete Fachleistungsstunden im Bewilligungszeitraum lt. Anlage:"; // // xrLabel3 // @@ -352,7 +415,7 @@ namespace CaritasOstvest this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel14.SizeF = new System.Drawing.SizeF(292.0001F, 16F); this.xrLabel14.StylePriority.UseFont = false; - this.xrLabel14.Text = "Caritasverband Ostvest e.V. * Kirchstraße 29 * 45711 Datteln"; + this.xrLabel14.Text = "Caritasverband Ostvest e.V. * Kirchstraße 29 * 45711 Datteln"; // // RecipientPostCodeAndTown // @@ -433,7 +496,7 @@ namespace CaritasOstvest this.xrLabel8.SizeF = new System.Drawing.SizeF(678.3188F, 40.00003F); this.xrLabel8.StylePriority.UseFont = false; this.xrLabel8.StylePriority.UseTextAlignment = false; - this.xrLabel8.Text = "Budgetnachweis\r\nüber die Abrechnung von Fachleistungsstunden im Rahmen der Eingli" + + this.xrLabel8.Text = "Budgetnachweis\r\nüber die Abrechnung von Fachleistungsstunden im Rahmen der Eingli" + "ederungshilfe"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // @@ -462,6 +525,682 @@ namespace CaritasOstvest this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.Text = "Ort, Datum:"; // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.ReportHeader1, + this.Detail1, + this.GroupHeader2, + this.Zwischensumme, + this.GroupFooter1}); + this.DetailReport.DataMember = "InvoiceItems"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand; + // + // ReportHeader1 + // + this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel30, + this.xrLabel16, + this.xrLabel17, + this.xrLabel18, + this.xrLabel20, + this.xrLabel21, + this.xrLabel22, + this.xrLabel23, + this.xrLabel24, + this.xrLabel25, + this.xrLabel26, + this.xrLabel27, + this.xrLabel28, + this.xrLabel29, + this.xrTable1}); + this.ReportHeader1.HeightF = 554.6458F; + this.ReportHeader1.Name = "ReportHeader1"; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable7}); + this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.Detail1.HeightF = 17F; + this.Detail1.Name = "Detail1"; + this.Detail1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { + new DevExpress.XtraReports.UI.GroupField("ItemPeriodStart", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)}); + this.Detail1.StylePriority.UseFont = false; + // + // xrTable7 + // + this.xrTable7.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable7.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable7.Name = "xrTable7"; + this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow13}); + this.xrTable7.SizeF = new System.Drawing.SizeF(650.0004F, 17F); + this.xrTable7.StylePriority.UseBorderColor = false; + this.xrTable7.StylePriority.UseFont = false; + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell15, + this.xrTableCell16}); + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 0.085D; + // + // xrTableCell15 + // + this.xrTableCell15.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell15.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell15.CanShrink = true; + this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemDescription")}); + this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell15.StylePriority.UseBorderColor = false; + this.xrTableCell15.StylePriority.UseBorders = false; + this.xrTableCell15.StylePriority.UseFont = false; + this.xrTableCell15.StylePriority.UsePadding = false; + this.xrTableCell15.Weight = 0.72513159049240217D; + // + // xrTableCell16 + // + this.xrTableCell16.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell16.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell16.CanShrink = true; + this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")}); + this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell16.StylePriority.UseBorderColor = false; + this.xrTableCell16.StylePriority.UseBorders = false; + this.xrTableCell16.StylePriority.UseFont = false; + this.xrTableCell16.StylePriority.UsePadding = false; + this.xrTableCell16.StylePriority.UseTextAlignment = false; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell16.Weight = 0.27486915745757012D; + // + // GroupHeader2 + // + this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { + new DevExpress.XtraReports.UI.GroupField("RateFactor", DevExpress.XtraReports.UI.XRColumnSortOrder.Descending)}); + this.GroupHeader2.HeightF = 0F; + this.GroupHeader2.Name = "GroupHeader2"; + // + // Zwischensumme + // + this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable3}); + this.Zwischensumme.HeightF = 28F; + this.Zwischensumme.Name = "Zwischensumme"; + this.Zwischensumme.Visible = false; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow12, + this.xrTableRow10}); + this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 28F); + this.xrTable3.StylePriority.UseFont = false; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell9, + this.xrTableCell10}); + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 0.40476190476190466D; + // + // xrTableCell9 + // + this.xrTableCell9.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell9.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell9.StylePriority.UseBorderColor = false; + this.xrTableCell9.StylePriority.UseBorders = false; + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UsePadding = false; + this.xrTableCell9.Text = "Zwischensumme [UnitDescription]:"; + this.xrTableCell9.Weight = 2.1753946627103367D; + // + // xrTableCell10 + // + this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell10.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")}); + this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell10.StylePriority.UseBorderColor = false; + this.xrTableCell10.StylePriority.UseBorders = false; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UsePadding = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + xrSummary1.FormatString = "{0:c}"; + xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group; + this.xrTableCell10.Summary = xrSummary1; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell10.Weight = 0.82460533728966334D; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell7}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Weight = 0.26190476190476186D; + // + // xrTableCell7 + // + this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell7.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell7.StylePriority.UseBorderColor = false; + this.xrTableCell7.StylePriority.UseBorders = false; + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.Weight = 3D; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6}); + this.GroupFooter1.HeightF = 116F; + this.GroupFooter1.Level = 1; + this.GroupFooter1.Name = "GroupFooter1"; + // + // xrTable6 + // + this.xrTable6.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable6.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0.0002543131F, 0F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow23, + this.xrTableRow24, + this.xrTableRow25, + this.xrTableRow26, + this.xrTableRow27, + this.xrTableRow28, + this.xrTableRow29}); + this.xrTable6.SizeF = new System.Drawing.SizeF(650.0002F, 116F); + this.xrTable6.StylePriority.UseBorderColor = false; + this.xrTable6.StylePriority.UseFont = false; + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell39}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 0.060000000000000005D; + // + // xrTableCell39 + // + this.xrTableCell39.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell39.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell39.StylePriority.UseBorderColor = false; + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.Weight = 1D; + // + // xrTableRow24 + // + this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell40, + this.xrTableCell41}); + this.xrTableRow24.Name = "xrTableRow24"; + this.xrTableRow24.Weight = 0.10000000000000002D; + // + // xrTableCell40 + // + this.xrTableCell40.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell40.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell40.StylePriority.UseBorders = false; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UsePadding = false; + this.xrTableCell40.Text = "Gesamtforderung:"; + this.xrTableCell40.Weight = 0.72513097167444363D; + // + // xrTableCell41 + // + this.xrTableCell41.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountRecordedFLSString")}); + this.xrTableCell41.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell41.Name = "xrTableCell41"; + this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell41.StylePriority.UseBorders = false; + this.xrTableCell41.StylePriority.UseFont = false; + this.xrTableCell41.StylePriority.UsePadding = false; + this.xrTableCell41.StylePriority.UseTextAlignment = false; + this.xrTableCell41.Text = "[AmountRecordedFLSString]"; + this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell41.Weight = 0.27486902832555632D; + // + // xrTableRow25 + // + this.xrTableRow25.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell42}); + this.xrTableRow25.Name = "xrTableRow25"; + this.xrTableRow25.Weight = 0.060000000000000005D; + // + // xrTableCell42 + // + this.xrTableCell42.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.Weight = 1D; + // + // xrTableRow26 + // + this.xrTableRow26.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell43, + this.xrTableCell44}); + this.xrTableRow26.Name = "xrTableRow26"; + this.xrTableRow26.Weight = 0.10000000000000002D; + // + // xrTableCell43 + // + this.xrTableCell43.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell43.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell43.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell43.Name = "xrTableCell43"; + this.xrTableCell43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell43.StylePriority.UseBorderColor = false; + this.xrTableCell43.StylePriority.UseBorders = false; + this.xrTableCell43.StylePriority.UseFont = false; + this.xrTableCell43.Text = "abzüglich der geleisteten Abschlagszahlung:"; + this.xrTableCell43.Weight = 0.72513097167444385D; + // + // xrTableCell44 + // + this.xrTableCell44.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell44.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell44.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell44.Name = "xrTableCell44"; + this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell44.StylePriority.UseBorderColor = false; + this.xrTableCell44.StylePriority.UseBorders = false; + this.xrTableCell44.StylePriority.UseFont = false; + this.xrTableCell44.StylePriority.UseTextAlignment = false; + this.xrTableCell44.Text = "[AmountAdvancedPayments]"; + this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell44.Weight = 0.27486902832555637D; + // + // xrTableRow27 + // + this.xrTableRow27.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell45, + this.xrTableCell46}); + this.xrTableRow27.Name = "xrTableRow27"; + this.xrTableRow27.Weight = 0.1D; + // + // xrTableCell45 + // + this.xrTableCell45.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell45.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell45.Name = "xrTableCell45"; + this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell45.StylePriority.UseBorders = false; + this.xrTableCell45.StylePriority.UseFont = false; + this.xrTableCell45.StylePriority.UsePadding = false; + this.xrTableCell45.Text = "abzüglich Eigenanteil:"; + this.xrTableCell45.Weight = 0.72513097167444385D; + // + // xrTableCell46 + // + this.xrTableCell46.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell46.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Eigenbeteiligung", "{0:c}")}); + this.xrTableCell46.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell46.Name = "xrTableCell46"; + this.xrTableCell46.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell46.StylePriority.UseBorders = false; + this.xrTableCell46.StylePriority.UseFont = false; + this.xrTableCell46.StylePriority.UsePadding = false; + this.xrTableCell46.StylePriority.UseTextAlignment = false; + this.xrTableCell46.Text = "xrTableCell15"; + this.xrTableCell46.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell46.Weight = 0.27486902832555637D; + // + // xrTableRow28 + // + this.xrTableRow28.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell47}); + this.xrTableRow28.Name = "xrTableRow28"; + this.xrTableRow28.Weight = 0.060000000000000005D; + // + // xrTableCell47 + // + this.xrTableCell47.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell47.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell47.Name = "xrTableCell47"; + this.xrTableCell47.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell47.StylePriority.UseBorderColor = false; + this.xrTableCell47.StylePriority.UseBorders = false; + this.xrTableCell47.Weight = 1D; + // + // xrTableRow29 + // + this.xrTableRow29.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell48, + this.xrTableCell49}); + this.xrTableRow29.Name = "xrTableRow29"; + this.xrTableRow29.Weight = 0.099999999999999978D; + // + // xrTableCell48 + // + this.xrTableCell48.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell48.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell48.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell48.Name = "xrTableCell48"; + this.xrTableCell48.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell48.StylePriority.UseBorderColor = false; + this.xrTableCell48.StylePriority.UseBorders = false; + this.xrTableCell48.StylePriority.UseFont = false; + this.xrTableCell48.Text = "Restforderung:"; + this.xrTableCell48.Weight = 0.72513097167444385D; + // + // xrTableCell49 + // + this.xrTableCell49.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell49.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell49.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell49.Name = "xrTableCell49"; + this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell49.StylePriority.UseBorderColor = false; + this.xrTableCell49.StylePriority.UseBorders = false; + this.xrTableCell49.StylePriority.UseFont = false; + this.xrTableCell49.StylePriority.UseTextAlignment = false; + this.xrTableCell49.Text = "[Claim]"; + this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell49.Weight = 0.27486902832555637D; + // + // xrTable1 + // + this.xrTable1.BorderColor = System.Drawing.Color.Transparent; + this.xrTable1.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 507.7082F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9, + this.xrTableRow11, + this.rowErbrachteLeistung}); + this.xrTable1.SizeF = new System.Drawing.SizeF(650.0004F, 46.00002F); + this.xrTable1.StylePriority.UseBorderColor = false; + this.xrTable1.StylePriority.UseFont = false; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.cellBewilligteFLSText, + this.xrTableCell6}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Weight = 0.085D; + // + // cellBewilligteFLSText + // + this.cellBewilligteFLSText.BorderColor = System.Drawing.SystemColors.ControlLight; + this.cellBewilligteFLSText.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.cellBewilligteFLSText.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.cellBewilligteFLSText.Name = "cellBewilligteFLSText"; + this.cellBewilligteFLSText.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.cellBewilligteFLSText.StylePriority.UseBorderColor = false; + this.cellBewilligteFLSText.StylePriority.UseBorders = false; + this.cellBewilligteFLSText.StylePriority.UseFont = false; + this.cellBewilligteFLSText.Text = "Bewilligte Fachleistungsstunden (FLS):"; + this.cellBewilligteFLSText.Weight = 0.7251310187625496D; + // + // xrTableCell6 + // + this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell6.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell6.StylePriority.UseBorderColor = false; + this.xrTableCell6.StylePriority.UseBorders = false; + this.xrTableCell6.StylePriority.UseFont = false; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "[ApprovedFLS]"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell6.Weight = 0.27486898123745052D; + // + // xrTableRow11 + // + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell21}); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.Weight = 0.059999938478716673D; + // + // xrTableCell21 + // + this.xrTableCell21.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell21.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell21.Name = "xrTableCell21"; + this.xrTableCell21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell21.StylePriority.UseBorderColor = false; + this.xrTableCell21.StylePriority.UseBorders = false; + this.xrTableCell21.Weight = 1D; + // + // rowErbrachteLeistung + // + this.rowErbrachteLeistung.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell22}); + this.rowErbrachteLeistung.Name = "rowErbrachteLeistung"; + this.rowErbrachteLeistung.Weight = 0.08499991416939498D; + // + // xrTableCell22 + // + this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell22.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell22.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell22.StylePriority.UseBorderColor = false; + this.xrTableCell22.StylePriority.UseBorders = false; + this.xrTableCell22.StylePriority.UseFont = false; + this.xrTableCell22.Text = "Erbrachte Leistungen:"; + this.xrTableCell22.Weight = 1D; + // + // xrLabel16 + // + this.xrLabel16.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel16.CanGrow = false; + this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(342.9949F, 96.66666F); + this.xrLabel16.Multiline = true; + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel16.SizeF = new System.Drawing.SizeF(140.0208F, 73.24997F); + this.xrLabel16.StylePriority.UseBorders = false; + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.Text = "Ansprechpartner/in:\r\nTelefon:\r\nFax:\r\nE-Mail:"; + // + // xrLabel17 + // + this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel17.CanGrow = false; + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(483.0154F, 96.66666F); + this.xrLabel17.Multiline = true; + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel17.SizeF = new System.Drawing.SizeF(198.3007F, 73.24997F); + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.Text = "[SenderContactPerson]\r\n[SenderContactPersonPhone]\r\n[SenderContactPersonFax]\r\n[Sen" + + "derContactPersonMail]"; + // + // xrLabel18 + // + this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(342.9949F, 169.9166F); + this.xrLabel18.Multiline = true; + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel18.SizeF = new System.Drawing.SizeF(140.0208F, 73.24998F); + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.Text = "ZAD-Nr. des LWL:"; + // + // xrLabel20 + // + this.xrLabel20.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(342.9949F, 76.66666F); + this.xrLabel20.Multiline = true; + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel20.SizeF = new System.Drawing.SizeF(140.0208F, 20F); + this.xrLabel20.StylePriority.UseBorders = false; + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.Text = "Ort, Datum:"; + // + // xrLabel21 + // + this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")}); + this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(483.0155F, 76.66666F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(198.3005F, 20.00001F); + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.TextFormatString = "Datteln, {0}"; + // + // xrLabel22 + // + this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 450.2292F); + this.xrLabel22.Multiline = true; + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel22.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel22.SizeF = new System.Drawing.SizeF(678.3188F, 40.00003F); + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "Budgetnachweis - Berechnung"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel23 + // + this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(483.0155F, 169.9166F); + this.xrLabel23.Multiline = true; + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel23.SizeF = new System.Drawing.SizeF(198.3005F, 73.24997F); + this.xrLabel23.StylePriority.UseBorders = false; + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.Text = "[BusinessPartnerId]"; + // + // xrLabel24 + // + this.xrLabel24.CanShrink = true; + this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 243.5626F); + this.xrLabel24.Name = "xrLabel24"; + this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel24.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel24.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.Text = "[RecipientOrganisation]"; + // + // xrLabel25 + // + this.xrLabel25.CanShrink = true; + this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 260.5625F); + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel25.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel25.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.Text = "[RecipientContactPerson]"; + // + // xrLabel26 + // + this.xrLabel26.CanShrink = true; + this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 277.5626F); + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel26.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel26.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.Text = "[RecipientDivision]"; + // + // xrLabel27 + // + this.xrLabel27.CanShrink = true; + this.xrLabel27.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 294.5626F); + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel27.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel27.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel27.StylePriority.UseFont = false; + this.xrLabel27.Text = "[RecipientStreet]"; + // + // xrLabel28 + // + this.xrLabel28.CanShrink = true; + this.xrLabel28.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 311.5626F); + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel28.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.Text = "[RecipientPostCodeAndTown]"; + // + // xrLabel29 + // + this.xrLabel29.Font = new DevExpress.Drawing.DXFont("Arial", 8F); + this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(2.997335F, 226.1666F); + this.xrLabel29.Name = "xrLabel29"; + this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel29.SizeF = new System.Drawing.SizeF(328.6667F, 15.99998F); + this.xrLabel29.StylePriority.UseFont = false; + this.xrLabel29.Text = "Caritasverband Ostvest e.V. * Kirchstraße 29 * 45711 Datteln"; + // + // xrLabel30 + // + this.xrLabel30.Font = new DevExpress.Drawing.DXFont("Arial", 9F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(342.9949F, 243.1666F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(328.6667F, 15.99998F); + this.xrLabel30.StylePriority.UseFont = false; + this.xrLabel30.Text = "Rechnungsnummer: [InvoiceNumber]"; + // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); @@ -472,7 +1211,8 @@ namespace CaritasOstvest this.Detail, this.topMarginBand1, this.bottomMarginBand1, - this.GroupHeader1}); + this.GroupHeader1, + this.DetailReport}); this.DataSource = this.bindingSource1; this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { @@ -482,38 +1222,44 @@ namespace CaritasOstvest this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; this.Version = "23.2"; + xrWatermark1.Id = "Watermark1"; + this.Watermarks.Add(xrWatermark1); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); - } - - #endregion - - private DevExpress.XtraReports.UI.DetailBand Detail; - private System.Windows.Forms.BindingSource bindingSource1; - private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; - private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; - private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; - private DevExpress.XtraReports.UI.XRLabel xrLabel12; - private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2; - private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1; - private DevExpress.XtraReports.UI.XRLabel xrLabel35; - private DevExpress.XtraReports.UI.XRLine xrLine1; - private DevExpress.XtraReports.UI.XRLabel xrLabel19; - private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; - private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; - private DevExpress.XtraReports.UI.XRLabel xrLabel4; - private DevExpress.XtraReports.UI.XRLabel xrLabel6; - private DevExpress.XtraReports.UI.XRLabel xrLabel5; - private DevExpress.XtraReports.UI.XRPanel xrPanel1; - private DevExpress.XtraReports.UI.XRLabel xrLabel15; - private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen; - private DevExpress.XtraReports.UI.XRLabel xrLabel7; - private DevExpress.XtraReports.UI.XRLabel xrLabel10; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; - private DevExpress.XtraReports.UI.XRLabel xrLabel9; - private DevExpress.XtraReports.UI.XRLabel xrLabel8; + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1; + private DevExpress.XtraReports.UI.XRLabel xrLabel35; + private DevExpress.XtraReports.UI.XRLine xrLine1; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRPanel xrPanel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; private DevExpress.XtraReports.UI.XRLabel xrLabel11; private DevExpress.XtraReports.UI.XRLabel RecipientPostCodeAndTown; private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientStreet; @@ -521,5 +1267,62 @@ namespace CaritasOstvest private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientContactPerson; private DevExpress.XtraReports.UI.XRLabel xrLabel13; private DevExpress.XtraReports.UI.XRLabel xrLabel14; - } -} + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader1; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.XRTable xrTable7; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow13; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell16; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2; + private DevExpress.XtraReports.UI.GroupFooterBand Zwischensumme; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow12; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.XRTable xrTable6; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow23; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell39; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow24; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell40; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell41; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow25; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow26; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell43; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell44; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow27; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell45; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell46; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow28; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell47; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow29; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell48; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell49; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow9; + private DevExpress.XtraReports.UI.XRTableCell cellBewilligteFLSText; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow11; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell21; + private DevExpress.XtraReports.UI.XRTableRow rowErbrachteLeistung; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell22; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel26; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel29; + } +} diff --git a/ReportImp/CaritasverbandOstvest/SettlementReport.cs b/ReportImp/CaritasverbandOstvest/SettlementReport.cs index b3f8142ea..99493b061 100644 --- a/ReportImp/CaritasverbandOstvest/SettlementReport.cs +++ b/ReportImp/CaritasverbandOstvest/SettlementReport.cs @@ -1,8 +1,10 @@ -using System; using BeWo.Data.Access; using BeWo.Data.Entities; -using BeWo.Report.ReportObjects; using BeWo.Report; +using BeWo.Report.ReportObjects; +using BS.Shared.DataContracts; +using System; +using System.Collections.Generic; namespace CaritasOstvest { @@ -29,6 +31,71 @@ namespace CaritasOstvest } + bool isDefaultSpitzabrechnung = false; + + if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count == 1) + { + var ii = pRO.InvoiceItems[0]; + if ((ii.ItemDescription == "Spitzabrechung" || ii.ItemDescription == "Spitzabrechnung") && ii.GrossAmountTotal == null && ii.RateFactor == null) + { + isDefaultSpitzabrechnung = true; + } + } + if (!isDefaultSpitzabrechnung) + { + if (pRO.DifferentHourlyRateCount > 0 && pRO.HourlyRateNew.HasValue) + { + isDefaultSpitzabrechnung = true; + } + } + + if (isDefaultSpitzabrechnung) + { + //UpdateAbrechnungsFelder(pRO); + + pRO.InvoiceItems = CreateDefaultSpitzabrechnungInvoiceItems(pRO); + } + else + { + var id = GetCustomerId(pRO); + if (id == "LWLNEU") + { + pRO.RateFactorText = null; + pRO.RateFactorText2 = null; + + if (pRO.InvoiceItems != null) + { + foreach (var ii in pRO.InvoiceItems) + { + ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS x {3:c}", + ii.ItemPeriodStart, ii.ItemPeriodEnd, ii.UnitCount, ii.AmountPerUnit); + ii.UnitDescription = "Fachleistungsstunden"; + + if (ii.RateFactor == 0) + { + Zwischensumme.Visible = true; + + ii.ItemDescription = ii.ItemDescription.Replace("FLS", "Std."); + ii.UnitDescription = "Fehlkontakte"; + } + } + } + } + else + { + if (pRO.InvoiceItems != null) + { + foreach (var ii in pRO.InvoiceItems) + { + ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS {3}x {4:c}", + ii.ItemPeriodStart, ii.ItemPeriodEnd, + ii.UnitCount, ii.RateFactor == 0 ? "" : "x " + pRO.RateFactorText2 + " ", + ii.AmountPerUnit); + } + } + } + } + xrCheckBox2.Checked = true; if (pRO.CostBearer2SupportConceptOid > 0) @@ -54,5 +121,81 @@ namespace CaritasOstvest bindingSource1.DataSource = pRO; } + + private String GetCustomerId(SettlementRO pRO) + { + var cb2sc = DAOFactory.GenericDAO.LoadByID(pRO.CostBearer2SupportConceptOid); + return cb2sc.CostBearer.ID; + } + + private IList CreateDefaultSpitzabrechnungInvoiceItems(SettlementRO pRO) + { + IList itemList = new List(); + if (pRO.DifferentHourlyRateCount == 3) + { + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString, + pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatz3 * pRO.RateFactor * pRO.HourlyRate3 + }); + + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString, + pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * pRO.RateFactor * pRO.HourlyRateOld + }); + + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString, + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew + }); + + } + else if (pRO.DifferentHourlyRateCount == 2) + { + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString, + pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld + }); + + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString, + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew + }); + + } + else + { + itemList.Add(new InvoiceItemDC + { + ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}", + pRO.AccountingStartDateString, pRO.AccountingEndDateString, + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew), + + GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew + }); + + } + + return itemList; + } } }