diff --git a/BeWo/View/Controls/DPCtrlDienstTooltip.xaml.cs b/BeWo/View/Controls/DPCtrlDienstTooltip.xaml.cs index b26a0b7f2..f2a292df0 100644 --- a/BeWo/View/Controls/DPCtrlDienstTooltip.xaml.cs +++ b/BeWo/View/Controls/DPCtrlDienstTooltip.xaml.cs @@ -34,7 +34,7 @@ namespace BeWo.View.Controls if (overtime != null) { TxtUeberstunden.Text = string.Format("{0:0.00}", overtime.Betrag); - TxtAuszahlungsart.Text = overtime.Auszahlungsart.Name; + TxtAuszahlungsart.Text = overtime.Auszahlungsart != null ? overtime.Auszahlungsart.Name : "-"; TxtUeberstunden.Visibility = Visibility.Visible; TxtAuszahlungsart.Visibility = Visibility.Visible; diff --git a/Report/ReportObjects/AuslastungBerechnung.cs b/Report/ReportObjects/AuslastungBerechnung.cs index f75767a8e..abacdc4ba 100644 --- a/Report/ReportObjects/AuslastungBerechnung.cs +++ b/Report/ReportObjects/AuslastungBerechnung.cs @@ -349,8 +349,8 @@ namespace BeWo.Report.ReportObjects if (scDc != null) { - if (scDc.ApprovedHoursPerWeek > 0 || - scDc.ApprovedHoursPerWeekWithRateFactor > 0 || + if (scDc.ApprovedHoursPerWeek > 0.00001m || + scDc.ApprovedHoursPerWeekWithRateFactor > 0.00001m || !CheckIfApprovedGreaterZero()) { empDetail.SupportConceptDetailList.Add(scDc); @@ -365,9 +365,6 @@ namespace BeWo.Report.ReportObjects } } } - - - } protected virtual bool CheckIfApprovedGreaterZero() diff --git a/ReportImp/BetreutesWohnenAmRheinReports/BWARMitarbeiterstundenkontoBerechnung.cs b/ReportImp/BetreutesWohnenAmRheinReports/BWARMitarbeiterstundenkontoBerechnung.cs index 7d351c77a..3eca53ffd 100644 --- a/ReportImp/BetreutesWohnenAmRheinReports/BWARMitarbeiterstundenkontoBerechnung.cs +++ b/ReportImp/BetreutesWohnenAmRheinReports/BWARMitarbeiterstundenkontoBerechnung.cs @@ -258,6 +258,23 @@ namespace BeWo.BetreutesWohnenAmRheinReports } return pausenZeit; } + + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Year >= 2024 && start.Month == 12 && (start.Day == 24 || start.Day == 31)) + { + return 0.5m; + } + + return base.GetFeiertagsFaktor(start); + } + public override bool IstAnrechenbareAbsenceTime(AbsenceTime item) + { + if (item.AbsenceReason.Description == "Überstundenfrei") + return false; + else + return base.IstAnrechenbareAbsenceTime(item); + } } } diff --git a/ReportImp/BetreutesWohnenAmRheinReports/Service/CustomVacationService.cs b/ReportImp/BetreutesWohnenAmRheinReports/Service/CustomVacationService.cs index f1a6f422e..f2fbff112 100644 --- a/ReportImp/BetreutesWohnenAmRheinReports/Service/CustomVacationService.cs +++ b/ReportImp/BetreutesWohnenAmRheinReports/Service/CustomVacationService.cs @@ -19,14 +19,29 @@ namespace BetreutesWohnenAmRheinReports.Service // return list; //} + public override List GetFeiertage(int year, string bundesland) { var list = base.GetFeiertage(year, bundesland); var osterSonntag = GetOsterSonntag(year); - list.Add(new FeiertagDC() {Datum = osterSonntag.AddDays(-48), Name = "Rosenmontag" }); // "Rosenmontag" + list.Add(new FeiertagDC() { Datum = osterSonntag.AddDays(-48), Name = "Rosenmontag" }); // "Rosenmontag" + + if (year >= 2024) + { + list.Add(new FeiertagDC() { Datum = new DateTime(year, 12, 31), Name = "Silvester" }); + } return list; } + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Year >= 2024 && start.Month == 12 && (start.Day == 24 || start.Day == 31)) + { + return 0.5m; + } + + return base.GetFeiertagsFaktor(start); + } } } diff --git a/ReportImp/BetreutesWohnenStelzel/BetreutesWohnenStelzel.csproj b/ReportImp/BetreutesWohnenStelzel/BetreutesWohnenStelzel.csproj index 2269cc4b2..65a789154 100644 --- a/ReportImp/BetreutesWohnenStelzel/BetreutesWohnenStelzel.csproj +++ b/ReportImp/BetreutesWohnenStelzel/BetreutesWohnenStelzel.csproj @@ -109,6 +109,7 @@ + Component @@ -144,6 +145,10 @@ {40D8B312-EA64-49E3-A31A-5E57ED4D5654} Report + + {094331c3-ecee-4c89-bbfd-4c9ded89f0ef} + Service + {2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4} Shared diff --git a/ReportImp/BetreutesWohnenStelzel/Invoicing/SettlementInvoiceCreation.cs b/ReportImp/BetreutesWohnenStelzel/Invoicing/SettlementInvoiceCreation.cs new file mode 100644 index 000000000..11e6d6872 --- /dev/null +++ b/ReportImp/BetreutesWohnenStelzel/Invoicing/SettlementInvoiceCreation.cs @@ -0,0 +1,15 @@ +using BeWo.Data.Entities; +using BeWo.Service.Invoicing; +using BS.Shared.DataContracts; + +namespace BetreutesWohnenStelzel.Invoicing +{ + + public class CustomSettlementInvoiceCreation : SettlementInvoiceCreation + { + public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s) + { + return false; + } + } +} diff --git a/ReportImp/BetreutesWohnenStelzel/Properties/licenses.licx b/ReportImp/BetreutesWohnenStelzel/Properties/licenses.licx index e69de29bb..f98ef57fd 100644 --- a/ReportImp/BetreutesWohnenStelzel/Properties/licenses.licx +++ b/ReportImp/BetreutesWohnenStelzel/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/ReportImp/BetreutesWohnenStelzel/SettlementReport.Designer.cs b/ReportImp/BetreutesWohnenStelzel/SettlementReport.Designer.cs index bcecef251..02a48423b 100644 --- a/ReportImp/BetreutesWohnenStelzel/SettlementReport.Designer.cs +++ b/ReportImp/BetreutesWohnenStelzel/SettlementReport.Designer.cs @@ -29,87 +29,90 @@ namespace BeWo.BetreutesWohnenStelzel /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung)); - this.Detail = new DevExpress.XtraReports.UI.DetailBand(); - this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); - this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); - this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); - this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); - this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.lblBemerkung = new DevExpress.XtraReports.UI.XRLabel(); - this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); - // - // Detail - // - this.Detail.HeightF = 0F; - this.Detail.Name = "Detail"; - this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // ReportHeader - // - this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung)); + DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); + this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblBemerkung = new DevExpress.XtraReports.UI.XRLabel(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.HeightF = 0F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel7, this.xrLabel1, this.xrLabel13, this.xrTable1, @@ -118,41 +121,41 @@ namespace BeWo.BetreutesWohnenStelzel this.xrLabel4, this.xrLabel3, this.xrLabel2}); - this.ReportHeader.Font = new System.Drawing.Font("Arial", 12F); - this.ReportHeader.HeightF = 744.375F; - this.ReportHeader.Name = "ReportHeader"; - this.ReportHeader.StylePriority.UseFont = false; - // - // xrLabel1 - // - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(319.9999F, 270.1667F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(316.9999F, 16.99998F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "Köln, den [InvoiceDate]"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // xrLabel13 - // - this.xrLabel13.CanShrink = true; - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.875F); - this.xrLabel13.Multiline = true; - this.xrLabel13.Name = "xrLabel13"; - this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel13.SizeF = new System.Drawing.SizeF(360.75F, 107.625F); - this.xrLabel13.StylePriority.UseFont = false; - this.xrLabel13.Text = "[RecipientOrganisation]\r\n[RecipientStreet]\r\n[RecipientDivision]\r\n[RecipientContac" + + this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.ReportHeader.HeightF = 744.375F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseFont = false; + // + // xrLabel1 + // + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(319.9999F, 270.1667F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(316.9999F, 16.99998F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "Köln, den [InvoiceDate]"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel13 + // + this.xrLabel13.CanShrink = true; + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.875F); + this.xrLabel13.Multiline = true; + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel13.SizeF = new System.Drawing.SizeF(360.75F, 107.625F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.Text = "[RecipientOrganisation]\r\n[RecipientStreet]\r\n[RecipientDivision]\r\n[RecipientContac" + "tPerson]\r\n[RecipientPostCodeAndTown]"; - // - // xrTable1 - // - this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 484.375F); - this.xrTable1.Name = "xrTable1"; - this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + // + // xrTable1 + // + this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 484.375F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow9, this.xrTableRow10, this.xrTableRow11, @@ -166,632 +169,647 @@ namespace BeWo.BetreutesWohnenStelzel this.xrTableRow12, this.xrTableRow18, this.xrTableRow17}); - this.xrTable1.SizeF = new System.Drawing.SizeF(649.9999F, 260F); - this.xrTable1.StylePriority.UseBorderColor = false; - // - // xrTableRow9 - // - this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTable1.SizeF = new System.Drawing.SizeF(649.9999F, 260F); + this.xrTable1.StylePriority.UseBorderColor = false; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell19, this.xrTableCell6}); - this.xrTableRow9.Name = "xrTableRow9"; - this.xrTableRow9.Weight = 0.1D; - // - // xrTableCell19 - // - this.xrTableCell19.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Weight = 0.1D; + // + // xrTableCell19 + // + this.xrTableCell19.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell19.Name = "xrTableCell19"; - this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell19.StylePriority.UseBorderColor = false; - this.xrTableCell19.StylePriority.UseBorders = false; - this.xrTableCell19.StylePriority.UseFont = false; - this.xrTableCell19.Text = "Bewilligte Fachleistungsstunden (FLS) gesamt"; - this.xrTableCell19.Weight = 0.74948717166215884D; - // - // xrTableCell6 - // - this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - 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.25051282833784128D; - // - // xrTableRow10 - // - this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell19.StylePriority.UseBorderColor = false; + this.xrTableCell19.StylePriority.UseBorders = false; + this.xrTableCell19.StylePriority.UseFont = false; + this.xrTableCell19.Text = "Bewilligte Fachleistungsstunden (FLS) gesamt"; + this.xrTableCell19.Weight = 0.74948717166215884D; + // + // xrTableCell6 + // + this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + 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.25051282833784128D; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell20, this.xrTableCell7}); - this.xrTableRow10.Name = "xrTableRow10"; - this.xrTableRow10.Weight = 0.1D; - // - // xrTableCell20 - // - this.xrTableCell20.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Weight = 0.1D; + // + // xrTableCell20 + // + this.xrTableCell20.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell20.FormattingRules.Add(this.ruleRateFactorNull); - this.xrTableCell20.Name = "xrTableCell20"; - this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell20.StylePriority.UseBorderColor = false; - this.xrTableCell20.StylePriority.UseBorders = false; - this.xrTableCell20.StylePriority.UseFont = false; - this.xrTableCell20.Text = "- zzgl. Faktor [RateFactorText2]"; - this.xrTableCell20.Weight = 0.74948717166215884D; - // - // ruleRateFactorNull - // - this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; - // - // - // - this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.ruleRateFactorNull.Name = "ruleRateFactorNull"; - // - // xrTableCell7 - // - this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell7.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.xrTableCell7.FormattingRules.Add(this.ruleRateFactorNull); - 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.UseTextAlignment = false; - this.xrTableCell7.Text = "[ApprovedFLSWithFactor]"; - this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell7.Weight = 0.25051282833784128D; - // - // xrTableRow11 - // - this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell20.FormattingRules.Add(this.ruleRateFactorNull); + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell20.StylePriority.UseBorderColor = false; + this.xrTableCell20.StylePriority.UseBorders = false; + this.xrTableCell20.StylePriority.UseFont = false; + this.xrTableCell20.Text = "- zzgl. Faktor [RateFactorText2]"; + this.xrTableCell20.Weight = 0.74948717166215884D; + // + // ruleRateFactorNull + // + this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; + this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.ruleRateFactorNull.Name = "ruleRateFactorNull"; + // + // xrTableCell7 + // + this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell7.FormattingRules.Add(this.ruleRateFactorNull); + 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.UseTextAlignment = false; + this.xrTableCell7.Text = "[ApprovedFLSWithFactor]"; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell7.Weight = 0.25051282833784128D; + // + // xrTableRow11 + // + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell21}); - this.xrTableRow11.Name = "xrTableRow11"; - this.xrTableRow11.Weight = 0.1D; - // - // xrTableCell21 - // - this.xrTableCell21.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell21.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); - 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; - // - // xrTableRow14 - // - this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.Weight = 0.1D; + // + // xrTableCell21 + // + this.xrTableCell21.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell21.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + 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; + // + // xrTableRow14 + // + this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell22}); - this.xrTableRow14.Name = "xrTableRow14"; - this.xrTableRow14.Weight = 0.099999999999999992D; - // - // xrTableCell22 - // - this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + this.xrTableRow14.Name = "xrTableRow14"; + this.xrTableRow14.Weight = 0.099999999999999992D; + // + // xrTableCell22 + // + this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - 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; - // - // xrTableRow3 - // - this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + 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; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell5, this.xrTableCell8}); - this.xrTableRow3.Name = "xrTableRow3"; - this.xrTableRow3.Weight = 0.099999999999999992D; - // - // xrTableCell5 - // - this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 0.099999999999999992D; + // + // xrTableCell5 + // + this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Abrechnungstext1")}); - this.xrTableCell5.Name = "xrTableCell5"; - this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell5.StylePriority.UseBorders = false; - this.xrTableCell5.StylePriority.UsePadding = false; - this.xrTableCell5.Text = "xrTableCell5"; - this.xrTableCell5.Weight = 0.74948717166215884D; - // - // xrTableCell8 - // - this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell5.StylePriority.UseBorders = false; + this.xrTableCell5.StylePriority.UsePadding = false; + this.xrTableCell5.Text = "xrTableCell5"; + this.xrTableCell5.Weight = 0.74948717166215884D; + // + // xrTableCell8 + // + this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Betrag1")}); - this.xrTableCell8.Name = "xrTableCell8"; - this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell8.StylePriority.UseBorders = false; - this.xrTableCell8.StylePriority.UsePadding = false; - this.xrTableCell8.StylePriority.UseTextAlignment = false; - this.xrTableCell8.Text = "xrTableCell8"; - this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell8.Weight = 0.25051282833784128D; - // - // xrTableRow2 - // - this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell8.StylePriority.UseBorders = false; + this.xrTableCell8.StylePriority.UsePadding = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "xrTableCell8"; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell8.Weight = 0.25051282833784128D; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell3, this.xrTableCell4}); - this.xrTableRow2.Name = "xrTableRow2"; - this.xrTableRow2.Weight = 0.099999999999999992D; - // - // xrTableCell3 - // - this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 0.099999999999999992D; + // + // xrTableCell3 + // + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Abrechnungstext2")}); - this.xrTableCell3.Name = "xrTableCell3"; - this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell3.StylePriority.UseBorders = false; - this.xrTableCell3.StylePriority.UsePadding = false; - this.xrTableCell3.Text = "xrTableCell3"; - this.xrTableCell3.Weight = 0.74948717166215884D; - // - // xrTableCell4 - // - this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.StylePriority.UsePadding = false; + this.xrTableCell3.Text = "xrTableCell3"; + this.xrTableCell3.Weight = 0.74948717166215884D; + // + // xrTableCell4 + // + this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Betrag2")}); - this.xrTableCell4.Name = "xrTableCell4"; - this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell4.StylePriority.UseBorders = false; - this.xrTableCell4.StylePriority.UsePadding = false; - this.xrTableCell4.StylePriority.UseTextAlignment = false; - this.xrTableCell4.Text = "xrTableCell4"; - this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell4.Weight = 0.25051282833784128D; - // - // xrTableRow1 - // - this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell4.StylePriority.UseBorders = false; + this.xrTableCell4.StylePriority.UsePadding = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "xrTableCell4"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell4.Weight = 0.25051282833784128D; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell1, this.xrTableCell2}); - this.xrTableRow1.Name = "xrTableRow1"; - this.xrTableRow1.Weight = 0.099999999999999992D; - // - // xrTableCell1 - // - this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Weight = 0.099999999999999992D; + // + // xrTableCell1 + // + this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Abrechnungstext3")}); - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell1.StylePriority.UseBorders = false; - this.xrTableCell1.StylePriority.UsePadding = false; - this.xrTableCell1.Text = "xrTableCell1"; - this.xrTableCell1.Weight = 0.74948717166215884D; - // - // xrTableCell2 - // - this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UsePadding = false; + this.xrTableCell1.Text = "xrTableCell1"; + this.xrTableCell1.Weight = 0.74948717166215884D; + // + // xrTableCell2 + // + this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Betrag3")}); - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell2.StylePriority.UseBorders = false; - this.xrTableCell2.StylePriority.UsePadding = false; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "xrTableCell2"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell2.Weight = 0.25051282833784128D; - // - // xrTableRow4 - // - this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UsePadding = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "xrTableCell2"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell2.Weight = 0.25051282833784128D; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell11}); - this.xrTableRow4.Name = "xrTableRow4"; - this.xrTableRow4.Weight = 0.099999999999999992D; - // - // xrTableCell11 - // - this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Weight = 0.099999999999999992D; + // + // xrTableCell11 + // + this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell11.StylePriority.UseBorders = false; - this.xrTableCell11.StylePriority.UsePadding = false; - this.xrTableCell11.Weight = 1D; - // - // xrTableRow5 - // - this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell11.StylePriority.UseBorders = false; + this.xrTableCell11.StylePriority.UsePadding = false; + this.xrTableCell11.Weight = 1D; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell32, this.xrTableCell33}); - this.xrTableRow5.Name = "xrTableRow5"; - this.xrTableRow5.Weight = 0.099999999999999992D; - // - // xrTableCell32 - // - this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow5.Name = "xrTableRow5"; + this.xrTableRow5.Weight = 0.099999999999999992D; + // + // xrTableCell32 + // + this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell32.Name = "xrTableCell32"; - this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell32.StylePriority.UseBorders = false; - this.xrTableCell32.StylePriority.UsePadding = false; - this.xrTableCell32.Text = "Gesamtforderung:"; - this.xrTableCell32.Weight = 0.74948717166215884D; - // - // xrTableCell33 - // - this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell33.Name = "xrTableCell33"; - this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell33.StylePriority.UseBorders = false; - this.xrTableCell33.StylePriority.UsePadding = false; - this.xrTableCell33.StylePriority.UseTextAlignment = false; - this.xrTableCell33.Text = "[AmountRecordedFLSString]"; - this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell33.Weight = 0.25051282833784128D; - // - // xrTableRow13 - // - this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell32.StylePriority.UseBorders = false; + this.xrTableCell32.StylePriority.UsePadding = false; + this.xrTableCell32.Text = "Gesamtforderung:"; + this.xrTableCell32.Weight = 0.74948717166215884D; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.StylePriority.UsePadding = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.Text = "[AmountRecordedFLSString]"; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell33.Weight = 0.25051282833784128D; + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell23}); - this.xrTableRow13.Name = "xrTableRow13"; - this.xrTableRow13.Weight = 0.1D; - // - // xrTableCell23 - // - this.xrTableCell23.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 0.1D; + // + // xrTableCell23 + // + this.xrTableCell23.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell23.Name = "xrTableCell23"; - this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell23.StylePriority.UseBorderColor = false; - this.xrTableCell23.StylePriority.UseBorders = false; - this.xrTableCell23.Weight = 1D; - // - // xrTableRow12 - // - this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell23.Name = "xrTableCell23"; + this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell23.StylePriority.UseBorderColor = false; + this.xrTableCell23.StylePriority.UseBorders = false; + this.xrTableCell23.Weight = 1D; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell24, this.xrTableCell10}); - this.xrTableRow12.Name = "xrTableRow12"; - this.xrTableRow12.Weight = 0.1D; - // - // xrTableCell24 - // - this.xrTableCell24.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell24.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 0.1D; + // + // xrTableCell24 + // + this.xrTableCell24.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell24.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell24.Name = "xrTableCell24"; - this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell24.StylePriority.UseBorderColor = false; - this.xrTableCell24.StylePriority.UseBorders = false; - this.xrTableCell24.StylePriority.UseFont = false; - this.xrTableCell24.Text = "Summe der bereits gezahlten Leistungsvergütungen"; - this.xrTableCell24.Weight = 0.74948717166215884D; - // - // xrTableCell10 - // - this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - 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.UseTextAlignment = false; - this.xrTableCell10.Text = "[AmountAdvancedPayments]"; - this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell10.Weight = 0.25051282833784128D; - // - // xrTableRow18 - // - this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell24.Name = "xrTableCell24"; + this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell24.StylePriority.UseBorderColor = false; + this.xrTableCell24.StylePriority.UseBorders = false; + this.xrTableCell24.StylePriority.UseFont = false; + this.xrTableCell24.Text = "Summe der bereits gezahlten Leistungsvergütungen"; + this.xrTableCell24.Weight = 0.74948717166215884D; + // + // xrTableCell10 + // + this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + 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.UseTextAlignment = false; + this.xrTableCell10.Text = "[AmountAdvancedPayments]"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell10.Weight = 0.25051282833784128D; + // + // xrTableRow18 + // + this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell25}); - this.xrTableRow18.Name = "xrTableRow18"; - this.xrTableRow18.Weight = 0.1D; - // - // xrTableCell25 - // - this.xrTableCell25.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell25.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell25.Name = "xrTableCell25"; - this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell25.StylePriority.UseBorderColor = false; - this.xrTableCell25.StylePriority.UseBorders = false; - this.xrTableCell25.Weight = 1D; - // - // xrTableRow17 - // - this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableRow18.Name = "xrTableRow18"; + this.xrTableRow18.Weight = 0.1D; + // + // xrTableCell25 + // + this.xrTableCell25.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell25.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell25.Name = "xrTableCell25"; + this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell25.StylePriority.UseBorderColor = false; + this.xrTableCell25.StylePriority.UseBorders = false; + this.xrTableCell25.Weight = 1D; + // + // xrTableRow17 + // + this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell28, this.xrTableCell17}); - this.xrTableRow17.Name = "xrTableRow17"; - this.xrTableRow17.Weight = 0.1D; - // - // xrTableCell28 - // - this.xrTableCell28.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + this.xrTableRow17.Name = "xrTableRow17"; + this.xrTableRow17.Weight = 0.1D; + // + // xrTableCell28 + // + this.xrTableCell28.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell28.Name = "xrTableCell28"; - this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell28.StylePriority.UseBorderColor = false; - this.xrTableCell28.StylePriority.UseBorders = false; - this.xrTableCell28.StylePriority.UseFont = false; - this.xrTableCell28.Text = "Restforderung:"; - this.xrTableCell28.Weight = 0.74948717166215884D; - // - // xrTableCell17 - // - this.xrTableCell17.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + this.xrTableCell28.Name = "xrTableCell28"; + this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell28.StylePriority.UseBorderColor = false; + this.xrTableCell28.StylePriority.UseBorders = false; + this.xrTableCell28.StylePriority.UseFont = false; + this.xrTableCell28.Text = "Restforderung:"; + this.xrTableCell28.Weight = 0.74948717166215884D; + // + // xrTableCell17 + // + this.xrTableCell17.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell17.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.xrTableCell17.Name = "xrTableCell17"; - this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell17.StylePriority.UseBorderColor = false; - this.xrTableCell17.StylePriority.UseBorders = false; - this.xrTableCell17.StylePriority.UseFont = false; - this.xrTableCell17.StylePriority.UseTextAlignment = false; - this.xrTableCell17.Text = "[Claim]"; - this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell17.Weight = 0.25051282833784128D; - // - // xrLabel6 - // - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 397.9167F); - 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(650F, 78.45834F); - this.xrLabel6.StylePriority.UseFont = false; - this.xrLabel6.Text = resources.GetString("xrLabel6.Text"); - // - // xrLabel5 - // - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 364.9167F); - this.xrLabel5.Name = "xrLabel5"; - this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 33F); - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; - // - // xrLabel4 - // - this.xrLabel4.BackColor = System.Drawing.Color.Transparent; - this.xrLabel4.CanShrink = true; - this.xrLabel4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 327.1667F); - this.xrLabel4.Multiline = true; - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(636.9998F, 20F); - this.xrLabel4.StylePriority.UseBackColor = false; - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]"; - this.xrLabel4.WordWrap = false; - // - // xrLabel3 - // - this.xrLabel3.BackColor = System.Drawing.Color.Transparent; - this.xrLabel3.CanShrink = true; - this.xrLabel3.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 307.1667F); - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(636.9998F, 20F); - this.xrLabel3.StylePriority.UseBackColor = false; - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerName]"; - this.xrLabel3.WordWrap = false; - // - // xrLabel2 - // - this.xrLabel2.BackColor = System.Drawing.Color.Transparent; - this.xrLabel2.CanShrink = true; - this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 287.1667F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(636.9998F, 20F); - this.xrLabel2.StylePriority.UseBackColor = false; - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; - this.xrLabel2.WordWrap = false; - // - // ReportFooter - // - this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell17.StylePriority.UseBorderColor = false; + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UseFont = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.Text = "[Claim]"; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell17.Weight = 0.25051282833784128D; + // + // xrLabel6 + // + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 397.9167F); + 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(650F, 78.45834F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = resources.GetString("xrLabel6.Text"); + // + // xrLabel5 + // + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 364.9167F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 33F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; + // + // xrLabel4 + // + this.xrLabel4.BackColor = System.Drawing.Color.Transparent; + this.xrLabel4.CanShrink = true; + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 327.1667F); + this.xrLabel4.Multiline = true; + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(636.9998F, 20F); + this.xrLabel4.StylePriority.UseBackColor = false; + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]"; + this.xrLabel4.WordWrap = false; + // + // xrLabel3 + // + this.xrLabel3.BackColor = System.Drawing.Color.Transparent; + this.xrLabel3.CanShrink = true; + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 307.1667F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(636.9998F, 20F); + this.xrLabel3.StylePriority.UseBackColor = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerName], geb. [CustomerB" + + "irthdayString]"; + this.xrLabel3.WordWrap = false; + // + // xrLabel2 + // + this.xrLabel2.BackColor = System.Drawing.Color.Transparent; + this.xrLabel2.CanShrink = true; + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 287.1667F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(636.9998F, 20F); + this.xrLabel2.StylePriority.UseBackColor = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; + this.xrLabel2.WordWrap = false; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel10, this.xrTable3, this.xrLabel12, this.xrLabel11, this.lblBemerkung}); - this.ReportFooter.Font = new System.Drawing.Font("Arial", 12F); - this.ReportFooter.HeightF = 220F; - this.ReportFooter.KeepTogether = true; - this.ReportFooter.Name = "ReportFooter"; - this.ReportFooter.StylePriority.UseFont = false; - // - // xrLabel10 - // - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.6666F); - this.xrLabel10.Name = "xrLabel10"; - this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(292F, 17.00001F); - this.xrLabel10.StylePriority.UseFont = false; - this.xrLabel10.Text = "Mit freundlichen Grüßen"; - // - // xrTable3 - // - this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.00001F); - this.xrTable3.Name = "xrTable3"; - this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.ReportFooter.HeightF = 220F; + this.ReportFooter.KeepTogether = true; + this.ReportFooter.Name = "ReportFooter"; + this.ReportFooter.StylePriority.UseFont = false; + // + // xrLabel10 + // + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.6666F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(292F, 17.00001F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Mit freundlichen Grüßen"; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.00001F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow20, this.xrTableRow21, this.xrTableRow22, this.xrTableRow23, this.xrTableRow24}); - this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 72F); - this.xrTable3.StylePriority.UseFont = false; - // - // xrTableRow20 - // - this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 72F); + this.xrTable3.StylePriority.UseFont = false; + // + // xrTableRow20 + // + this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell16}); - this.xrTableRow20.Name = "xrTableRow20"; - this.xrTableRow20.Weight = 0.47619047619047616D; - // - // xrTableCell16 - // - this.xrTableCell16.CanShrink = true; - this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableRow20.Name = "xrTableRow20"; + this.xrTableRow20.Weight = 0.47619047619047616D; + // + // xrTableCell16 + // + this.xrTableCell16.CanShrink = true; + this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); - this.xrTableCell16.Name = "xrTableCell16"; - this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell16.StylePriority.UsePadding = false; - this.xrTableCell16.Text = "xrTableCell1"; - this.xrTableCell16.Weight = 3D; - // - // xrTableRow21 - // - this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell16.StylePriority.UsePadding = false; + this.xrTableCell16.Text = "xrTableCell1"; + this.xrTableCell16.Weight = 3D; + // + // xrTableRow21 + // + this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell18}); - this.xrTableRow21.Name = "xrTableRow21"; - this.xrTableRow21.Weight = 0.14285714285714285D; - // - // xrTableCell18 - // - this.xrTableCell18.Name = "xrTableCell18"; - this.xrTableCell18.Weight = 3D; - // - // xrTableRow22 - // - this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableRow21.Name = "xrTableRow21"; + this.xrTableRow21.Weight = 0.14285714285714285D; + // + // xrTableCell18 + // + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Weight = 3D; + // + // xrTableRow22 + // + this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell29}); - this.xrTableRow22.Name = "xrTableRow22"; - this.xrTableRow22.Weight = 0.47619047619047611D; - // - // xrTableCell29 - // - this.xrTableCell29.CanShrink = true; - this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableRow22.Name = "xrTableRow22"; + this.xrTableRow22.Weight = 0.47619047619047611D; + // + // xrTableCell29 + // + this.xrTableCell29.CanShrink = true; + this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")}); - this.xrTableCell29.Name = "xrTableCell29"; - this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell29.StylePriority.UsePadding = false; - this.xrTableCell29.Text = "xrTableCell4"; - this.xrTableCell29.Weight = 3D; - // - // xrTableRow23 - // - this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell29.StylePriority.UsePadding = false; + this.xrTableCell29.Text = "xrTableCell4"; + this.xrTableCell29.Weight = 3D; + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell30}); - this.xrTableRow23.Name = "xrTableRow23"; - this.xrTableRow23.Weight = 0.14285714285714279D; - // - // xrTableCell30 - // - this.xrTableCell30.Name = "xrTableCell30"; - this.xrTableCell30.Weight = 3D; - // - // xrTableRow24 - // - this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 0.14285714285714279D; + // + // xrTableCell30 + // + this.xrTableCell30.Name = "xrTableCell30"; + this.xrTableCell30.Weight = 3D; + // + // xrTableRow24 + // + this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell31}); - this.xrTableRow24.Name = "xrTableRow24"; - this.xrTableRow24.Weight = 0.47619047619047616D; - // - // xrTableCell31 - // - this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableRow24.Name = "xrTableRow24"; + this.xrTableRow24.Weight = 0.47619047619047616D; + // + // xrTableCell31 + // + this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")}); - this.xrTableCell31.Name = "xrTableCell31"; - this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell31.StylePriority.UsePadding = false; - this.xrTableCell31.Text = "xrTableCell8"; - this.xrTableCell31.Weight = 3D; - // - // xrLabel12 - // - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203F); - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "[CreatorName]"; - // - // xrLabel11 - // - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(583F, 117F); - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F); - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "Anlage"; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // lblBemerkung - // - this.lblBemerkung.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic); - this.lblBemerkung.LocationFloat = new DevExpress.Utils.PointFloat(0F, 8F); - this.lblBemerkung.Name = "lblBemerkung"; - this.lblBemerkung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblBemerkung.SizeF = new System.Drawing.SizeF(250F, 20F); - this.lblBemerkung.StylePriority.UseFont = false; - this.lblBemerkung.Text = "Abschließende Bemerkungen:"; - // - // topMarginBand1 - // - this.topMarginBand1.HeightF = 115F; - this.topMarginBand1.Name = "topMarginBand1"; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.HeightF = 30F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); - // - // Spitzabrechnung - // - this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.xrTableCell31.Name = "xrTableCell31"; + this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell31.StylePriority.UsePadding = false; + this.xrTableCell31.Text = "xrTableCell8"; + this.xrTableCell31.Weight = 3D; + // + // xrLabel12 + // + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "[CreatorName]"; + // + // xrLabel11 + // + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(583F, 117F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "Anlage"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // lblBemerkung + // + this.lblBemerkung.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Italic); + this.lblBemerkung.LocationFloat = new DevExpress.Utils.PointFloat(0F, 8F); + this.lblBemerkung.Name = "lblBemerkung"; + this.lblBemerkung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblBemerkung.SizeF = new System.Drawing.SizeF(250F, 20F); + this.lblBemerkung.StylePriority.UseFont = false; + this.lblBemerkung.Text = "Abschließende Bemerkungen:"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 115F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 30F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); + // + // xrLabel7 + // + this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")}); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(319.9998F, 237.1667F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(316.9999F, 16.99998F); + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UseTextAlignment = false; + this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrLabel7.TextFormatString = "GP-Nr.: {0}"; + // + // Spitzabrechnung + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader, this.ReportFooter, this.topMarginBand1, this.bottomMarginBand1}); - this.DataSource = this.bindingSource1; - this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; - this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { + this.bindingSource1}); + this.DataSource = this.bindingSource1; + this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.ruleRateFactorNull}); - this.Margins = new System.Drawing.Printing.Margins(115, 60, 115, 30); - this.PageHeight = 1169; - this.PageWidth = 827; - this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; - this.Version = "13.1"; - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + this.Margins = new DevExpress.Drawing.DXMargins(115F, 60F, 115F, 30F); + this.PageHeight = 1169; + 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.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -861,5 +879,6 @@ namespace BeWo.BetreutesWohnenStelzel private DevExpress.XtraReports.UI.XRTableRow xrTableRow5; private DevExpress.XtraReports.UI.XRTableCell xrTableCell32; private DevExpress.XtraReports.UI.XRTableCell xrTableCell33; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; } } diff --git a/ReportImp/BetreutesWohnenStelzel/SettlementReport.resx b/ReportImp/BetreutesWohnenStelzel/SettlementReport.resx index 24d3d2daa..1b89853b2 100644 --- a/ReportImp/BetreutesWohnenStelzel/SettlementReport.resx +++ b/ReportImp/BetreutesWohnenStelzel/SettlementReport.resx @@ -121,7 +121,4 @@ anbei sende ich Ihnen die unterschriebenen Nachweise über die im Rahmen des Betreuten Wohnens für [Salutation2] [CustomerName] erbrachten Leistungen zu. Nach unserer Berechnung ergeben sich für den Betreuungszeitraum [AccountingPeriod] hieraus: - - 17, 17 - \ No newline at end of file diff --git a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.Designer.cs b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.Designer.cs index 02b819c68..78145e650 100644 --- a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.Designer.cs +++ b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.Designer.cs @@ -29,1050 +29,1081 @@ namespace BetreutesWohnenStelzel /// 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(); - this.Detail = new DevExpress.XtraReports.UI.DetailBand(); - this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); - this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); - this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); - this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.RecipientPostCodeAndTown = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel_RecipientStreet = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel_RecipientDivision = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); - this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); - this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.fieldApprovedFLSWithFactor = new DevExpress.XtraReports.UI.CalculatedField(); - this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell(); - this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrTable6 = 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.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow34 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow35 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); - // - // Detail - // - this.Detail.HeightF = 0F; - this.Detail.Name = "Detail"; - this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // ReportHeader - // - this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel9}); - this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F); - this.ReportHeader.HeightF = 120F; - this.ReportHeader.Name = "ReportHeader"; - this.ReportHeader.StylePriority.UseFont = false; - // - // xrLabel9 - // - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(193F, 51.5F); - this.xrLabel9.Multiline = true; - this.xrLabel9.Name = "xrLabel9"; - this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel9.SizeF = new System.Drawing.SizeF(292F, 17F); - this.xrLabel9.StylePriority.UseFont = false; - this.xrLabel9.Text = "\r\n"; - // - // xrLabel8 - // - this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "{0:dd.MM.yyyy}")}); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(366.9999F, 147.125F); - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(283F, 23F); - this.xrLabel8.StylePriority.UseTextAlignment = false; - this.xrLabel8.Text = "xrLabel8"; - this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // xrTable1 - // - this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 353.4583F); - this.xrTable1.Name = "xrTable1"; - this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.rowErbrachteLeistung}); - this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 17F); - this.xrTable1.StylePriority.UseBorderColor = false; - // - // rowErbrachteLeistung - // - this.rowErbrachteLeistung.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell22}); - this.rowErbrachteLeistung.Name = "rowErbrachteLeistung"; - this.rowErbrachteLeistung.Weight = 0.085D; - // - // xrTableCell22 - // - this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - 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; - // - // ruleRateFactorNull - // - this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; - this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.ruleRateFactorNull.Name = "ruleRateFactorNull"; - // - // xrLabel6 - // - this.xrLabel6.BackColor = System.Drawing.Color.Transparent; - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 278.4583F); - 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(642F, 67F); - this.xrLabel6.StylePriority.UseBackColor = false; - this.xrLabel6.StylePriority.UseFont = false; - this.xrLabel6.Text = resources.GetString("xrLabel6.Text"); - // - // xrLabel5 - // - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 245.4583F); - this.xrLabel5.Name = "xrLabel5"; - this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F); - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; - // - // xrLabel4 - // - this.xrLabel4.BackColor = System.Drawing.Color.Transparent; - this.xrLabel4.CanShrink = true; - this.xrLabel4.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 203.125F); - this.xrLabel4.Multiline = true; - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(650F, 17F); - this.xrLabel4.StylePriority.UseBackColor = false; - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]"; - this.xrLabel4.WordWrap = false; - // - // xrLabel3 - // - this.xrLabel3.BackColor = System.Drawing.Color.Transparent; - this.xrLabel3.CanShrink = true; - this.xrLabel3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 187.125F); - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F); - this.xrLabel3.StylePriority.UseBackColor = false; - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerFirstName] [CustomerLa" + - "stName]"; - this.xrLabel3.WordWrap = false; - // - // xrLabel2 - // - this.xrLabel2.BackColor = System.Drawing.Color.Transparent; - this.xrLabel2.CanShrink = true; - this.xrLabel2.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 170.125F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F); - this.xrLabel2.StylePriority.UseBackColor = false; - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; - this.xrLabel2.WordWrap = false; - // - // xrTable2 - // - this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 0F); - this.xrTable2.Name = "xrTable2"; - this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow2, - this.xrTableRow5, - this.xrTableRow4, - this.xrTableRow3, - this.xrTableRow1, - this.xrTableRow6, - this.xrTableRow8}); - this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 134F); - // - // xrTableRow2 - // - this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell4}); - this.xrTableRow2.Name = "xrTableRow2"; - this.xrTableRow2.Weight = 0.13245033112582783D; - // - // xrTableCell4 - // - this.xrTableCell4.CanShrink = true; - this.xrTableCell4.Name = "xrTableCell4"; - this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell4.StylePriority.UseFont = false; - this.xrTableCell4.StylePriority.UseTextAlignment = false; - this.xrTableCell4.Text = "Ihr(e) Ansprechpartner(in):"; - this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell4.Weight = 1D; - // - // xrTableRow5 - // - this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell13}); - this.xrTableRow5.Name = "xrTableRow5"; - this.xrTableRow5.Weight = 0.13245033112582783D; - // - // xrTableCell13 - // - this.xrTableCell13.CanShrink = true; - this.xrTableCell13.Name = "xrTableCell13"; - this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell13.StylePriority.UseFont = false; - this.xrTableCell13.StylePriority.UseTextAlignment = false; - this.xrTableCell13.Text = "[SenderContactPerson]"; - this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell13.Weight = 1D; - // - // xrTableRow4 - // - this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell11}); - this.xrTableRow4.Name = "xrTableRow4"; - this.xrTableRow4.Weight = 0.13245033112582783D; - // - // xrTableCell11 - // - this.xrTableCell11.CanShrink = true; - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell11.StylePriority.UseFont = false; - this.xrTableCell11.StylePriority.UseTextAlignment = false; - this.xrTableCell11.Text = "[SenderContactPersonDivision]"; - this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell11.Weight = 1D; - // - // xrTableRow3 - // - this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell8}); - this.xrTableRow3.Name = "xrTableRow3"; - this.xrTableRow3.Weight = 0.13245033112582783D; - // - // xrTableCell8 - // - this.xrTableCell8.CanShrink = true; - this.xrTableCell8.Name = "xrTableCell8"; - this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell8.StylePriority.UseFont = false; - this.xrTableCell8.StylePriority.UseTextAlignment = false; - this.xrTableCell8.Text = "[SenderContactPersonMail]"; - this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell8.Weight = 1D; - // - // xrTableRow1 - // - this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell1}); - this.xrTableRow1.Name = "xrTableRow1"; - this.xrTableRow1.Weight = 0.13245033112582783D; - // - // xrTableCell1 - // - this.xrTableCell1.CanShrink = true; - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell1.StylePriority.UseFont = false; - this.xrTableCell1.StylePriority.UseTextAlignment = false; - this.xrTableCell1.Text = "[SenderContactPersonPhone]"; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell1.Weight = 1D; - // - // xrTableRow6 - // - this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell2}); - this.xrTableRow6.Name = "xrTableRow6"; - this.xrTableRow6.Weight = 0.11258278145695365D; - // - // xrTableCell2 - // - this.xrTableCell2.CanShrink = true; - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell2.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrTableCell2.StylePriority.UseFont = false; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "[SenderContactPersonFax]"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell2.Weight = 1D; - // - // xrTableRow8 - // - this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell5}); - this.xrTableRow8.Name = "xrTableRow8"; - this.xrTableRow8.Weight = 0.11258278145695365D; - // - // xrTableCell5 - // - this.xrTableCell5.Name = "xrTableCell5"; - this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell5.Weight = 1D; - // - // RecipientPostCodeAndTown - // - this.RecipientPostCodeAndTown.CanShrink = true; - this.RecipientPostCodeAndTown.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.00003F); - this.RecipientPostCodeAndTown.Name = "RecipientPostCodeAndTown"; - this.RecipientPostCodeAndTown.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.RecipientPostCodeAndTown.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.RecipientPostCodeAndTown.SizeF = new System.Drawing.SizeF(292F, 17F); - this.RecipientPostCodeAndTown.StylePriority.UseFont = false; - this.RecipientPostCodeAndTown.Text = "[RecipientPostCodeAndTown]"; - // - // xrLabel_RecipientStreet - // - this.xrLabel_RecipientStreet.CanShrink = true; - this.xrLabel_RecipientStreet.LocationFloat = new DevExpress.Utils.PointFloat(0F, 51.00002F); - this.xrLabel_RecipientStreet.Name = "xrLabel_RecipientStreet"; - this.xrLabel_RecipientStreet.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel_RecipientStreet.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel_RecipientStreet.SizeF = new System.Drawing.SizeF(292F, 17F); - this.xrLabel_RecipientStreet.StylePriority.UseFont = false; - this.xrLabel_RecipientStreet.Text = "[RecipientStreet]"; - // - // xrLabel_RecipientDivision - // - this.xrLabel_RecipientDivision.CanShrink = true; - this.xrLabel_RecipientDivision.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.00002F); - this.xrLabel_RecipientDivision.Name = "xrLabel_RecipientDivision"; - this.xrLabel_RecipientDivision.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel_RecipientDivision.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel_RecipientDivision.SizeF = new System.Drawing.SizeF(292F, 17F); - this.xrLabel_RecipientDivision.StylePriority.UseFont = false; - this.xrLabel_RecipientDivision.Text = "[RecipientDivision]"; - // - // xrLabel_RecipientContactPerson - // - this.xrLabel_RecipientContactPerson.CanShrink = true; - this.xrLabel_RecipientContactPerson.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F); - this.xrLabel_RecipientContactPerson.Name = "xrLabel_RecipientContactPerson"; - this.xrLabel_RecipientContactPerson.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel_RecipientContactPerson.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel_RecipientContactPerson.SizeF = new System.Drawing.SizeF(292F, 17F); - this.xrLabel_RecipientContactPerson.StylePriority.UseFont = false; - this.xrLabel_RecipientContactPerson.Text = "[RecipientContactPerson]"; - // - // xrLabel1 - // - this.xrLabel1.CanShrink = true; - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; - this.xrLabel1.SizeF = new System.Drawing.SizeF(292F, 17F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.Text = "[RecipientOrganisation]"; - // - // ReportFooter - // - this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel10, - this.xrTable3, - this.xrLabel12, - this.xrLabel11, - this.lblNotice}); - this.ReportFooter.Font = new System.Drawing.Font("Verdana", 10F); - this.ReportFooter.HeightF = 209F; - this.ReportFooter.KeepTogether = true; - this.ReportFooter.Name = "ReportFooter"; - this.ReportFooter.StylePriority.UseFont = false; - // - // xrLabel10 - // - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 133F); - this.xrLabel10.Name = "xrLabel10"; - this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F); - this.xrLabel10.StylePriority.UseFont = false; - this.xrLabel10.Text = "Mit freundlichen Grüßen"; - // - // xrTable3 - // - this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33F); - this.xrTable3.Name = "xrTable3"; - this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow20, - this.xrTableRow7, - this.xrTableRow9, - this.xrTableRow21, - this.xrTableRow22, - this.xrTableRow23, - this.xrTableRow24}); - this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 94F); - this.xrTable3.StylePriority.UseFont = false; - // - // xrTableRow20 - // - this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell16}); - this.xrTableRow20.Name = "xrTableRow20"; - this.xrTableRow20.Weight = 0.38095238095238093D; - // - // xrTableCell16 - // - this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); - this.xrTableCell16.Name = "xrTableCell16"; - this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell16.StylePriority.UsePadding = false; - this.xrTableCell16.Text = "xrTableCell1"; - this.xrTableCell16.Weight = 3D; - // - // xrTableRow7 - // - this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell3}); - this.xrTableRow7.Name = "xrTableRow7"; - this.xrTableRow7.Weight = 0.23809523809523808D; - // - // xrTableCell3 - // - this.xrTableCell3.Name = "xrTableCell3"; - this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell3.StylePriority.UsePadding = false; - this.xrTableCell3.Weight = 3D; - // - // xrTableRow9 - // - this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell6}); - this.xrTableRow9.Name = "xrTableRow9"; - this.xrTableRow9.Weight = 0.38095238095238088D; - // - // xrTableCell6 - // - this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")}); - this.xrTableCell6.Name = "xrTableCell6"; - this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell6.StylePriority.UsePadding = false; - this.xrTableCell6.Weight = 3D; - // - // xrTableRow21 - // - this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell18}); - this.xrTableRow21.Name = "xrTableRow21"; - this.xrTableRow21.Weight = 0.23809523809523808D; - // - // xrTableCell18 - // - this.xrTableCell18.Name = "xrTableCell18"; - this.xrTableCell18.Weight = 3D; - // - // xrTableRow22 - // - this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell29}); - this.xrTableRow22.Name = "xrTableRow22"; - this.xrTableRow22.Weight = 0.38095238095238088D; - // - // xrTableCell29 - // - this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")}); - this.xrTableCell29.Name = "xrTableCell29"; - this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell29.StylePriority.UsePadding = false; - this.xrTableCell29.Text = "xrTableCell4"; - this.xrTableCell29.Weight = 3D; - // - // xrTableRow23 - // - this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell30}); - this.xrTableRow23.Name = "xrTableRow23"; - this.xrTableRow23.Weight = 0.23809523809523803D; - // - // xrTableCell30 - // - this.xrTableCell30.Name = "xrTableCell30"; - this.xrTableCell30.Weight = 3D; - // - // xrTableRow24 - // - this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell31}); - this.xrTableRow24.Name = "xrTableRow24"; - this.xrTableRow24.Weight = 0.38095238095238088D; - // - // xrTableCell31 - // - this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")}); - this.xrTableCell31.Name = "xrTableCell31"; - this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell31.StylePriority.UsePadding = false; - this.xrTableCell31.Text = "xrTableCell8"; - this.xrTableCell31.Weight = 3D; - // - // xrLabel12 - // - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192F); - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "[CreatorName]"; - // - // xrLabel11 - // - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(582.9999F, 192F); - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F); - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "Anlage"; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // lblNotice - // - this.lblNotice.CanShrink = true; - this.lblNotice.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Italic); - this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F); - this.lblNotice.Name = "lblNotice"; - this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 25F); - this.lblNotice.StylePriority.UseFont = false; - this.lblNotice.Text = "Abschließende Bemerkungen:"; - // - // topMarginBand1 - // - this.topMarginBand1.HeightF = 100F; - this.topMarginBand1.Name = "topMarginBand1"; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.HeightF = 43F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // GroupHeader1 - // - this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel1, - this.xrLabel_RecipientContactPerson, - this.xrLabel_RecipientDivision, - this.xrLabel_RecipientStreet, - this.RecipientPostCodeAndTown, - this.xrTable2, - this.xrLabel2, - this.xrLabel3, - this.xrLabel4, - this.xrLabel5, - this.xrLabel6, - this.xrTable1, - this.xrLabel8}); - this.GroupHeader1.Font = new System.Drawing.Font("Verdana", 10F); - this.GroupHeader1.HeightF = 370.4583F; - this.GroupHeader1.Name = "GroupHeader1"; - this.GroupHeader1.StylePriority.UseFont = false; - // - // fieldApprovedFLSWithFactor - // - this.fieldApprovedFLSWithFactor.Expression = "[ApprovedFLSTotal] * [RateFactor]"; - this.fieldApprovedFLSWithFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; - this.fieldApprovedFLSWithFactor.Name = "fieldApprovedFLSWithFactor"; - // - // DetailReport - // - this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail1, - this.GroupHeader2, - this.Zwischensumme}); - this.DetailReport.DataMember = "InvoiceItems"; - this.DetailReport.DataSource = this.bindingSource1; - this.DetailReport.Level = 0; - this.DetailReport.Name = "DetailReport"; - // - // Detail1 - // - this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable4}); - this.Detail1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Detail1.HeightF = 17F; - this.Detail1.Name = "Detail1"; - this.Detail1.StylePriority.UseFont = false; - // - // xrTable4 - // - this.xrTable4.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable4.Name = "xrTable4"; - this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow33}); - this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 17F); - this.xrTable4.StylePriority.UseBorderColor = false; - // - // xrTableRow33 - // - this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell52, - this.xrTableCell53}); - this.xrTableRow33.Name = "xrTableRow33"; - this.xrTableRow33.Weight = 0.085D; - // - // xrTableCell52 - // - this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell52.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.DetailDescription")}); - this.xrTableCell52.Name = "xrTableCell52"; - this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell52.StylePriority.UseBorderColor = false; - this.xrTableCell52.StylePriority.UseBorders = false; - this.xrTableCell52.StylePriority.UseFont = false; - this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:"; - this.xrTableCell52.Weight = 0.83602567232572123D; - // - // xrTableCell53 - // - this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell53.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")}); - this.xrTableCell53.Name = "xrTableCell53"; - this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell53.StylePriority.UseBorderColor = false; - this.xrTableCell53.StylePriority.UseBorders = false; - this.xrTableCell53.StylePriority.UseFont = false; - this.xrTableCell53.StylePriority.UseTextAlignment = false; - this.xrTableCell53.Text = "xrTableCell10"; - this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell53.Weight = 0.16397432767427886D; - // - // GroupHeader2 - // - this.GroupHeader2.BorderColor = System.Drawing.Color.Transparent; - 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"; - this.GroupHeader2.StylePriority.UseBorderColor = false; - // - // Zwischensumme - // - this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable6}); - this.Zwischensumme.HeightF = 34F; - this.Zwischensumme.Name = "Zwischensumme"; - this.Zwischensumme.Visible = false; - // - // xrTable6 - // - this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable6.Name = "xrTable6"; - this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow12, - this.xrTableRow10}); - this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 34F); - this.xrTable6.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)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell9.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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 [ItemDescription]:"; - this.xrTableCell9.Weight = 2.5080772986778848D; - // - // xrTableCell10 - // - this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal")}); - this.xrTableCell10.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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.4919227013221153D; - // - // xrTableRow10 - // - this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell7}); - this.xrTableRow10.Name = "xrTableRow10"; - this.xrTableRow10.Weight = 0.40476190476190466D; - // - // xrTableCell7 - // - this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell7.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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; - // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO); - // - // GroupFooter1 - // - this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable5}); - this.GroupFooter1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.GroupFooter1.HeightF = 115F; - this.GroupFooter1.Name = "GroupFooter1"; - this.GroupFooter1.StylePriority.UseFont = false; - // - // xrTable5 - // - this.xrTable5.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable5.Name = "xrTable5"; - this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow31, - this.xrTableRow32, - this.xrTableRow34, - this.xrTableRow35, - this.xrTableRow36, - this.xrTableRow37}); - this.xrTable5.SizeF = new System.Drawing.SizeF(650F, 115F); - this.xrTable5.StylePriority.UseBorderColor = false; - // - // xrTableRow31 - // - this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell49, - this.xrTableCell50}); - this.xrTableRow31.Name = "xrTableRow31"; - this.xrTableRow31.Weight = 0.085D; - // - // xrTableCell49 - // - this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell49.Name = "xrTableCell49"; - this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell49.StylePriority.UseBorders = false; - this.xrTableCell49.StylePriority.UseFont = false; - this.xrTableCell49.StylePriority.UsePadding = false; - this.xrTableCell49.Text = "Gesamtforderung:"; - this.xrTableCell49.Weight = 0.836025672325721D; - // - // xrTableCell50 - // - this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountBillableTotal", "{0:c}")}); - this.xrTableCell50.Name = "xrTableCell50"; - this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell50.StylePriority.UseBorders = false; - this.xrTableCell50.StylePriority.UseFont = false; - this.xrTableCell50.StylePriority.UsePadding = false; - this.xrTableCell50.StylePriority.UseTextAlignment = false; - this.xrTableCell50.Text = "xrTableCell9"; - this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell50.Weight = 0.16397432767427886D; - // - // xrTableRow32 - // - this.xrTableRow32.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell51}); - this.xrTableRow32.Name = "xrTableRow32"; - this.xrTableRow32.Weight = 0.085D; - // - // xrTableCell51 - // - this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell51.Name = "xrTableCell51"; - this.xrTableCell51.StylePriority.UseBorders = false; - this.xrTableCell51.Weight = 1D; - // - // xrTableRow34 - // - this.xrTableRow34.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell54, - this.xrTableCell55}); - this.xrTableRow34.Name = "xrTableRow34"; - this.xrTableRow34.Weight = 0.085D; - // - // xrTableCell54 - // - this.xrTableCell54.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell54.Name = "xrTableCell54"; - this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell54.StylePriority.UseBorderColor = false; - this.xrTableCell54.StylePriority.UseBorders = false; - this.xrTableCell54.StylePriority.UseFont = false; - this.xrTableCell54.Text = "abzüglich der geleisteten Abschlagszahlung:"; - this.xrTableCell54.Weight = 0.83602576622596159D; - // - // xrTableCell55 - // - this.xrTableCell55.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell55.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountAdvancedPayments", "{0:c}")}); - this.xrTableCell55.Name = "xrTableCell55"; - this.xrTableCell55.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell55.StylePriority.UseBorderColor = false; - this.xrTableCell55.StylePriority.UseBorders = false; - this.xrTableCell55.StylePriority.UseFont = false; - this.xrTableCell55.StylePriority.UseTextAlignment = false; - this.xrTableCell55.Text = "xrTableCell10"; - this.xrTableCell55.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell55.Weight = 0.16397423377403847D; - // - // xrTableRow35 - // - this.xrTableRow35.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell56, - this.xrTableCell57}); - this.xrTableRow35.Name = "xrTableRow35"; - this.xrTableRow35.Weight = 0.085D; - // - // xrTableCell56 - // - this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell56.Name = "xrTableCell56"; - this.xrTableCell56.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell56.StylePriority.UseBorders = false; - this.xrTableCell56.StylePriority.UsePadding = false; - this.xrTableCell56.Text = "abzüglich Eigenanteil:"; - this.xrTableCell56.Weight = 0.83602586012620206D; - // - // xrTableCell57 - // - this.xrTableCell57.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell57.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Eigenbeteiligung", "{0:c}")}); - this.xrTableCell57.Name = "xrTableCell57"; - this.xrTableCell57.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell57.StylePriority.UseBorders = false; - this.xrTableCell57.StylePriority.UsePadding = false; - this.xrTableCell57.StylePriority.UseTextAlignment = false; - this.xrTableCell57.Text = "xrTableCell15"; - this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell57.Weight = 0.16397413987379808D; - // - // xrTableRow36 - // - this.xrTableRow36.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell58}); - this.xrTableRow36.Name = "xrTableRow36"; - this.xrTableRow36.Weight = 0.085D; - // - // xrTableCell58 - // - this.xrTableCell58.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell58.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell58.Name = "xrTableCell58"; - this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell58.StylePriority.UseBorderColor = false; - this.xrTableCell58.StylePriority.UseBorders = false; - this.xrTableCell58.Weight = 1D; - // - // xrTableRow37 - // - this.xrTableRow37.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell59, - this.xrTableCell60}); - this.xrTableRow37.Name = "xrTableRow37"; - this.xrTableRow37.Weight = 0.15D; - // - // xrTableCell59 - // - this.xrTableCell59.BorderColor = System.Drawing.SystemColors.ControlLight; - this.xrTableCell59.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell59.Name = "xrTableCell59"; - this.xrTableCell59.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell59.StylePriority.UseBorderColor = false; - this.xrTableCell59.StylePriority.UseBorders = false; - this.xrTableCell59.StylePriority.UseFont = false; - this.xrTableCell59.Text = "Restforderung:"; - this.xrTableCell59.Weight = 0.83602567232572123D; - // - // xrTableCell60 - // - this.xrTableCell60.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell60.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Claim", "{0:c}")}); - this.xrTableCell60.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrTableCell60.Name = "xrTableCell60"; - this.xrTableCell60.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell60.StylePriority.UseBorderColor = false; - this.xrTableCell60.StylePriority.UseBorders = false; - this.xrTableCell60.StylePriority.UseFont = false; - this.xrTableCell60.StylePriority.UseTextAlignment = false; - this.xrTableCell60.Text = "xrTableCell17"; - this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell60.Weight = 0.16397432767427886D; - // - // Spitzabrechnung - // - this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail, - this.ReportHeader, - this.ReportFooter, - this.topMarginBand1, - this.bottomMarginBand1, - this.GroupHeader1, - this.DetailReport, - this.GroupFooter1}); - this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { - this.fieldApprovedFLSWithFactor}); - this.DataSource = this.bindingSource1; - this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; - this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { - this.ruleRateFactorNull}); - this.Margins = new System.Drawing.Printing.Margins(75, 74, 100, 43); - this.PageHeight = 1169; - this.PageWidth = 827; - this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; - this.Version = "17.1"; - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); - + 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.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.RecipientPostCodeAndTown = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel_RecipientStreet = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel_RecipientDivision = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblNotice = new DevExpress.XtraReports.UI.XRLabel(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.fieldApprovedFLSWithFactor = new DevExpress.XtraReports.UI.CalculatedField(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.Zwischensumme = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrTable6 = 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.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow34 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow35 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow37 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.HeightF = 0F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel9}); + this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); + this.ReportHeader.HeightF = 120F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseFont = false; + // + // xrLabel9 + // + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(193F, 51.5F); + this.xrLabel9.Multiline = true; + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel9.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.Text = "\r\n"; + // + // xrLabel8 + // + this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "{0:dd.MM.yyyy}")}); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(366.9999F, 155.125F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(283F, 19F); + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "xrLabel8"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTable1 + // + this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 353.4583F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.rowErbrachteLeistung}); + this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 17F); + this.xrTable1.StylePriority.UseBorderColor = false; + // + // rowErbrachteLeistung + // + this.rowErbrachteLeistung.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell22}); + this.rowErbrachteLeistung.Name = "rowErbrachteLeistung"; + this.rowErbrachteLeistung.Weight = 0.085D; + // + // xrTableCell22 + // + this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + 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; + // + // ruleRateFactorNull + // + this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; + this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.ruleRateFactorNull.Name = "ruleRateFactorNull"; + // + // xrLabel6 + // + this.xrLabel6.BackColor = System.Drawing.Color.Transparent; + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 282.4583F); + 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(650.0001F, 56.58334F); + this.xrLabel6.StylePriority.UseBackColor = false; + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = resources.GetString("xrLabel6.Text"); + // + // xrLabel5 + // + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 253.4583F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Sehr geehrte Damen und Herren,"; + // + // xrLabel4 + // + this.xrLabel4.BackColor = System.Drawing.Color.Transparent; + this.xrLabel4.CanShrink = true; + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 207.125F); + this.xrLabel4.Multiline = true; + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(650F, 17F); + this.xrLabel4.StylePriority.UseBackColor = false; + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]"; + this.xrLabel4.WordWrap = false; + // + // xrLabel3 + // + this.xrLabel3.BackColor = System.Drawing.Color.Transparent; + this.xrLabel3.CanShrink = true; + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 191.125F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F); + this.xrLabel3.StylePriority.UseBackColor = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerFirstName] [CustomerLa" + + "stName], geb. [CustomerBirthday!dd.MM.yyyy]"; + this.xrLabel3.WordWrap = false; + // + // xrLabel2 + // + this.xrLabel2.BackColor = System.Drawing.Color.Transparent; + this.xrLabel2.CanShrink = true; + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 174.125F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F); + this.xrLabel2.StylePriority.UseBackColor = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; + this.xrLabel2.WordWrap = false; + // + // xrTable2 + // + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2, + this.xrTableRow5, + this.xrTableRow4, + this.xrTableRow3, + this.xrTableRow1, + this.xrTableRow6, + this.xrTableRow8, + this.xrTableRow11}); + this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 152F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 0.12582781456953643D; + // + // xrTableCell4 + // + this.xrTableCell4.CanShrink = true; + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell4.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "Ihr(e) Ansprechpartner(in):"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell4.Weight = 1D; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell13}); + this.xrTableRow5.Name = "xrTableRow5"; + this.xrTableRow5.Weight = 0.12582781456953643D; + // + // xrTableCell13 + // + this.xrTableCell13.CanShrink = true; + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell13.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "[SenderContactPerson]"; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell13.Weight = 1D; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell11}); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Weight = 0.12582781456953646D; + // + // xrTableCell11 + // + this.xrTableCell11.CanShrink = true; + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell11.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell11.StylePriority.UseFont = false; + this.xrTableCell11.StylePriority.UseTextAlignment = false; + this.xrTableCell11.Text = "[SenderContactPersonDivision]"; + this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell11.Weight = 1D; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell8}); + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 0.12582781456953643D; + // + // xrTableCell8 + // + this.xrTableCell8.CanShrink = true; + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell8.StylePriority.UseFont = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "[SenderContactPersonMail]"; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell8.Weight = 1D; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Weight = 0.12582781456953643D; + // + // xrTableCell1 + // + this.xrTableCell1.CanShrink = true; + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.StylePriority.UseTextAlignment = false; + this.xrTableCell1.Text = "[SenderContactPersonPhone]"; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell1.Weight = 1D; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2}); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.Weight = 0.12582781456953646D; + // + // xrTableCell2 + // + this.xrTableCell2.CanShrink = true; + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell2.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "[SenderContactPersonFax]"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell2.Weight = 1D; + // + // xrTableRow8 + // + this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell5}); + this.xrTableRow8.Name = "xrTableRow8"; + this.xrTableRow8.Weight = 0.12582781456953643D; + // + // xrTableCell5 + // + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell5.Weight = 1D; + // + // RecipientPostCodeAndTown + // + this.RecipientPostCodeAndTown.CanShrink = true; + this.RecipientPostCodeAndTown.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.00003F); + this.RecipientPostCodeAndTown.Name = "RecipientPostCodeAndTown"; + this.RecipientPostCodeAndTown.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.RecipientPostCodeAndTown.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.RecipientPostCodeAndTown.SizeF = new System.Drawing.SizeF(292F, 17F); + this.RecipientPostCodeAndTown.StylePriority.UseFont = false; + this.RecipientPostCodeAndTown.Text = "[RecipientPostCodeAndTown]"; + // + // xrLabel_RecipientStreet + // + this.xrLabel_RecipientStreet.CanShrink = true; + this.xrLabel_RecipientStreet.LocationFloat = new DevExpress.Utils.PointFloat(0F, 51.00002F); + this.xrLabel_RecipientStreet.Name = "xrLabel_RecipientStreet"; + this.xrLabel_RecipientStreet.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel_RecipientStreet.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel_RecipientStreet.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel_RecipientStreet.StylePriority.UseFont = false; + this.xrLabel_RecipientStreet.Text = "[RecipientStreet]"; + // + // xrLabel_RecipientDivision + // + this.xrLabel_RecipientDivision.CanShrink = true; + this.xrLabel_RecipientDivision.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.00002F); + this.xrLabel_RecipientDivision.Name = "xrLabel_RecipientDivision"; + this.xrLabel_RecipientDivision.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel_RecipientDivision.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel_RecipientDivision.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel_RecipientDivision.StylePriority.UseFont = false; + this.xrLabel_RecipientDivision.Text = "[RecipientDivision]"; + // + // xrLabel_RecipientContactPerson + // + this.xrLabel_RecipientContactPerson.CanShrink = true; + this.xrLabel_RecipientContactPerson.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F); + this.xrLabel_RecipientContactPerson.Name = "xrLabel_RecipientContactPerson"; + this.xrLabel_RecipientContactPerson.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel_RecipientContactPerson.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel_RecipientContactPerson.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel_RecipientContactPerson.StylePriority.UseFont = false; + this.xrLabel_RecipientContactPerson.Text = "[RecipientContactPerson]"; + // + // xrLabel1 + // + this.xrLabel1.CanShrink = true; + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel1.SizeF = new System.Drawing.SizeF(292F, 17F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "[RecipientOrganisation]"; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel10, + this.xrTable3, + this.xrLabel12, + this.xrLabel11, + this.lblNotice}); + this.ReportFooter.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); + this.ReportFooter.HeightF = 209F; + this.ReportFooter.KeepTogether = true; + this.ReportFooter.Name = "ReportFooter"; + this.ReportFooter.StylePriority.UseFont = false; + // + // xrLabel10 + // + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 133F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Mit freundlichen Grüßen"; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow20, + this.xrTableRow7, + this.xrTableRow9, + this.xrTableRow21, + this.xrTableRow22, + this.xrTableRow23, + this.xrTableRow24}); + this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 94F); + this.xrTable3.StylePriority.UseFont = false; + // + // xrTableRow20 + // + this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell16}); + this.xrTableRow20.Name = "xrTableRow20"; + this.xrTableRow20.Weight = 0.38095238095238093D; + // + // xrTableCell16 + // + this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell16.StylePriority.UsePadding = false; + this.xrTableCell16.Text = "xrTableCell1"; + this.xrTableCell16.Weight = 3D; + // + // xrTableRow7 + // + this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3}); + this.xrTableRow7.Name = "xrTableRow7"; + this.xrTableRow7.Weight = 0.23809523809523808D; + // + // xrTableCell3 + // + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UsePadding = false; + this.xrTableCell3.Weight = 3D; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell6}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Weight = 0.38095238095238088D; + // + // xrTableCell6 + // + this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell6.StylePriority.UsePadding = false; + this.xrTableCell6.Weight = 3D; + // + // xrTableRow21 + // + this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell18}); + this.xrTableRow21.Name = "xrTableRow21"; + this.xrTableRow21.Weight = 0.23809523809523808D; + // + // xrTableCell18 + // + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Weight = 3D; + // + // xrTableRow22 + // + this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell29}); + this.xrTableRow22.Name = "xrTableRow22"; + this.xrTableRow22.Weight = 0.38095238095238088D; + // + // xrTableCell29 + // + this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")}); + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell29.StylePriority.UsePadding = false; + this.xrTableCell29.Text = "xrTableCell4"; + this.xrTableCell29.Weight = 3D; + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell30}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 0.23809523809523803D; + // + // xrTableCell30 + // + this.xrTableCell30.Name = "xrTableCell30"; + this.xrTableCell30.Weight = 3D; + // + // xrTableRow24 + // + this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell31}); + this.xrTableRow24.Name = "xrTableRow24"; + this.xrTableRow24.Weight = 0.38095238095238088D; + // + // xrTableCell31 + // + this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")}); + this.xrTableCell31.Name = "xrTableCell31"; + this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell31.StylePriority.UsePadding = false; + this.xrTableCell31.Text = "xrTableCell8"; + this.xrTableCell31.Weight = 3D; + // + // xrLabel12 + // + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 17F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "[CreatorName]"; + // + // xrLabel11 + // + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(582.9999F, 192F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(67F, 17F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "Anlage"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // lblNotice + // + this.lblNotice.CanShrink = true; + this.lblNotice.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Italic); + this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F); + this.lblNotice.Name = "lblNotice"; + this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 25F); + this.lblNotice.StylePriority.UseFont = false; + this.lblNotice.Text = "Abschließende Bemerkungen:"; + // + // topMarginBand1 + // + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 43F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel_RecipientContactPerson, + this.xrLabel_RecipientDivision, + this.xrLabel_RecipientStreet, + this.RecipientPostCodeAndTown, + this.xrTable2, + this.xrLabel2, + this.xrLabel3, + this.xrLabel4, + this.xrLabel5, + this.xrLabel6, + this.xrTable1, + this.xrLabel8}); + this.GroupHeader1.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); + this.GroupHeader1.HeightF = 370.4583F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.StylePriority.UseFont = false; + // + // fieldApprovedFLSWithFactor + // + this.fieldApprovedFLSWithFactor.Expression = "[ApprovedFLSTotal] * [RateFactor]"; + this.fieldApprovedFLSWithFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldApprovedFLSWithFactor.Name = "fieldApprovedFLSWithFactor"; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupHeader2, + this.Zwischensumme}); + this.DetailReport.DataMember = "InvoiceItems"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable4}); + this.Detail1.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.Detail1.HeightF = 17F; + this.Detail1.Name = "Detail1"; + this.Detail1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { + new DevExpress.XtraReports.UI.GroupField("PeriodStartDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)}); + this.Detail1.StylePriority.UseFont = false; + // + // xrTable4 + // + this.xrTable4.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow33}); + this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 17F); + this.xrTable4.StylePriority.UseBorderColor = false; + // + // xrTableRow33 + // + this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell52, + this.xrTableCell53}); + this.xrTableRow33.Name = "xrTableRow33"; + this.xrTableRow33.Weight = 0.085D; + // + // xrTableCell52 + // + this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell52.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.AbrechnungsText")}); + this.xrTableCell52.Name = "xrTableCell52"; + this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell52.StylePriority.UseBorderColor = false; + this.xrTableCell52.StylePriority.UseBorders = false; + this.xrTableCell52.StylePriority.UseFont = false; + this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:"; + this.xrTableCell52.Weight = 0.83602567232572123D; + // + // xrTableCell53 + // + this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell53.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")}); + this.xrTableCell53.Name = "xrTableCell53"; + this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell53.StylePriority.UseBorderColor = false; + this.xrTableCell53.StylePriority.UseBorders = false; + this.xrTableCell53.StylePriority.UseFont = false; + this.xrTableCell53.StylePriority.UseTextAlignment = false; + this.xrTableCell53.Text = "xrTableCell10"; + this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell53.Weight = 0.16397432767427886D; + // + // GroupHeader2 + // + this.GroupHeader2.BorderColor = System.Drawing.Color.Transparent; + 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"; + this.GroupHeader2.StylePriority.UseBorderColor = false; + // + // Zwischensumme + // + this.Zwischensumme.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6}); + this.Zwischensumme.HeightF = 34F; + this.Zwischensumme.Name = "Zwischensumme"; + this.Zwischensumme.Visible = false; + // + // xrTable6 + // + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow12, + this.xrTableRow10}); + this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 34F); + this.xrTable6.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)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, 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 [ItemDescription]:"; + this.xrTableCell9.Weight = 2.5080772986778848D; + // + // xrTableCell10 + // + this.xrTableCell10.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + 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("Verdana", 9.75F, 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.4919227013221153D; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell7}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Weight = 0.40476190476190466D; + // + // xrTableCell7 + // + this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, 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.xrTable5}); + this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.GroupFooter1.HeightF = 115F; + this.GroupFooter1.Name = "GroupFooter1"; + this.GroupFooter1.StylePriority.UseFont = false; + // + // xrTable5 + // + this.xrTable5.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow31, + this.xrTableRow32, + this.xrTableRow34, + this.xrTableRow35, + this.xrTableRow36, + this.xrTableRow37}); + this.xrTable5.SizeF = new System.Drawing.SizeF(650F, 115F); + this.xrTable5.StylePriority.UseBorderColor = false; + // + // xrTableRow31 + // + this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell49, + this.xrTableCell50}); + this.xrTableRow31.Name = "xrTableRow31"; + this.xrTableRow31.Weight = 0.085D; + // + // xrTableCell49 + // + this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell49.Name = "xrTableCell49"; + this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell49.StylePriority.UseBorders = false; + this.xrTableCell49.StylePriority.UseFont = false; + this.xrTableCell49.StylePriority.UsePadding = false; + this.xrTableCell49.Text = "Gesamtforderung:"; + this.xrTableCell49.Weight = 0.836025672325721D; + // + // xrTableCell50 + // + this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountBillableTotal", "{0:c}")}); + this.xrTableCell50.Name = "xrTableCell50"; + this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell50.StylePriority.UseBorders = false; + this.xrTableCell50.StylePriority.UseFont = false; + this.xrTableCell50.StylePriority.UsePadding = false; + this.xrTableCell50.StylePriority.UseTextAlignment = false; + this.xrTableCell50.Text = "xrTableCell9"; + this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell50.Weight = 0.16397432767427886D; + // + // xrTableRow32 + // + this.xrTableRow32.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell51}); + this.xrTableRow32.Name = "xrTableRow32"; + this.xrTableRow32.Weight = 0.085D; + // + // xrTableCell51 + // + this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell51.Name = "xrTableCell51"; + this.xrTableCell51.StylePriority.UseBorders = false; + this.xrTableCell51.Weight = 1D; + // + // xrTableRow34 + // + this.xrTableRow34.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell54, + this.xrTableCell55}); + this.xrTableRow34.Name = "xrTableRow34"; + this.xrTableRow34.Weight = 0.085D; + // + // xrTableCell54 + // + this.xrTableCell54.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell54.Name = "xrTableCell54"; + this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell54.StylePriority.UseBorderColor = false; + this.xrTableCell54.StylePriority.UseBorders = false; + this.xrTableCell54.StylePriority.UseFont = false; + this.xrTableCell54.Text = "abzüglich der geleisteten Abschlagszahlung:"; + this.xrTableCell54.Weight = 0.83602576622596159D; + // + // xrTableCell55 + // + this.xrTableCell55.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell55.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountAdvancedPayments", "{0:c}")}); + this.xrTableCell55.Name = "xrTableCell55"; + this.xrTableCell55.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell55.StylePriority.UseBorderColor = false; + this.xrTableCell55.StylePriority.UseBorders = false; + this.xrTableCell55.StylePriority.UseFont = false; + this.xrTableCell55.StylePriority.UseTextAlignment = false; + this.xrTableCell55.Text = "xrTableCell10"; + this.xrTableCell55.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell55.Weight = 0.16397423377403847D; + // + // xrTableRow35 + // + this.xrTableRow35.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell56, + this.xrTableCell57}); + this.xrTableRow35.Name = "xrTableRow35"; + this.xrTableRow35.Weight = 0.085D; + // + // xrTableCell56 + // + this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell56.Name = "xrTableCell56"; + this.xrTableCell56.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell56.StylePriority.UseBorders = false; + this.xrTableCell56.StylePriority.UsePadding = false; + this.xrTableCell56.Text = "abzüglich Eigenanteil:"; + this.xrTableCell56.Weight = 0.83602586012620206D; + // + // xrTableCell57 + // + this.xrTableCell57.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell57.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Eigenbeteiligung", "{0:c}")}); + this.xrTableCell57.Name = "xrTableCell57"; + this.xrTableCell57.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell57.StylePriority.UseBorders = false; + this.xrTableCell57.StylePriority.UsePadding = false; + this.xrTableCell57.StylePriority.UseTextAlignment = false; + this.xrTableCell57.Text = "xrTableCell15"; + this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell57.Weight = 0.16397413987379808D; + // + // xrTableRow36 + // + this.xrTableRow36.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell58}); + this.xrTableRow36.Name = "xrTableRow36"; + this.xrTableRow36.Weight = 0.085D; + // + // xrTableCell58 + // + this.xrTableCell58.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell58.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell58.Name = "xrTableCell58"; + this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell58.StylePriority.UseBorderColor = false; + this.xrTableCell58.StylePriority.UseBorders = false; + this.xrTableCell58.Weight = 1D; + // + // xrTableRow37 + // + this.xrTableRow37.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell59, + this.xrTableCell60}); + this.xrTableRow37.Name = "xrTableRow37"; + this.xrTableRow37.Weight = 0.15D; + // + // xrTableCell59 + // + this.xrTableCell59.BorderColor = System.Drawing.SystemColors.ControlLight; + this.xrTableCell59.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell59.Name = "xrTableCell59"; + this.xrTableCell59.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell59.StylePriority.UseBorderColor = false; + this.xrTableCell59.StylePriority.UseBorders = false; + this.xrTableCell59.StylePriority.UseFont = false; + this.xrTableCell59.Text = "Restforderung:"; + this.xrTableCell59.Weight = 0.83602567232572123D; + // + // xrTableCell60 + // + this.xrTableCell60.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell60.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Claim", "{0:c}")}); + this.xrTableCell60.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell60.Name = "xrTableCell60"; + this.xrTableCell60.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell60.StylePriority.UseBorderColor = false; + this.xrTableCell60.StylePriority.UseBorders = false; + this.xrTableCell60.StylePriority.UseFont = false; + this.xrTableCell60.StylePriority.UseTextAlignment = false; + this.xrTableCell60.Text = "xrTableCell17"; + this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell60.Weight = 0.16397432767427886D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO); + // + // xrTableRow11 + // + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell12}); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.Weight = 0.12582781456953643D; + // + // xrTableCell12 + // + this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "BusinessPartnerId")}); + this.xrTableCell12.Multiline = true; + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell12.StylePriority.UseTextAlignment = false; + this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell12.TextFormatString = "GP-Nr.: {0}"; + this.xrTableCell12.Weight = 1D; + // + // Spitzabrechnung + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.ReportHeader, + this.ReportFooter, + this.topMarginBand1, + this.bottomMarginBand1, + this.GroupHeader1, + this.DetailReport, + this.GroupFooter1}); + this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { + this.fieldApprovedFLSWithFactor}); + this.DataSource = this.bindingSource1; + this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.ruleRateFactorNull}); + this.Margins = new DevExpress.Drawing.DXMargins(75F, 74F, 100F, 43F); + this.PageHeight = 1169; + 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.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + } #endregion @@ -1166,6 +1197,8 @@ namespace BetreutesWohnenStelzel 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.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow11; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; } } diff --git a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.cs b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.cs index 9f550e738..bee59c806 100644 --- a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.cs +++ b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.cs @@ -1,12 +1,9 @@ using System; -using System.Drawing; -using System.Collections; -using System.ComponentModel; using DevExpress.XtraReports.UI; using BeWo.Report.ReportObjects; using BeWo.Report; -using System.Text.RegularExpressions; - +using BS.Shared.Extensions; + namespace BetreutesWohnenStelzel { public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport @@ -31,19 +28,20 @@ namespace BetreutesWohnenStelzel { rateFactor = (100 + ii.RateFactor.Value) / 100; } - if (pRO.FehlkontakteString != null && ii.RateFactor == 0) - { - Zwischensumme.Visible = true; - if (ii.ItemDescription != null && ii.ItemDescription.Length > 0) - { - ii.DetailDescription = Regex.Replace(ii.DetailDescription, ii.ItemDescription, "Fehlkontakte"); - } + if (!pRO.FehlkontakteString.IsNullOrEmpty() && ii.RateFactor == 0) + { + Zwischensumme.Visible = true; + ii.AbrechnungsText = ii.AbrechnungsText.Replace("FLS", "Std."); ii.ItemDescription = "Fehlkontakte"; } + else if (ii.ItemDescription.IsNullOrEmpty()) + { + ii.ItemDescription = "Fachleistungsstunden"; + } } - pRO.RateFactor = (double)rateFactor; - - this.bindingSource1.DataSource = pRO; + pRO.RateFactor = (double)rateFactor; + + this.bindingSource1.DataSource = pRO; } } } diff --git a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.resx b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.resx index dac8c7ff8..ccd440fc4 100644 --- a/ReportImp/BetreutesWohnenStelzel/SettlementReport2.resx +++ b/ReportImp/BetreutesWohnenStelzel/SettlementReport2.resx @@ -1,127 +1,124 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + anbei sende ich Ihnen die unterschriebenen Nachweise über die im Rahmen des Betreuten Wohnens für [Salutation2] [CustomerFirstName] [CustomerLastName] erbrachten Leistungen zu. Nach unserer Berechnung ergeben sich für den Betreuungszeitraum [AccountingPeriod] hieraus: - - - - 17, 17 - + + \ No newline at end of file diff --git a/ReportImp/BetreutesWohnenWoellReports/Invoicing/JugendamtInvoiceCreation.cs b/ReportImp/BetreutesWohnenWoellReports/Invoicing/JugendamtInvoiceCreation.cs index 20c225539..2de570420 100644 --- a/ReportImp/BetreutesWohnenWoellReports/Invoicing/JugendamtInvoiceCreation.cs +++ b/ReportImp/BetreutesWohnenWoellReports/Invoicing/JugendamtInvoiceCreation.cs @@ -1,15 +1,17 @@ using BeWo.Data.Entities; using BeWo.Service.Invoicing; +using BS.Shared; using BS.Shared.Core; using BS.Shared.DataContracts; using BS.Shared.Services; using System; using System.Collections.Generic; +using System.Linq; namespace BetreutesWohnenWoellReports.Invoicing { public class JugendamtInvoiceCreation : InvoiceCreation - { + { public override IList CreateInvoiceItems(List serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc) { var list = new List(); @@ -20,6 +22,7 @@ namespace BetreutesWohnenWoellReports.Invoicing if (!iServiceRecord.AlreadyAccounted) { InvoiceItem invoiceItem = CreateInvoiceItem(iServiceRecord, scap, calc); + invoiceItem.Notice = iServiceRecord.ServiceDescription.CategoryName; if (invoiceItem != null) { list.Add(invoiceItem); @@ -31,7 +34,12 @@ namespace BetreutesWohnenWoellReports.Invoicing } } - return CreateSummaryInvoiceItems(list, invoicePeriod, scap, calc); + if (scap.CostBearer2SupportConcept.CostBearer.Organisation.Function != null && scap.CostBearer2SupportConcept.CostBearer.Organisation.Function.Value == "Jugendamt") + return CreateSummaryInvoiceItems(list, invoicePeriod, scap, calc, false, true); + else + return CreateSummaryInvoiceItems(list, invoicePeriod, scap, calc, false); + + //return CreateSummaryInvoiceItems(list, invoicePeriod, scap, calc); } private InvoiceItem CreateFahrtkostenItem(InvoiceItem item) @@ -63,5 +71,136 @@ namespace BetreutesWohnenWoellReports.Invoicing return key; } + + public override IList CreateSummaryInvoiceItems(IList itemList, + DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc, bool summaryPerMonth, bool addRateFactorToUnitCount) + { + #region Standard + //Fasse InvoiceItems mit gleichem Stundensatz zusammen: + + var newlist = new List(); + + var rateToItem = new Dictionary(); + foreach (InvoiceItem iitem in itemList) + { + InvoiceItem item; + + var key = GetSummaryItemKey(scap, iitem, summaryPerMonth); + + if (rateToItem.ContainsKey(key)) + { + item = rateToItem[key]; + } + else + { + item = new InvoiceItem(); + #endregion + item.Notice = iitem.Notice; // Brauche die Notice.. + #region Standard + + newlist.Add(item); + + item.AmountPerUnit = iitem.AmountPerUnit; + if (invoicePeriod != null) + { + item.ItemPeriodStart = invoicePeriod.StartDate; + item.ItemPeriodEnd = invoicePeriod.EndDate; + } + else + { + item.ItemPeriodStart = scap.StartDate; + item.ItemPeriodEnd = scap.EndDate; + } + if (summaryPerMonth && iitem.ItemPeriodStart.HasValue) + { + DateTime start = new DateTime(iitem.ItemPeriodStart.Value.Year, iitem.ItemPeriodStart.Value.Month, 1); + DateTime end = start.AddMonths(1).AddDays(-1); + + if (item.ItemPeriodStart < start) + { + item.ItemPeriodStart = start; + } + if (item.ItemPeriodEnd > end) + { + item.ItemPeriodEnd = end; + } + } + item.RateFactor = iitem.RateFactor; + + item.AccountingInterval = iitem.AccountingInterval; + item.ItemDescription = iitem.ItemDescription; + item.UnitDescription = iitem.UnitDescription; + item.SupportConceptApprovalPeriodOid = scap.Oid; + + + rateToItem[key] = item; + } + + + if (!item.UnitCount.HasValue) + { + item.UnitCount = 0; + } + item.UnitCount += iitem.UnitCount ?? 0; + } + + BerechneSummaryItemsSummen(newlist, addRateFactorToUnitCount); + return newlist; + #endregion + } + + public override void CheckMaxApprovedAmount(ServiceInvoice invoice, ServiceInvoicePeriod sip, SupportConceptApprovalPeriodDC scap, CostBearer2SupportConcept costBearer2SupportConcept, DateTimeSpan invoicePeriod, List serviceRecords) + { + if (sip.ApprovedHours.HasValue && !scap.IsApprovedBEShifting) + { + //Prüfen ob der abzurechnende Zeitraum kleiner als das Bewilligungsintervall ist + if (scap.ApprovedBEInterval.HasValue) + { + var days = invoicePeriod.GetTimeSpan().Days + 1; + switch (scap.ApprovedBEInterval.Value) + { + case SupportConceptApprovalInterval.Quarterly: + if (days < 89) //CB: Machen wir es mal nicht zu kompliziert, wenn man weniger als 89 Tage abrechnet, gehen wir davon aus, dass nicht das gesamte Quartal abgerechnet wird + { + return; // Mach nix. TODO: Gesamtstunden prüfen und dann nur das abrechnen, was noch offen ist. Wer das macht bekommt ein Fleißsternchen:-) + } + break; + case SupportConceptApprovalInterval.HalfYearly: + if (days < 178) //CB: Siehe oben + { + return; // Mach nix. TODO: Gesamtstunden prüfen und dann nur das abrechnen, was noch offen ist. Wer das macht bekommt ein Fleißsternchen:-) + } + break; + case SupportConceptApprovalInterval.Yearly: + if (days < 365) //CB: Siehe oben + { + return; // Mach nix. TODO: Gesamtstunden prüfen und dann nur das abrechnen, was noch offen ist. Wer das macht bekommt ein Fleißsternchen:-) + } + break; + default: + break; + } + } + decimal totalHours = 0; + + foreach (var ii in sip.InvoiceItemList.Where(ii => ii.UnitCount.HasValue && ii.ItemDescription != "Fahrkosten pro km")) // KM werden immer abgerechnet, wie werden nicht vom Budget abgezogen + { + if (totalHours + ii.UnitCount.Value > sip.ApprovedHours) + { + ii.UnitCount = Math.Round(sip.ApprovedHours.Value - totalHours, 2, MidpointRounding.AwayFromZero); + if (ii.AmountPerUnit.HasValue) + { + ii.AmountTotal = ii.AmountPerUnit.Value * ii.UnitCount; + ii.GrossAmountTotal = ii.AmountTotal; + } + totalHours = sip.ApprovedHours.Value; + } + else + { + totalHours += ii.UnitCount.Value; + } + } + } + } } } \ No newline at end of file diff --git a/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.Designer.cs b/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.Designer.cs index f1dcdb9a5..8032d0b2d 100644 --- a/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.Designer.cs @@ -37,6 +37,9 @@ namespace BeWo.Report.DefaultReports this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); this.rowZeichen = new DevExpress.XtraReports.UI.XRTableRow(); @@ -49,16 +52,16 @@ namespace BeWo.Report.DefaultReports this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); this.rowIKNummer = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.labelIKoderGP = new DevExpress.XtraReports.UI.XRTableCell(); + this.WertIKoderGP = new DevExpress.XtraReports.UI.XRTableCell(); this.rowBewilligungsumfang = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); this.cellBewilligungsumfang = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); this.rowFamilienhilfe = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblFachbereich = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblBriefkopf = new DevExpress.XtraReports.UI.XRTableCell(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); this.lblUeberschrift = new DevExpress.XtraReports.UI.XRLabel(); @@ -87,9 +90,6 @@ namespace BeWo.Report.DefaultReports this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); @@ -143,6 +143,43 @@ namespace BeWo.Report.DefaultReports this.bottomMarginBand1.HeightF = 111.5F; this.bottomMarginBand1.Name = "bottomMarginBand1"; // + // xrLabel5 + // + this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(493.4167F, 0F); + 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(240.5833F, 65.66664F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "Geschäftsführung:\r\nFiona Wöll, B.A. Soziale Arbeit"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel4 + // + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(255.5417F, 0F); + this.xrLabel4.Multiline = true; + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(237.875F, 65.66664F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "Amtsgericht Köln, HRB 91655\r\nFinanzamt Bergheim\r\nSteuernummer: 203/5764/1138"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel3 + // + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(255.5417F, 65.66664F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.Text = "Kreissparkasse Köln\r\nIBAN: DE23 3705 0299 0120 2724 33\r\nBIC: COKSDE33XXX"; + // // Page1 // this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -239,6 +276,8 @@ namespace BeWo.Report.DefaultReports // xrTableCell8 // this.xrTableCell8.CanShrink = true; + this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerInsuranceNumber")}); this.xrTableCell8.Multiline = true; this.xrTableCell8.Name = "xrTableCell8"; this.xrTableCell8.Weight = 5.0079144287109374D; @@ -246,28 +285,25 @@ namespace BeWo.Report.DefaultReports // rowIKNummer // this.rowIKNummer.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell10, - this.xrTableCell11}); + this.labelIKoderGP, + this.WertIKoderGP}); this.rowIKNummer.Name = "rowIKNummer"; this.rowIKNummer.Weight = 1D; // - // xrTableCell10 + // labelIKoderGP // - this.xrTableCell10.CanShrink = true; - this.xrTableCell10.Multiline = true; - this.xrTableCell10.Name = "xrTableCell10"; - this.xrTableCell10.Text = "IK-Nummer:"; - this.xrTableCell10.Weight = 1.7604168701171876D; + this.labelIKoderGP.CanShrink = true; + this.labelIKoderGP.Multiline = true; + this.labelIKoderGP.Name = "labelIKoderGP"; + this.labelIKoderGP.Text = "IK-Nummer:"; + this.labelIKoderGP.Weight = 1.7604168701171876D; // - // xrTableCell11 + // WertIKoderGP // - this.xrTableCell11.CanShrink = true; - this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceInvoicePeriods.CostBearer2SupportConcept.CostBearer.Organisation.IKKostent" + - "rager")}); - this.xrTableCell11.Multiline = true; - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Weight = 5.0079144287109374D; + this.WertIKoderGP.CanShrink = true; + this.WertIKoderGP.Multiline = true; + this.WertIKoderGP.Name = "WertIKoderGP"; + this.WertIKoderGP.Weight = 5.0079144287109374D; // // rowBewilligungsumfang // @@ -296,7 +332,7 @@ namespace BeWo.Report.DefaultReports // this.xrTable1.Font = new DevExpress.Drawing.DXFont("Verdana", 8.25F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(550.4167F, 10.00001F); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(550.2499F, 22.50003F); this.xrTable1.Name = "xrTable1"; this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.rowFamilienhilfe, @@ -307,52 +343,52 @@ namespace BeWo.Report.DefaultReports // rowFamilienhilfe // this.rowFamilienhilfe.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell1}); + this.lblFachbereich}); this.rowFamilienhilfe.Name = "rowFamilienhilfe"; - this.rowFamilienhilfe.Weight = 1.9583326721191408D; + this.rowFamilienhilfe.Weight = 1.9583317565918557D; // - // xrTableCell1 + // lblFachbereich // - this.xrTableCell1.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrTableCell1.CanShrink = true; - this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrTableCell1.Multiline = true; - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - 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 = "Fachbereich Jugend- und\r\nFamilienhilfe"; - this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell1.Weight = 0.62463084211025488D; + this.lblFachbereich.BorderColor = System.Drawing.Color.DarkGray; + this.lblFachbereich.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.lblFachbereich.CanShrink = true; + this.lblFachbereich.Font = new DevExpress.Drawing.DXFont("Verdana", 9F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblFachbereich.Multiline = true; + this.lblFachbereich.Name = "lblFachbereich"; + this.lblFachbereich.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.lblFachbereich.StylePriority.UseBorderColor = false; + this.lblFachbereich.StylePriority.UseBorders = false; + this.lblFachbereich.StylePriority.UseFont = false; + this.lblFachbereich.StylePriority.UsePadding = false; + this.lblFachbereich.StylePriority.UseTextAlignment = false; + this.lblFachbereich.Text = "Fachbereich Jugend- und\r\nFamilienhilfe"; + this.lblFachbereich.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.lblFachbereich.Weight = 0.62463084211025488D; // // xrTableRow2 // this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell2}); + this.lblBriefkopf}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Weight = 4.9216668866253608D; // - // xrTableCell2 + // lblBriefkopf // - this.xrTableCell2.BorderColor = System.Drawing.Color.DarkGray; - this.xrTableCell2.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); - this.xrTableCell2.Multiline = true; - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); - 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 = "\r\nAm Wingertsberg 1a\r\n50169 Kerpen\r\nTelefon 02273 991332\r\nTelefax 02273 991535\r\ni" + - "nfo@lisa-woell.de\r\nwww.lisa-woell.de"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - this.xrTableCell2.Weight = 0.62463084211025488D; + this.lblBriefkopf.BorderColor = System.Drawing.Color.DarkGray; + this.lblBriefkopf.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.lblBriefkopf.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); + this.lblBriefkopf.Multiline = true; + this.lblBriefkopf.Name = "lblBriefkopf"; + this.lblBriefkopf.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.lblBriefkopf.StylePriority.UseBorderColor = false; + this.lblBriefkopf.StylePriority.UseBorders = false; + this.lblBriefkopf.StylePriority.UseFont = false; + this.lblBriefkopf.StylePriority.UsePadding = false; + this.lblBriefkopf.StylePriority.UseTextAlignment = false; + this.lblBriefkopf.Text = "Am Wingertsberg 1a\r\n50169 Kerpen\r\nTelefon 02273 991332\r\nTelefax 02273 991535\r\ninf" + + "o@lisa-woell.de\r\nwww.lisa-woell.de"; + this.lblBriefkopf.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.lblBriefkopf.Weight = 0.62463084211025488D; // // xrLabel6 // @@ -390,7 +426,7 @@ namespace BeWo.Report.DefaultReports this.lblUeberschrift.SizeF = new System.Drawing.SizeF(733.6666F, 20F); this.lblUeberschrift.StylePriority.UseBackColor = false; this.lblUeberschrift.StylePriority.UseFont = false; - this.lblUeberschrift.Text = "Sozialpädagogishe Familienhilfe gem. §§27, 31 SGB VIII"; + this.lblUeberschrift.Text = "Sozialpädagogische Familienhilfe gem. §§27, 31 SGB VIII"; this.lblUeberschrift.WordWrap = false; // // xrLabel2 @@ -411,13 +447,13 @@ namespace BeWo.Report.DefaultReports // this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDateTime")}); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(362.5F, 203.25F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(550.4167F, 203.25F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(371.3332F, 23F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(183.4165F, 23F); this.xrLabel8.StylePriority.UseTextAlignment = false; this.xrLabel8.Text = "xrLabel8"; - this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; this.xrLabel8.TextFormatString = "Kerpen, {0:dd.MM.yyy}"; // // lblAbrechnungszeitraum @@ -741,44 +777,6 @@ namespace BeWo.Report.DefaultReports this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrLabel1.TextFormatString = "{0}"; // - // xrLabel3 - // - this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel3.Multiline = true; - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(255.5417F, 65.66664F); - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "Kreissparkasse Köln\r\nIBAN: DE23 3705 0299 0120 2724 33\r\nBIC: COKSDE33XXX"; - // - // xrLabel4 - // - this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(255.5417F, 0F); - this.xrLabel4.Multiline = true; - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(237.875F, 65.66664F); - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.StylePriority.UseTextAlignment = false; - this.xrLabel4.Text = "Amtsgericht Köln, HRB 91655\r\nFinanzamt Bergheim\r\nSteuernummer: 203/5764/1138"; - this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - // - // xrLabel5 - // - this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Verdana", 9F); - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(493.4167F, 0F); - 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(240.5833F, 65.66664F); - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.StylePriority.UseTextAlignment = false; - this.xrLabel5.Text = "Geschäftsführung:\r\nFiona Wöll, B.A. Soziale Arbeit\r\nLisa Wöll, Dipl- Sozialarbeit" + - "erin"; - this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); @@ -852,9 +850,9 @@ namespace BeWo.Report.DefaultReports private DevExpress.XtraReports.UI.XRLabel xrLabel6; private DevExpress.XtraReports.UI.XRTable xrTable1; private DevExpress.XtraReports.UI.XRTableRow rowFamilienhilfe; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableCell lblFachbereich; private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell lblBriefkopf; private DevExpress.XtraReports.UI.XRTable xrTable2; private DevExpress.XtraReports.UI.XRTableRow rowZeichen; private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; @@ -866,8 +864,8 @@ namespace BeWo.Report.DefaultReports private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; private DevExpress.XtraReports.UI.XRTableRow rowIKNummer; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; + private DevExpress.XtraReports.UI.XRTableCell labelIKoderGP; + private DevExpress.XtraReports.UI.XRTableCell WertIKoderGP; private DevExpress.XtraReports.UI.XRTableRow rowBewilligungsumfang; private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; private DevExpress.XtraReports.UI.XRTableCell cellBewilligungsumfang; diff --git a/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.cs b/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.cs index 8b233664a..95f13925f 100644 --- a/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.cs +++ b/ReportImp/BetreutesWohnenWoellReports/ServiceInvoiceReport.cs @@ -1,7 +1,7 @@ using System; using System.Text; using BeWo.Report.ReportObjects; - +using BS.Shared.Extensions; using DevExpress.XtraReports.UI; namespace BeWo.Report.DefaultReports @@ -18,38 +18,78 @@ namespace BeWo.Report.DefaultReports DateTime start = pRO.AccountingPeriodStart; DateTime end = pRO.AccountingPeriodEnd; + var istJugendamt = false; + // Überschrift je nach Leistung setzen und Briefkopf nach Kostenträgerfunktion + foreach (var ip in pRO.ServiceInvoicePeriods) + { + foreach (var ap in ip.CostBearer2SupportConcept.ApprovalPeriodList) + { + if (ap.CostBearer2SupportConcept.CostBearer.Organisation.Function != null && ap.CostBearer2SupportConcept.CostBearer.Organisation.Function.Value == "Jugendamt") + istJugendamt = true; + + if (ap.ServiceCategory != null && ap.ServiceCategory.Name.Contains("§")) + { + lblUeberschrift.Text = ap.ServiceCategory.Name; + } + else + { + foreach (var item in ip.ServiceInvoiceItems) + { + if (!item.Notice.IsNullOrEmpty() && item.Notice.Contains("§")) + lblUeberschrift.Text = item.Notice; + } + } + // Wenn es keine Rechnung an ein Jugendamt ist, Briefkopf ändern + if (ap.CostBearer2SupportConcept.CostBearer.Organisation.Function == null || ap.CostBearer2SupportConcept.CostBearer.Organisation.Function.Value != "Jugendamt") + { + lblFachbereich.Text = null; + lblBriefkopf.Text = "Am Wingertsberg 1a\n" + "50169 Kerpen\n" + "Telefon 02273 991333\n" + "Telefax 02273 991333\n" + "info@lisa-woell.de\n" + "www.lisa-woell.de"; + } + } + } + // Hier abfangen, was NICHT Familienhilfe betrifft und entsprechend ausblenden - if (pRO.OrganisationCostCenter == "LVR") + if (pRO.RecipientOrganisation.ToLower().Contains("lvr") || pRO.RecipientOrganisation.ToLower().Contains("landschaftsverband rheinland")) { rowFamilienhilfe.Visible = false; - rowZeichen.Visible = false; + rowVersicherungsnummer.Visible = false; rowBewilligungsumfang.Visible = false; + + labelIKoderGP.Text = "GP-Nummer:"; + WertIKoderGP.Text = pRO.BusinessPartnerId; } else { - rowVersicherungsnummer.Visible = false; - rowIKNummer.Visible = false; - // Daten für Bewilligungsumfang setzen foreach (var ip in pRO.ServiceInvoicePeriods) { + WertIKoderGP.Text = ip.CostBearer2SupportConcept.CostBearer.Organisation.IKKostentrager; + string periode = ""; switch (ip.SupportConceptApprovalPeriod.ApprovedBEInterval) { - case BS.Shared.SupportConceptApprovalInterval.Daily: periode = "Tag";break; - case BS.Shared.SupportConceptApprovalInterval.Weekly: periode = "Woche";break; - case BS.Shared.SupportConceptApprovalInterval.Monthly: periode = "Monat";break; - case BS.Shared.SupportConceptApprovalInterval.HalfYearly: periode = "Halbjahr";break; - case BS.Shared.SupportConceptApprovalInterval.Yearly: periode = "Jahr";break; - case BS.Shared.SupportConceptApprovalInterval.Fortnightly: periode = "Pauschal";break; + case BS.Shared.SupportConceptApprovalInterval.Daily: periode = "Tag"; break; + case BS.Shared.SupportConceptApprovalInterval.Weekly: periode = "Woche"; break; + case BS.Shared.SupportConceptApprovalInterval.Monthly: periode = "Monat"; break; + case BS.Shared.SupportConceptApprovalInterval.HalfYearly: periode = "Halbjahr"; break; + case BS.Shared.SupportConceptApprovalInterval.Yearly: periode = "Jahr"; break; + case BS.Shared.SupportConceptApprovalInterval.Fortnightly: periode = "Pauschal"; break; } - + cellBewilligungsumfang.Text += string.Format("{0:0.00}", ip.SupportConceptApprovalPeriod.ApprovedBEPerInterval) + " FLS / " + periode + " bis " + string.Format("{0:dd.MM.yyyy}", ip.SupportConceptApprovalPeriod.EndDate) + "\n"; } } + // Für Jugendamt IK und Versicherungsnummer raus + if (istJugendamt) + { + rowIKNummer.Visible = false; + rowVersicherungsnummer.Visible = false; + } + + if (start.Month == end.Month && start.Year == end.Year) { diff --git a/ReportImp/DomizielAnsbach/Invoicing/InvoiceHelper.cs b/ReportImp/DomizielAnsbach/Invoicing/InvoiceHelper.cs index bcfa5e070..b2c66e0e2 100644 --- a/ReportImp/DomizielAnsbach/Invoicing/InvoiceHelper.cs +++ b/ReportImp/DomizielAnsbach/Invoicing/InvoiceHelper.cs @@ -39,7 +39,8 @@ namespace DomizielAnsbach.Invoicing while (start <= ende) { DateTime monatStart = start; //new DateTime(start.Year, start.Month, 1); - DateTime monatEnde = new DateTime(start.Year, start.AddMonths(1).Month, 1); //ende.AddDays(1); // monatStart.AddMonths(1); + DateTime monatEnde = monatStart.AddMonths(1); //new DateTime(start.Year, start.AddMonths(1).Month, 1); //ende.AddDays(1); + monatEnde = new DateTime(monatEnde.Year, monatEnde.Month, 1); if (ende.AddDays(2) < monatStart.AddMonths(1)) { monatEnde = ende.AddDays(1); diff --git a/ReportImp/InternationalesFamilienzentrum/Statistics/CustomServiceRecordStatisticFactory.cs b/ReportImp/InternationalesFamilienzentrum/Statistics/CustomServiceRecordStatisticFactory.cs index a972eb080..b05b32bb6 100644 --- a/ReportImp/InternationalesFamilienzentrum/Statistics/CustomServiceRecordStatisticFactory.cs +++ b/ReportImp/InternationalesFamilienzentrum/Statistics/CustomServiceRecordStatisticFactory.cs @@ -1,4 +1,5 @@ -using System; + +using System; using System.Collections.Generic; using BeWo.Data.Access; using BeWo.Data.Entities; @@ -12,28 +13,29 @@ using BS.Shared.Services; namespace InternationalesFamilienzentrum.Statistics { - public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory - { + public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory + { public override ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, DateTime statisticsDate) { var stats = CreateSupportConceptStatisticsImpl(costBearer2SupportConceptOid, statisticsDate); - var dc = new ServiceRecordStatisticsInfoDC(); - dc.Header = new string[4]; + dc.Header = new string[6]; dc.Header[0] = "Bewilligungszeitraum:"; dc.Header[1] = "Bewilligt diesen Monat/Gesamt:"; - dc.Header[2] = "Geleistet diesen Monat/Gesamt:"; - dc.Header[3] = "Frei diesen Monat/Gesamt:"; + dc.Header[2] = "Minimum pro Woche/Gesamt:"; + dc.Header[3] = "Maximum pro Woche/Gesamt:"; + dc.Header[4] = "Geleistet diesen Monat/Gesamt:"; + dc.Header[5] = "Frei diesen Monat/Gesamt:"; - dc.ForegroundColor = new string[4]; + dc.ForegroundColor = new string[6]; dc.ForegroundColor[0] = "#FF2B508B"; dc.ForegroundColor[1] = "#FF2B508B"; dc.ForegroundColor[2] = "#FF2B508B"; dc.ForegroundColor[3] = "#FF2B508B"; - + dc.ForegroundColor[4] = "#FF2B508B"; + dc.ForegroundColor[5] = "#FF2B508B"; dc.PeriodStatisticInfos = new List(); - if (stats != null) { if (stats.PeriodStatistics.Count > 1 && !TimeSpanIsEqual(stats)) @@ -67,8 +69,7 @@ namespace InternationalesFamilienzentrum.Statistics public ServiceRecordPeriodStatisticsInfoDC CreateServiceRecordPeriodStatisticsInfo(SupportConceptStatisticsDC stats, SupportConceptPeriodStatisticsDC periodStats, DateTime statisticsDate) { - var dc = CreateDefaultServiceRecordPeriodStatisticsInfo(4); - + var dc = CreateDefaultServiceRecordPeriodStatisticsInfo(6); if (periodStats.SupportConceptApprovalPeriod != null) { if (periodStats.SupportConceptApprovalPeriod.ServiceCategory != null) @@ -77,26 +78,130 @@ namespace InternationalesFamilienzentrum.Statistics periodStats.SupportConceptApprovalPeriod.ServiceCategory.Name, periodStats.SupportConceptApprovalPeriod.StartDate, periodStats.SupportConceptApprovalPeriod.EndDate); + //Berechnung der Minimum/Maximumwerte für den Hilfeplan, eigentlich sollte immer die Leistungsgruppe gesetzt sein, das glaube ich aber nur bedingt + BerechneAuslastungNachLeistungsgruppen(periodStats); } else { dc.LeftValues[0] = String.Format("{0:dd.MM.yy} - {1:dd.MM.yy}", periodStats.SupportConceptApprovalPeriod.StartDate, periodStats.SupportConceptApprovalPeriod.EndDate); + //Berechnung der Minimum/Maximumwerte für den Hilfeplan, hilfsweise aus bewilligten Minuten + BerechneAuslastungNachBewilligtenMin(periodStats); } } dc.LeftValues[1] = String.Format("{0:0.00}", periodStats.MinutesApprovedPerMonth / 60); dc.RightValues[1] = String.Format("{0:0.00}", periodStats.MinutesApprovedTotal / 60); - dc.LeftValues[2] = String.Format("{0:0.00}", periodStats.MinutesProvidedThisMonth / 60); - dc.RightValues[2] = String.Format("{0:0.00}", periodStats.MinutesProvidedTotalRounded / 60); + var ratio = periodStats.MinutesApprovedTotal / periodStats.MinutesApprovedPerWeek; + dc.LeftValues[2] = String.Format("{0:0.00}", Math.Round(periodStats.Custom1.Value / 60, 2, MidpointRounding.AwayFromZero)); + dc.RightValues[2] = String.Format("{0:0.00}", Math.Round(periodStats.Custom1.Value * ratio / 60, 2, MidpointRounding.AwayFromZero)); - dc.LeftValues[3] = String.Format("{0:0.00}", (periodStats.MinutesApprovedPerMonth - periodStats.MinutesProvidedThisMonth) / 60); - dc.RightValues[3] = String.Format("{0:0.00}", (periodStats.MinutesApprovedTotal - periodStats.MinutesProvidedTotalRounded) / 60); + dc.LeftValues[3] = String.Format("{0:0.00}", Math.Round(periodStats.Custom2.Value / 60, 2, MidpointRounding.AwayFromZero)); + dc.RightValues[3] = String.Format("{0:0.00}", Math.Round(periodStats.Custom2.Value * ratio / 60, 2, MidpointRounding.AwayFromZero)); + + dc.LeftValues[4] = String.Format("{0:0.00}", periodStats.MinutesProvidedThisMonth / 60); + dc.RightValues[4] = String.Format("{0:0.00}", periodStats.MinutesProvidedTotalRounded / 60); + + dc.LeftValues[5] = String.Format("{0:0.00}", (periodStats.MinutesApprovedPerMonth - periodStats.MinutesProvidedThisMonth) / 60); + dc.RightValues[5] = String.Format("{0:0.00}", (periodStats.MinutesApprovedTotal - periodStats.MinutesProvidedTotalRounded) / 60); return dc; } + private void BerechneAuslastungNachLeistungsgruppen(SupportConceptPeriodStatisticsDC period) + { + period.Custom1 = 0; // Min-wert zu leisten in der LG + period.Custom2 = 0; // Max-wert zu leisten in der LG + + if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 1")) + { + period.Custom1 += 8; + period.Custom2 = 90; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 2")) + { + period.Custom1 += 91; + period.Custom2 = 150; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 3")) + { + period.Custom1 += 151; + period.Custom2 = 210; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 4")) + { + period.Custom1 += 211; + period.Custom2 = 270; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 5")) + { + period.Custom1 += 271; + period.Custom2 = 390; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 6")) + { + period.Custom1 += 391; + period.Custom2 = 510; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 7")) + { + period.Custom1 += 511; + period.Custom2 = 750; + } + else if (period.SupportConceptApprovalPeriod.ServiceCategory.Name.Contains("LG 8")) + { + period.Custom1 += 751; + period.Custom2 = 1050; + } + } + + private void BerechneAuslastungNachBewilligtenMin(SupportConceptPeriodStatisticsDC period) + { + period.Custom1 = 0; // Min-wert zu leisten in der LG + period.Custom2 = 0; // Max-wert zu leisten in der LG + + if (period.MinutesApprovedPerWeek < 91) + { + period.Custom1 += 8; + period.Custom2 = 90; + } + else if (period.MinutesApprovedPerWeek * 60 < 151) + { + period.Custom1 += 91; + period.Custom2 = 150; + } + else if (period.MinutesApprovedPerWeek < 211) + { + period.Custom1 += 151; + period.Custom2 = 210; + } + else if (period.MinutesApprovedPerWeek < 271) + { + period.Custom1 += 211; + period.Custom2 = 270; + } + else if (period.MinutesApprovedPerWeek < 391) + { + period.Custom1 += 271; + period.Custom2 = 390; + } + else if (period.MinutesApprovedPerWeek < 511) + { + period.Custom1 += 391; + period.Custom2 = 510; + } + else if (period.MinutesApprovedPerWeek < 751) + { + period.Custom1 += 511; + period.Custom2 = 750; + } + else if (period.MinutesApprovedPerWeek < 1051) + { + period.Custom1 += 751; + period.Custom2 = 1050; + } + } } } diff --git a/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.Designer.cs b/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.Designer.cs index 0d4c225bb..5278c7be9 100644 --- a/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.Designer.cs +++ b/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.Designer.cs @@ -65,6 +65,7 @@ namespace InternationalesFamilienzentrum this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); this.ruleNotApprovedAndExpiringNext4Months = new DevExpress.XtraReports.UI.FormattingRule(); this.ruleNotApprovedAndExpiringNext8Months = new DevExpress.XtraReports.UI.FormattingRule(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -112,20 +113,19 @@ namespace InternationalesFamilienzentrum this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell59 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell60 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell61 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell62 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell63 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrTableCell64 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell65 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell66 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell67 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell68 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell69 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell70 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell71 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell72 = new DevExpress.XtraReports.UI.XRTableCell(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -189,7 +189,7 @@ namespace InternationalesFamilienzentrum this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F); this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2}); - this.xrTable2.SizeF = new System.Drawing.SizeF(1315F, 20F); + this.xrTable2.SizeF = new System.Drawing.SizeF(1259F, 20F); this.xrTable2.StylePriority.UseBackColor = false; this.xrTable2.StylePriority.UseBorders = false; this.xrTable2.StylePriority.UseFont = false; @@ -203,19 +203,19 @@ namespace InternationalesFamilienzentrum this.xrTableCell36, this.xrTableCell20, this.xrTableCell21, + this.xrTableCell65, this.xrTableCell22, this.xrTableCell23, + this.xrTableCell70, + this.xrTableCell69, this.xrTableCell24, this.xrTableCell25, this.xrTableCell26, this.xrTableCell27, this.xrTableCell28, this.xrTableCell29, - this.xrTableCell62, this.xrTableCell30, this.xrTableCell31, - this.xrTableCell58, - this.xrTableCell57, this.xrTableCell32, this.xrTableCell33, this.xrTableCell34}); @@ -419,6 +419,10 @@ namespace InternationalesFamilienzentrum this.ruleNotApprovedAndExpiringNext8Months.Formatting.BackColor = System.Drawing.Color.LightBlue; this.ruleNotApprovedAndExpiringNext8Months.Name = "ruleNotApprovedAndExpiringNext8Months"; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SupportConceptListRO); + // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -438,7 +442,7 @@ namespace InternationalesFamilienzentrum this.xrTable1.Name = "xrTable1"; this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow1}); - this.xrTable1.SizeF = new System.Drawing.SizeF(1315F, 42F); + this.xrTable1.SizeF = new System.Drawing.SizeF(1259F, 42F); this.xrTable1.StylePriority.UseBackColor = false; this.xrTable1.StylePriority.UseBorders = false; this.xrTable1.StylePriority.UseFont = false; @@ -453,19 +457,19 @@ namespace InternationalesFamilienzentrum this.xrTableCell35, this.xrTableCell3, this.xrTableCell4, + this.xrTableCell64, this.xrTableCell5, this.xrTableCell6, + this.xrTableCell68, + this.xrTableCell67, this.xrTableCell7, this.xrTableCell8, this.xrTableCell9, this.xrTableCell10, this.xrTableCell11, this.xrTableCell12, - this.xrTableCell61, this.xrTableCell13, this.xrTableCell14, - this.xrTableCell56, - this.xrTableCell55, this.xrTableCell15, this.xrTableCell16, this.xrTableCell17}); @@ -637,7 +641,7 @@ namespace InternationalesFamilienzentrum this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 0, 100F); this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow3}); - this.xrTable3.SizeF = new System.Drawing.SizeF(1315F, 20F); + this.xrTable3.SizeF = new System.Drawing.SizeF(1259F, 20F); this.xrTable3.StylePriority.UseBackColor = false; this.xrTable3.StylePriority.UseBorders = false; this.xrTable3.StylePriority.UseFont = false; @@ -651,19 +655,19 @@ namespace InternationalesFamilienzentrum this.xrTableCell39, this.xrTableCell40, this.xrTableCell41, + this.xrTableCell66, this.xrTableCell42, this.xrTableCell43, + this.xrTableCell72, + this.xrTableCell71, this.xrTableCell44, this.xrTableCell45, this.xrTableCell46, this.xrTableCell47, this.xrTableCell48, this.xrTableCell49, - this.xrTableCell63, this.xrTableCell50, this.xrTableCell51, - this.xrTableCell60, - this.xrTableCell59, this.xrTableCell52, this.xrTableCell53, this.xrTableCell54}); @@ -862,84 +866,81 @@ namespace InternationalesFamilienzentrum this.xrTableCell54.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.xrTableCell54.Weight = 0.13525699097924734D; // - // xrTableCell55 + // xrTableCell64 // - this.xrTableCell55.Multiline = true; - this.xrTableCell55.Name = "xrTableCell55"; - this.xrTableCell55.Text = "Differenz Korridor Max in %"; - this.xrTableCell55.Weight = 0.18935977902718335D; + this.xrTableCell64.Multiline = true; + this.xrTableCell64.Name = "xrTableCell64"; + this.xrTableCell64.Text = "Leistungs-gruppe"; + this.xrTableCell64.Weight = 0.13525698632089916D; // - // xrTableCell56 + // xrTableCell65 // - this.xrTableCell56.Multiline = true; - this.xrTableCell56.Name = "xrTableCell56"; - this.xrTableCell56.Text = "Differenz Korridor Min in %"; - this.xrTableCell56.Weight = 0.18935977902718335D; - // - // xrTableCell57 - // - this.xrTableCell57.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom3")}); - this.xrTableCell57.Multiline = true; - this.xrTableCell57.Name = "xrTableCell57"; - this.xrTableCell57.StylePriority.UseTextAlignment = false; - this.xrTableCell57.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell57.Weight = 0.1893597790271834D; - // - // xrTableCell58 - // - this.xrTableCell58.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom2")}); - this.xrTableCell58.Multiline = true; - this.xrTableCell58.Name = "xrTableCell58"; - this.xrTableCell58.StylePriority.UseTextAlignment = false; - this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell58.Weight = 0.1893597790271834D; - // - // xrTableCell59 - // - this.xrTableCell59.Multiline = true; - this.xrTableCell59.Name = "xrTableCell59"; - this.xrTableCell59.StylePriority.UseTextAlignment = false; - this.xrTableCell59.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell59.Weight = 0.1893597790271834D; - // - // xrTableCell60 - // - this.xrTableCell60.Multiline = true; - this.xrTableCell60.Name = "xrTableCell60"; - this.xrTableCell60.StylePriority.UseTextAlignment = false; - this.xrTableCell60.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell60.Weight = 0.1893597790271834D; - // - // xrTableCell61 - // - this.xrTableCell61.Multiline = true; - this.xrTableCell61.Name = "xrTableCell61"; - this.xrTableCell61.Text = "Leistungs-gruppe"; - this.xrTableCell61.Weight = 0.17853922903987912D; - // - // xrTableCell62 - // - this.xrTableCell62.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell65.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom1")}); - this.xrTableCell62.Multiline = true; - this.xrTableCell62.Name = "xrTableCell62"; - this.xrTableCell62.StylePriority.UseTextAlignment = false; - this.xrTableCell62.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell62.Weight = 0.17853922903987909D; + this.xrTableCell65.Multiline = true; + this.xrTableCell65.Name = "xrTableCell65"; + this.xrTableCell65.StylePriority.UseTextAlignment = false; + this.xrTableCell65.Text = "xrTableCell65"; + this.xrTableCell65.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell65.Weight = 0.13525698632089914D; // - // xrTableCell63 + // xrTableCell66 // - this.xrTableCell63.Multiline = true; - this.xrTableCell63.Name = "xrTableCell63"; - this.xrTableCell63.StylePriority.UseTextAlignment = false; - this.xrTableCell63.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - this.xrTableCell63.Weight = 0.17853922903987909D; + this.xrTableCell66.Multiline = true; + this.xrTableCell66.Name = "xrTableCell66"; + this.xrTableCell66.StylePriority.UseTextAlignment = false; + this.xrTableCell66.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell66.Weight = 0.13525698632089914D; // - // bindingSource1 + // xrTableCell67 // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SupportConceptListRO); + this.xrTableCell67.Multiline = true; + this.xrTableCell67.Name = "xrTableCell67"; + this.xrTableCell67.Text = "Max Std / Laufzeit HP"; + this.xrTableCell67.Weight = 0.135256986233857D; + // + // xrTableCell68 + // + this.xrTableCell68.Multiline = true; + this.xrTableCell68.Name = "xrTableCell68"; + this.xrTableCell68.Text = "Min Std / Laufzeit HP"; + this.xrTableCell68.Weight = 0.135256986233857D; + // + // xrTableCell69 + // + this.xrTableCell69.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom3")}); + this.xrTableCell69.Multiline = true; + this.xrTableCell69.Name = "xrTableCell69"; + this.xrTableCell69.StylePriority.UseTextAlignment = false; + this.xrTableCell69.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell69.Weight = 0.135256986233857D; + // + // xrTableCell70 + // + this.xrTableCell70.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "SupportConceptDetailList.Custom2")}); + this.xrTableCell70.Multiline = true; + this.xrTableCell70.Name = "xrTableCell70"; + this.xrTableCell70.StylePriority.UseTextAlignment = false; + this.xrTableCell70.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell70.Weight = 0.135256986233857D; + // + // xrTableCell71 + // + this.xrTableCell71.Multiline = true; + this.xrTableCell71.Name = "xrTableCell71"; + this.xrTableCell71.StylePriority.UseTextAlignment = false; + this.xrTableCell71.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell71.Weight = 0.135256986233857D; + // + // xrTableCell72 + // + this.xrTableCell72.Multiline = true; + this.xrTableCell72.Name = "xrTableCell72"; + this.xrTableCell72.StylePriority.UseTextAlignment = false; + this.xrTableCell72.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell72.Weight = 0.135256986233857D; // // Hilfeplanuebersicht // @@ -967,9 +968,9 @@ namespace InternationalesFamilienzentrum xrWatermark1.Id = "Watermark1"; this.Watermarks.Add(xrWatermark1); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -1052,14 +1053,14 @@ namespace InternationalesFamilienzentrum private DevExpress.XtraReports.UI.XRTableCell xrTableCell52; private DevExpress.XtraReports.UI.XRTableCell xrTableCell53; private DevExpress.XtraReports.UI.XRTableCell xrTableCell54; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell58; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell57; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell56; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell55; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell60; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell59; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell62; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell61; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell63; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell65; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell70; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell69; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell64; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell68; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell67; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell66; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell72; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell71; } } diff --git a/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.cs b/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.cs index 2ca58930c..89549b076 100644 --- a/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.cs +++ b/ReportImp/InternationalesFamilienzentrum/SupportConceptReport.cs @@ -6,6 +6,8 @@ using DevExpress.XtraReports.UI; using BS.Shared.Extensions; using BeWo.Report.ReportObjects; using BeWo.Report; +using BeWo.Data.Access; +using BeWo.Data.Entities; namespace InternationalesFamilienzentrum { @@ -28,6 +30,73 @@ namespace InternationalesFamilienzentrum } private void BerechneAuslastungNachLeistungsgruppen(SupportConceptListRO pRO) + { + foreach (var sc in pRO.SupportConceptDetailList) + { + sc.Custom1 = "KEINE"; + sc.Custom2 = ""; // Auslastung LG in % Min-wert + sc.Custom3 = ""; // Auslastung LG in % Max-wert + + if (sc.CostBearer2SupportConceptOid > 0) + { + var c2s = DAOFactory.GenericDAO.LoadByID(sc.CostBearer2SupportConceptOid); + foreach (var scap in c2s.ApprovalPeriodList) + { + if (scap.ServiceCategory != null) + { + sc.Custom1 = scap.ServiceCategory.Name; // Leistungsgruppe + } + } + } + decimal ratio = 1; + if (sc.FLSPerWeekSoll != 0) + { + ratio = sc.FLSTotal / sc.FLSPerWeekSoll; + } + if (sc.Custom1.Contains("LG 1")) + { + sc.Custom2 = Math.Round(8 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(90 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 2")) + { + sc.Custom2 = Math.Round(91 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(150 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 3")) + { + sc.Custom2 = Math.Round(151 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(210 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 4")) + { + sc.Custom2 = Math.Round(211 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(270 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 5")) + { + sc.Custom2 = Math.Round(271 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(390 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 6")) + { + sc.Custom2 = Math.Round(391 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(510 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 7")) + { + sc.Custom2 = Math.Round(511 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(750 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + else if (sc.Custom1.Contains("LG 8")) + { + sc.Custom2 = Math.Round(751 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + sc.Custom3 = Math.Round(1050 * ratio / 60, 2, MidpointRounding.AwayFromZero).ToString(); + } + } + } + + private void BerechneAuslastungNachLeistungsgruppenOld(SupportConceptListRO pRO) { foreach (var sc in pRO.SupportConceptDetailList) { diff --git a/ReportImp/KomMitBewo/Service/CustomVacationService.cs b/ReportImp/KomMitBewo/Service/CustomVacationService.cs index 733a9b77b..2a6657a74 100644 --- a/ReportImp/KomMitBewo/Service/CustomVacationService.cs +++ b/ReportImp/KomMitBewo/Service/CustomVacationService.cs @@ -26,6 +26,19 @@ namespace KommMit.Service } return list; - } + } + + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Year >= 2024 && start.Month == 12 && (start.Day == 24 || start.Day == 31)) + { + return 0.5m; + } + else if (IstFeiertag(start)) + { + return 1; + } + return 0; + } } } diff --git a/ReportImp/PflegedienstWessel/Invoicing/CustomInvoiceCreation.cs b/ReportImp/PflegedienstWessel/Invoicing/CustomInvoiceCreation.cs index 111d3d4c2..c97f461cb 100644 --- a/ReportImp/PflegedienstWessel/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/PflegedienstWessel/Invoicing/CustomInvoiceCreation.cs @@ -39,7 +39,7 @@ namespace PflegedienstWessel.Invoicing // Prüfen, ob es Hintergrunddienste (HD) für Hilfepläne gibt. Diese benötigen nämlich eine eigene Rechnung mit Pauschalbetrag pro Tag foreach (var rel in scdc.CostBearerRelations) { - if (rel.ApprovalPeriodList.Any(ap => ap.ServiceCategory != null && ap.ServiceCategory.Name.Contains("HD"))) + if (rel.ApprovalPeriodList.Any(ap => ap.ServiceCategory != null && ap.ServiceCategory.Name.Contains("HD")) || rel.CostBearer.Function != null && rel.CostBearer.Function == "HD WG für Rechnung") { // Wenn es eine HD-Kategorie in der Bewilligung gibt, zu scsMitHD hinzufügen und dann am Ende eine Rechung für alle HP in der Liste erstellen scsMitHD.Add(rel.SupportConcept); @@ -98,6 +98,13 @@ namespace PflegedienstWessel.Invoicing var result = invoiceList.Select(item => MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(item)).ToList(); + foreach (var inv in result) + { + if (inv.InvoiceBase.RecipientOrganisation.ToLower().Contains("lvr") && inv.InvoiceBase.RecipientOrganisation.ToLower().Contains("-")) + { + inv.InvoiceBase.RecipientOrganisation = inv.InvoiceBase.RecipientOrganisation.Remove(inv.InvoiceBase.RecipientOrganisation.IndexOf("-"), inv.InvoiceBase.RecipientOrganisation.Length - inv.InvoiceBase.RecipientOrganisation.IndexOf("-")); + } + } return result; } diff --git a/ReportImp/SKMAachen/RechnungBeWo67.Designer.cs b/ReportImp/SKMAachen/RechnungBeWo67.Designer.cs index bd666fc12..8e2583ec2 100644 --- a/ReportImp/SKMAachen/RechnungBeWo67.Designer.cs +++ b/ReportImp/SKMAachen/RechnungBeWo67.Designer.cs @@ -69,6 +69,8 @@ namespace SKMAachen this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblDifferenzrechnung1 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblDifferenzrechnung2 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -93,7 +95,7 @@ namespace SKMAachen // xrPictureBox1 // this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource")); - this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(421.7502F, 0F); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(440.5837F, 0F); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.SizeF = new System.Drawing.SizeF(255.2498F, 80.70667F); this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; @@ -123,7 +125,7 @@ namespace SKMAachen // this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Verdana", 7F); this.xrLabel10.ForeColor = System.Drawing.Color.Gray; - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(578.1249F, 0F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(596.9584F, 0F); this.xrLabel10.Multiline = true; this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -138,11 +140,11 @@ namespace SKMAachen // this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 7F); this.xrLabel9.ForeColor = System.Drawing.Color.Gray; - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(385.4167F, 0F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(396.875F, 0F); 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(192.7083F, 71.10926F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(200.0835F, 71.10926F); this.xrLabel9.StylePriority.UseFont = false; this.xrLabel9.StylePriority.UseForeColor = false; this.xrLabel9.StylePriority.UseTextAlignment = false; @@ -158,7 +160,7 @@ namespace SKMAachen 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(192.7083F, 71.10926F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(204.1667F, 71.10926F); this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UseForeColor = false; this.xrLabel6.StylePriority.UseTextAlignment = false; @@ -184,6 +186,8 @@ namespace SKMAachen // Page1 // this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.lblDifferenzrechnung2, + this.lblDifferenzrechnung1, this.xrLabel11, this.xrLabel3, this.xrLabel1, @@ -193,7 +197,7 @@ namespace SKMAachen this.lblForderung, this.xrLabel2, this.lblAbrechnungszeitraum}); - this.Page1.HeightF = 473.1048F; + this.Page1.HeightF = 488.313F; this.Page1.Name = "Page1"; this.Page1.StylePriority.UseFont = false; // @@ -258,14 +262,14 @@ namespace SKMAachen this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(501.3751F, 217.6081F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(148.6251F, 23F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(194.4584F, 23F); this.xrLabel8.StylePriority.UseTextAlignment = false; this.xrLabel8.Text = "xrLabel8"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; // // xrTable2 // - this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 10F); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(367.0001F, 10.00001F); this.xrTable2.Name = "xrTable2"; this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, @@ -275,7 +279,7 @@ namespace SKMAachen this.xrTableRow1, this.xrTableRow6, this.xrTableRow8}); - this.xrTable2.SizeF = new System.Drawing.SizeF(283F, 134F); + this.xrTable2.SizeF = new System.Drawing.SizeF(328.8332F, 134F); // // xrTableRow2 // @@ -406,13 +410,12 @@ namespace SKMAachen // // lblForderung // - this.lblForderung.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.lblForderung.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F); this.lblForderung.LocationFloat = new DevExpress.Utils.PointFloat(0F, 432.6881F); this.lblForderung.Multiline = true; this.lblForderung.Name = "lblForderung"; this.lblForderung.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblForderung.SizeF = new System.Drawing.SizeF(650F, 40.41666F); + this.lblForderung.SizeF = new System.Drawing.SizeF(695.8333F, 18.54166F); this.lblForderung.StylePriority.UseFont = false; this.lblForderung.Text = "Hieraus ergibt sich eine Forderung von ___ Std. x 61,40 EUR = ________ EUR."; // @@ -423,7 +426,7 @@ namespace SKMAachen this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 112.9134F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(695.8333F, 112.9134F); this.xrLabel2.StylePriority.UseBackColor = false; this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.Text = resources.GetString("xrLabel2.Text"); @@ -435,7 +438,7 @@ namespace SKMAachen this.lblAbrechnungszeitraum.Multiline = true; this.lblAbrechnungszeitraum.Name = "lblAbrechnungszeitraum"; this.lblAbrechnungszeitraum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(650F, 62F); + this.lblAbrechnungszeitraum.SizeF = new System.Drawing.SizeF(695.8333F, 62F); this.lblAbrechnungszeitraum.StylePriority.UseFont = false; this.lblAbrechnungszeitraum.Text = "Im Zeitraum [AccountingPeriodStart!dd.MM.yyyy] bis [AccountingPeriodEnd!dd.MM.yyy" + "y] wurden ____ Dienstleistungsstunden unmittelbare Betreuungsleistungen des Ambu" + @@ -450,11 +453,11 @@ namespace SKMAachen // // xrLabel15 // - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0.0002066294F, 21.875F); 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(650F, 124.7343F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(695.8333F, 124.7343F); this.xrLabel15.StylePriority.UseFont = false; this.xrLabel15.StylePriority.UseTextAlignment = false; this.xrLabel15.Text = resources.GetString("xrLabel15.Text"); @@ -465,12 +468,12 @@ namespace SKMAachen this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel4, this.xrLabel15}); - this.GroupFooter2.HeightF = 229.1258F; + this.GroupFooter2.HeightF = 247.6877F; this.GroupFooter2.Name = "GroupFooter2"; // // xrLabel4 // - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 188.7091F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 207.271F); this.xrLabel4.Multiline = true; this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -478,6 +481,28 @@ namespace SKMAachen this.xrLabel4.StylePriority.UseFont = false; this.xrLabel4.Text = "Unterschrift und Stempel des Anbieters "; // + // lblDifferenzrechnung1 + // + this.lblDifferenzrechnung1.CanShrink = true; + this.lblDifferenzrechnung1.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F); + this.lblDifferenzrechnung1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 451.2297F); + this.lblDifferenzrechnung1.Multiline = true; + this.lblDifferenzrechnung1.Name = "lblDifferenzrechnung1"; + this.lblDifferenzrechnung1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblDifferenzrechnung1.SizeF = new System.Drawing.SizeF(695.8333F, 18.54166F); + this.lblDifferenzrechnung1.StylePriority.UseFont = false; + // + // lblDifferenzrechnung2 + // + this.lblDifferenzrechnung2.CanShrink = true; + this.lblDifferenzrechnung2.Font = new DevExpress.Drawing.DXFont("Verdana", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblDifferenzrechnung2.LocationFloat = new DevExpress.Utils.PointFloat(0.0002066294F, 469.7714F); + this.lblDifferenzrechnung2.Multiline = true; + this.lblDifferenzrechnung2.Name = "lblDifferenzrechnung2"; + this.lblDifferenzrechnung2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblDifferenzrechnung2.SizeF = new System.Drawing.SizeF(695.8333F, 18.54166F); + this.lblDifferenzrechnung2.StylePriority.UseFont = false; + // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); @@ -500,7 +525,7 @@ namespace SKMAachen this.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.ruleRateFactorNull}); - this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 135.5417F, 125.5471F); + this.Margins = new DevExpress.Drawing.DXMargins(75F, 24F, 135.5417F, 125.5471F); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; @@ -553,5 +578,7 @@ namespace SKMAachen private DevExpress.XtraReports.UI.XRLabel xrLabel5; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel lblDifferenzrechnung1; + private DevExpress.XtraReports.UI.XRLabel lblDifferenzrechnung2; } } diff --git a/ReportImp/SKMAachen/RechnungBeWo67.cs b/ReportImp/SKMAachen/RechnungBeWo67.cs index d164fa04b..0c4c00997 100644 --- a/ReportImp/SKMAachen/RechnungBeWo67.cs +++ b/ReportImp/SKMAachen/RechnungBeWo67.cs @@ -20,6 +20,9 @@ namespace SKMAachen { decimal hourlyRate = 0; decimal hours = 0; + + ServiceInvoiceItemRO bereitsBerechnetesItem = null; + if (pRO.ServiceInvoicePeriods != null && pRO.ServiceInvoicePeriods.Count > 0) { foreach (var p in pRO.ServiceInvoicePeriods) @@ -32,7 +35,8 @@ namespace SKMAachen { if (i.HourlyRate.HasValue) { - hourlyRate = i.HourlyRate.Value; + if (i.HourlyRate.Value >= 0) + hourlyRate = i.HourlyRate.Value; if (!String.IsNullOrEmpty(i.RateFactor)) { @@ -44,7 +48,10 @@ namespace SKMAachen if (i.Hours.HasValue) { - hours += i.Hours.Value; + if (!i.ServiceDescription.Contains("Rechnungsnummer")) + hours += i.Hours.Value; + else + bereitsBerechnetesItem = i; } } } @@ -52,8 +59,13 @@ namespace SKMAachen } lblForderung.Text = - String.Format("Hieraus ergibt sich eine Forderung von {0:0.00} Std. x {1:0.00} EUR = {2:0.00}.", hours, hourlyRate, pRO.NetClaim.Replace("€", "EUR")); - + String.Format("Hieraus ergibt sich eine Forderung von {0:0.00} Std. x {1:0.00} EUR = {2:0.00}.", hours, hourlyRate, string.Format("{0:0.00} EUR", hours * hourlyRate)); + //String.Format("Hieraus ergibt sich eine Forderung von {0:0.00} Std. x {1:0.00} EUR = {2:0.00}.", hours, hourlyRate, pRO.NetClaim.Replace("€", "EUR")); + if (pRO.InvoiceBase.InvoiceTypeText == "Differenzrechnung" && bereitsBerechnetesItem != null) + { + lblDifferenzrechnung1.Text = string.Format("{0}: {1:0.00} Std. x {2:0.00} EUR = {3:0.00} EUR", bereitsBerechnetesItem.ServiceDescription, bereitsBerechnetesItem.Hours, bereitsBerechnetesItem.HourlyRate * -1, Convert.ToDecimal(bereitsBerechnetesItem.GrossAmount.Split(' ')[0]) * -1); + lblDifferenzrechnung2.Text = string.Format("Daraus ergibt sich eine zu zahlende Summe von {0} EUR.", pRO.NetClaim.Replace("€", "")); + } lblAbrechnungszeitraum.Text = String.Format( "Im Zeitraum vom {0:dd.MM.yyyy} bis {1:dd.MM.yyyy} wurden {2:0.00} Dienstleistungsstunden unmittelbare Betreuungsleistungen des Ambulant Betreuten Wohnens erbracht.", diff --git a/ReportImp/SKMAachen/SKMAachen.csproj b/ReportImp/SKMAachen/SKMAachen.csproj index 385bcfc58..91dea4f81 100644 --- a/ReportImp/SKMAachen/SKMAachen.csproj +++ b/ReportImp/SKMAachen/SKMAachen.csproj @@ -93,6 +93,7 @@ RechnungBeWo67.cs + Component diff --git a/ReportImp/SKMAachen/Service/CustomAccountingService.cs b/ReportImp/SKMAachen/Service/CustomAccountingService.cs new file mode 100644 index 000000000..7a2e94676 --- /dev/null +++ b/ReportImp/SKMAachen/Service/CustomAccountingService.cs @@ -0,0 +1,110 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows; +using SKMAachen.Invoicing; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Plugins; +using BS.Shared; +using BS.Shared.DataContracts; +using BS.Shared.Extensions; + +namespace SKMAachen.Service +{ + public class CustomAccountingService : AccountingService + { + protected override ServiceInvoiceDC ErstelleDifferenzRechnung(DifferenzRechnungCheck item) + { + ServiceInvoiceDC diffRechnung = null; + var alterBetrag = item.VorhandeneRechungen.Sum(i => i.ClaimSum ?? 0); + + if (item.NeueRechnung.ClaimSum == alterBetrag) + { + diffRechnung = item.NeueRechnung; + diffRechnung.InvoiceBase.NeuErstellen = false; + diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnung wurde bereits erstellt"); + } + else + { + diffRechnung = new ServiceInvoiceDC(); + diffRechnung.OriginalZurDifferenz = item.NeueRechnung; + diffRechnung.InvoiceBase = new InvoiceBaseDC(); + CopyInvoiceBaseDC(item.NeueRechnung.InvoiceBase, diffRechnung); + + var items = new List(); + // Alte Items negativ setzen und hinzufügen + string rechnungsnummern = string.Join(", ", item.VorhandeneRechungen.Select(r => r.InvoiceBase.InvoiceNumber)); + + foreach (var inv in item.VorhandeneRechungen) + { + foreach (var sip in inv.ServiceInvoicePeriods) + { + foreach (var iitem in sip.InvoiceItems) + { + InvoiceItemDC newDiffItem = new InvoiceItemDC(); + newDiffItem.AmountTotal = iitem.AmountTotal * -1; + newDiffItem.GrossAmountTotal = iitem.GrossAmountTotal * -1; + newDiffItem.AmountPerUnit = iitem.AmountPerUnit * -1; + newDiffItem.ItemDescription = !rechnungsnummern.IsNullOrEmpty() ? "In Rechnungsnummer(n) " + rechnungsnummern + " bereits berechnet wurde" : "Bereits berechnet wurde"; + newDiffItem.ItemPeriodStart = iitem.ItemPeriodStart; + newDiffItem.ItemPeriodEnd = iitem.ItemPeriodEnd; + newDiffItem.UnitCount = iitem.UnitCount; + newDiffItem.UnitDescription = iitem.UnitDescription; + newDiffItem.RateFactor = iitem.RateFactor; + + items.Add(newDiffItem); + } + } + } + // Neue Items hinzufügen zur Gegenüberstellung + foreach (var sip in item.NeueRechnung.ServiceInvoicePeriods) + { + foreach (var iitem in sip.InvoiceItems) + { + InvoiceItemDC newDiffItem = new InvoiceItemDC(); + newDiffItem.AmountTotal = iitem.AmountTotal; + newDiffItem.GrossAmountTotal = iitem.GrossAmountTotal; + newDiffItem.AmountPerUnit = iitem.AmountPerUnit; + newDiffItem.ItemDescription = iitem.ItemDescription; + newDiffItem.ItemPeriodStart = iitem.ItemPeriodStart; + newDiffItem.ItemPeriodEnd = iitem.ItemPeriodEnd; + newDiffItem.RateFactor = iitem.RateFactor; + newDiffItem.UnitCount = iitem.UnitCount; + newDiffItem.UnitDescription = iitem.UnitDescription; + + items.Add(newDiffItem); + } + } + + items = items.OrderBy(i => i.ItemPeriodStart).ThenBy(i => i.GrossAmountTotal).ToList(); + + var newItem = new InvoiceItemDC(); + newItem.ItemPeriodStart = item.NeueRechnung.InvoiceBase.AccountingPeriodStart; + newItem.ItemPeriodEnd = item.NeueRechnung.InvoiceBase.AccountingPeriodEnd; + newItem.UnitCount = 1; + newItem.AmountPerUnit = item.NeueRechnung.ClaimSum - alterBetrag; + newItem.AmountTotal = newItem.AmountPerUnit; + newItem.GrossAmountTotal = newItem.AmountTotal; + newItem.ItemDescription = String.Format("Rechnungsdifferenz zu Rechnung {0} in Höhe von {1:c}", item.VorhandeneRechungen[0].InvoiceBase.InvoiceNumber, alterBetrag); + diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnungsdifferenz zu Rechnung {0} in Höhe von {1:c}", item.VorhandeneRechungen[0].InvoiceBase.InvoiceNumber, alterBetrag); + diffRechnung.InvoiceBase.InvoiceTypeText = "Differenzrechnung"; + + // ServiceInvoicePeriod bekommt den Betrag für die Anzeige zugewiesen, ein neues + var newSip = new ServiceInvoicePeriodDC(); + newSip.Claim = newItem.AmountTotal; + newSip.Start = item.NeueRechnung.InvoiceBase.AccountingPeriodStart; + newSip.End = item.NeueRechnung.InvoiceBase.AccountingPeriodEnd; + diffRechnung.ServiceInvoicePeriods = new List(); + diffRechnung.ServiceInvoicePeriods.Add(newSip); + + newSip.InvoiceItems = new List(); + newSip.InvoiceItems.AddRange(items); + //newSip.InvoiceItems.Add(newItem); + + } + return diffRechnung; + } + } +} \ No newline at end of file diff --git a/ReportImp/SkfmSozialdienstKatholischerFrauenMaenner/Export/DiamantExporter.cs b/ReportImp/SkfmSozialdienstKatholischerFrauenMaenner/Export/DiamantExporter.cs index df0d0ea7f..4d842295e 100644 --- a/ReportImp/SkfmSozialdienstKatholischerFrauenMaenner/Export/DiamantExporter.cs +++ b/ReportImp/SkfmSozialdienstKatholischerFrauenMaenner/Export/DiamantExporter.cs @@ -156,7 +156,7 @@ namespace SKFM.Export StringBuilder sb = new StringBuilder(); String sql; DataTable dt; - sql = GetMonatlicheEigenanteileSql(); + sql = GetMonatlicheAbrechnungLvrSql(); dt = ExecuteQuery(sql, date); string s = GetAbrechnungString(date, customerOid, dt); if (!String.IsNullOrWhiteSpace(s)) @@ -434,8 +434,6 @@ ORDER BY ib.invoicenumber private static String GetMonatlicheAbrechnungLvrSql() { String sql = @" - - SELECT qry.Oid AS OID, 'F', @@ -463,7 +461,6 @@ FROM ( (SELECT ':Abrechnungsmonat' AS Abrechnungsmonat, -':Belegnr' AS Belegnr, c.DebitorNumber as 'DebitorNumber', IF(crpRateFactor.`CostRateValue` is null, ROUND((sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 )), ROUND(ROUND((sr.`GeleisteteFLM` / 60), 2) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ) * ((100 + crpRateFactor.`CostRateValue`)/100), 2)) AS 'Betrag', @@ -483,7 +480,7 @@ LEFT JOIN (SELECT sr2.`CostBearer2SupportConceptOid`, SUM(sr2.`roundedduration` / IF(sr2.`GroupEmployeeCount` is null, 1, sr2.`GroupEmployeeCount`)) AS GeleisteteFLM FROM `servicerecord` sr2 INNER JOIN `servicedescription` sd ON sr2.`ServiceDescriptionOid` = sd.`Oid` INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid` - WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 AND sd.Name <> 'Fehlkontakte' GROUP BY sr2.`CostBearer2SupportConceptOid`) + WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 AND sd.Name <> 'Fehlkontakt' GROUP BY sr2.`CostBearer2SupportConceptOid`) AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid` WHERE c.`IsActive` <> 0 AND sc.`IsActive` <> 0 and (sr.`GeleisteteFLM` is not null) @@ -491,11 +488,7 @@ HAVING Betrag > 0) UNION (SELECT ':Abrechnungsmonat' AS Abrechnungsmonat, -':Belegnr' AS Belegnr, c.DebitorNumber as 'KontoSoll', -'' as 'KostenstelleSoll', -'S86400' as 'KontoHaben', -c.CostCenter as 'KostenstelleHaben', ROUND(0.8 * (sr.`GeleisteteFLM` / 60) * (SELECT crp.`CostRateValue` FROM `costrateperiod` crp WHERE crp.`ObjectTid` = 22 AND crp.`CostRateType` = 0 AND crp.`ObjectOid` = cb2sc.`CostBearerOid` AND (crp.`EndDate` is null or crp.`EndDate` > ':Monat_Start') order by IF(crp.`EndDate` is null, MAKEDATE(9999,365),crp.`EndDate`) LIMIT 1 ),2) AS 'Betrag', CONCAT('Leistungsabrechnung, ', p.`FirstName`, ' ', p.`LastName`) as 'Buchungstext', sc.OID AS OID @@ -513,13 +506,13 @@ LEFT JOIN (SELECT sr2.`CostBearer2SupportConceptOid`, SUM(sr2.`roundedduration` / IF(sr2.`GroupEmployeeCount` is null, 1, sr2.`GroupEmployeeCount`)) AS GeleisteteFLM FROM `servicerecord` sr2 INNER JOIN `servicedescription` sd ON sr2.`ServiceDescriptionOid` = sd.`Oid` INNER JOIN `servicecategory` sc ON sd.`ServiceCategoryOid` = sc.`Oid` - WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 AND sd.Name = 'Fehlkontakte' GROUP BY sr2.`CostBearer2SupportConceptOid`) + WHERE sr2.`StartDate` >= ':Monat_Start' AND sr2.`StartDate` < ':Monat_End' AND sc.`Billable` = 1 AND sd.Name = 'Fehlkontakt' GROUP BY sr2.`CostBearer2SupportConceptOid`) AS sr ON sr.`CostBearer2SupportConceptOid` = cb2sc.`Oid` WHERE c.`IsActive` <> 0 AND sc.`IsActive` <> 0 and (sr.`GeleisteteFLM` is not null) HAVING Betrag > 0)) qry GROUP BY qry.OID -ORDER BY qry.Kontosoll +ORDER BY qry.Buchungstext "; return sql; diff --git a/ReportImp/ZukunftLeben/LeistungsnachweisSoziotherapie.designer.cs b/ReportImp/ZukunftLeben/LeistungsnachweisSoziotherapie.designer.cs index d53bd64cc..78f4c0ab2 100644 --- a/ReportImp/ZukunftLeben/LeistungsnachweisSoziotherapie.designer.cs +++ b/ReportImp/ZukunftLeben/LeistungsnachweisSoziotherapie.designer.cs @@ -47,6 +47,7 @@ namespace ZukunftLeben this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -111,7 +112,6 @@ namespace ZukunftLeben this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldArt = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldGroup = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -267,6 +267,12 @@ namespace ZukunftLeben this.xrTableCell21.Name = "xrTableCell21"; this.xrTableCell21.Weight = 0.24385913106832008D; // + // xrTableCell22 + // + this.xrTableCell22.Multiline = true; + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Weight = 0.24385913106832008D; + // // xrTableCell23 // this.xrTableCell23.Multiline = true; @@ -390,7 +396,7 @@ namespace ZukunftLeben // xrTableCell17 // this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice2")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice3")}); this.xrTableCell17.Name = "xrTableCell17"; this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.xrTableCell17.StylePriority.UsePadding = false; @@ -467,6 +473,8 @@ namespace ZukunftLeben // // xrTableCell18 // + this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); this.xrTableCell18.Name = "xrTableCell18"; this.xrTableCell18.StylePriority.UsePadding = false; this.xrTableCell18.StylePriority.UseTextAlignment = false; @@ -902,12 +910,6 @@ namespace ZukunftLeben this.fieldGroup.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; this.fieldGroup.Name = "fieldGroup"; // - // xrTableCell22 - // - this.xrTableCell22.Multiline = true; - this.xrTableCell22.Name = "xrTableCell22"; - this.xrTableCell22.Weight = 0.24385913106832008D; - // // LeistungsnachweisSoziotherapie // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { diff --git a/ReportImp/ZukunftLeben/SoziotherapieRechnung.Designer.cs b/ReportImp/ZukunftLeben/SoziotherapieRechnung.Designer.cs index 75f58782e..90ac25e80 100644 --- a/ReportImp/ZukunftLeben/SoziotherapieRechnung.Designer.cs +++ b/ReportImp/ZukunftLeben/SoziotherapieRechnung.Designer.cs @@ -51,6 +51,7 @@ namespace ZukunftLeben this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -83,8 +84,9 @@ namespace ZukunftLeben this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); @@ -336,7 +338,7 @@ namespace ZukunftLeben // // lblAdresse // - this.lblAdresse.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.lblAdresse.Font = new DevExpress.Drawing.DXFont("Calibri", 11F); this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.lblAdresse.Multiline = true; this.lblAdresse.Name = "lblAdresse"; @@ -347,6 +349,8 @@ namespace ZukunftLeben // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel15, + this.xrLabel14, this.xrLabel11, this.xrLabel5, this.xrTable4}); @@ -355,6 +359,16 @@ namespace ZukunftLeben this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.StylePriority.UseFont = false; // + // xrLabel11 + // + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Calibri", 9F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(442.0537F, 0F); + 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(208.6615F, 218.2751F); + this.xrLabel11.StylePriority.UseFont = false; + // // xrLabel5 // this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Italic); @@ -788,20 +802,32 @@ namespace ZukunftLeben this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; this.xrTableCell5.Weight = 0.40327538447920763D; // - // xrLabel11 - // - this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Calibri", 9F); - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(442.0537F, 0F); - 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(208.6615F, 218.2751F); - this.xrLabel11.StylePriority.UseFont = false; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); // + // xrLabel15 + // + this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 122.5833F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(175F, 17F); + this.xrLabel15.StylePriority.UseFont = false; + this.xrLabel15.Text = "Mit freundlichen Grüßen"; + // + // xrLabel14 + // + this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CreatorName")}); + this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 197.5833F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(225F, 17F); + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.Text = "[CreatorName]"; + // // SoziotherapieRechnung // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -890,5 +916,7 @@ namespace ZukunftLeben private DevExpress.XtraReports.UI.XRTableCell xrTableCell20; private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; } } diff --git a/Service/Plugins/ServiceRecordValidator.cs b/Service/Plugins/ServiceRecordValidator.cs index 21118846c..4b9284e90 100644 --- a/Service/Plugins/ServiceRecordValidator.cs +++ b/Service/Plugins/ServiceRecordValidator.cs @@ -514,7 +514,15 @@ namespace BeWo.Service.Plugins result.Add(resultdc); } - // 10. Prüfe Fehlkontakte > 2 Std. + // 10. Prüfe Abwesenheit Mitarbeiter + var resultMa = CheckAbwesenheitMitarbeiter(newServiceRecord, reldc, rd, isGroupRecord, result); + + if (resultMa != null) + { + result.Add(resultMa); + } + + // 11. Prüfe Fehlkontakte > 2 Std. if (duration > 120 && (newServiceRecord.ServiceDescription.Name.ToLower().Contains("fehlkontakt") || newServiceRecord.ServiceDescription.Category.Name.ToLower().Contains("fehlkontakt"))) { @@ -549,6 +557,51 @@ namespace BeWo.Service.Plugins return result; } + public virtual ServiceRecordValidationResultDC CheckAbwesenheitMitarbeiter(ServiceRecordDC newServiceRecord, SupportConceptCostBearerRelDC reldc, decimal rd, bool isGroupRecord, List result) + { + var e = DAOFactory.GenericDAO.LoadByID(newServiceRecord.Employee.EmployeeOid); + long? userOid = SecurityUtils.GetLoggedInUser().Oid; + + if (e.AbsenceTimes != null && e.AbsenceTimes.Count > 0) + { + if (e.AbsenceTimes.Any(a => a.AbsenceSpan.StartDate <= newServiceRecord.End.Value && (!a.End.HasValue || a.End >= newServiceRecord.End.Value) + || a.End.Value.Date == newServiceRecord.End.Value.Date)) + { + foreach (var at in e.AbsenceTimes) + { + if (at.Start <= newServiceRecord.Start.Value && (!at.End.HasValue || at.End.Value >= newServiceRecord.Start.Value) // normalerweise + || (at.Start.Value.Date == newServiceRecord.Start.Value.Date // bei weniger als ganztägigen Abwesenheiten, kann es Überschneidung geben + && at.End.Value >= newServiceRecord.Start.Value && newServiceRecord.Start >= at.Start) + || (at.End.Value.Date == newServiceRecord.End.Value.Date // bei weniger als ganztägigen Abwesenheiten, kann es Überschneidung geben + && at.End.Value >= newServiceRecord.End.Value && newServiceRecord.Start <= at.Start)) + { + if (SecurityUtils.GetLoggedInUser().Oid.HasValue && newServiceRecord.Employee.EmployeeOid == SecurityUtils.GetLoggedInUser().Oid.Value) + { + String message = String.Format("Achtung bei Ihnen ist zu diesem Termin eine Abwesenheit eingetragen.\nMöchten Sie trotzdem speichern?"); + return new ServiceRecordValidationResultDC + { + ResultType = ServiceRecordValidationResult.Custom, + Message = message, + Allow = true + }; + } + else + { + String message = String.Format("{0} ist zu diesem Termin abwesend.\nMöchten Sie trotzdem speichern?", e.Person.FirstNameLastName); + return new ServiceRecordValidationResultDC + { + ResultType = ServiceRecordValidationResult.Custom, + Message = message, + Allow = true + }; + } + } + } + } + } + return null; + } + private void CheckArbeitszeitBedingungen(ServiceRecordDC newServiceRecord, DateTime start, decimal duration, List result) { if (!IstArbeitszeit(newServiceRecord.ServiceDescription.Category.Name, newServiceRecord.ServiceDescription.Name)) @@ -655,14 +708,9 @@ namespace BeWo.Service.Plugins } } //var c2s = DAOFactory.GenericDAO.LoadByID(newServiceRecord.CostBearer2SupportConceptOid.Value); - //var customer = c2s.SupportConcept.Customer; - //var absenceTimes = MapperFactory.AbsenceTimeDC_AbsenceTime.MapToNewDCs(customer.AbsenceTimes); - - - Dictionary span2Geleistet = new Dictionary(); foreach (var span in span2MaxHours.Keys) { @@ -673,29 +721,29 @@ namespace BeWo.Service.Plugins } foreach (var sr in allRecords) + { + if (sr.Start.HasValue && sr.End.HasValue) { - if (sr.Start.HasValue && sr.End.HasValue) + foreach (var span in span2MaxHours.Keys) { - foreach (var span in span2MaxHours.Keys) + if (sr.End.Value.Date >= span.StartDateTime && + sr.Start.Value.Date <= span.EndDateTime) { - if (sr.End.Value.Date >= span.StartDateTime && - sr.Start.Value.Date <= span.EndDateTime) + if (sr.ServiceDescription.ServiceCategory.IsBillable) { - if (sr.ServiceDescription.ServiceCategory.IsBillable) + if (!span2Geleistet.ContainsKey(span)) { - if (!span2Geleistet.ContainsKey(span)) - { - span2Geleistet.Add(span, 0); - } - - var duration = sr.RoundedDuration; - - span2Geleistet[span] += duration; + span2Geleistet.Add(span, 0); } + + var duration = sr.RoundedDuration; + + span2Geleistet[span] += duration; } } } } + } foreach (var span in span2MaxHours.Keys) { @@ -724,16 +772,9 @@ namespace BeWo.Service.Plugins Message = message, Allow = true - }; - - + }; } - - - - } - } } }