From 5b65fa0aa1350fe2da72b32af2414a541471c5a4 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 2 Sep 2019 17:17:41 +0200 Subject: [PATCH] CB,Reports --- .../LeistungsnachweisJugendamt.Designer.cs | 20 +- .../LeistungsnachweisJugendamt.cs | 23 + .../ServiceInvoiceReport.Designer.cs | 43 +- .../BeWoFuerDich/SettlementReport.Designer.cs | 2 - ReportImp/BeWoFuerDich/SettlementReport2.cs | 5 + .../SynpraxReports/Properties/licenses.licx | 1 + .../ServicesOverviewReport.Designer.cs | 1197 +++++++++-------- .../SynpraxReports/ServicesOverviewReport.cs | 9 + .../ServicesOverviewReport.Designer.cs | 54 +- .../TrialogReports/ServicesOverviewReport.cs | 22 + .../Service/CustomTimeSheetService.cs | 2 +- 11 files changed, 718 insertions(+), 660 deletions(-) diff --git a/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.Designer.cs b/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.Designer.cs index 92e0c0287..f9b4723d6 100644 --- a/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.Designer.cs +++ b/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.Designer.cs @@ -57,7 +57,7 @@ namespace BeWoFuerDich this.cellSummeFls = new DevExpress.XtraReports.UI.XRTableCell(); this.cellSummeAusfall = new DevExpress.XtraReports.UI.XRTableCell(); this.cellSummeWegezeit = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellSummeGesamt = new DevExpress.XtraReports.UI.XRTableCell(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); @@ -418,7 +418,7 @@ namespace BeWoFuerDich this.cellSummeFls, this.cellSummeAusfall, this.cellSummeWegezeit, - this.xrTableCell25}); + this.cellSummeGesamt}); this.xrTableRow4.Name = "xrTableRow4"; this.xrTableRow4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow4.StylePriority.UseFont = false; @@ -451,13 +451,13 @@ namespace BeWoFuerDich this.cellSummeWegezeit.StylePriority.UsePadding = false; this.cellSummeWegezeit.Weight = 0.14631552357973437D; // - // xrTableCell25 + // cellSummeGesamt // - this.xrTableCell25.Name = "xrTableCell25"; - this.xrTableCell25.StylePriority.UseFont = false; - this.xrTableCell25.StylePriority.UsePadding = false; - this.xrTableCell25.StylePriority.UseTextAlignment = false; - this.xrTableCell25.Weight = 1.1217523211507885D; + this.cellSummeGesamt.Name = "cellSummeGesamt"; + this.cellSummeGesamt.StylePriority.UseFont = false; + this.cellSummeGesamt.StylePriority.UsePadding = false; + this.cellSummeGesamt.StylePriority.UseTextAlignment = false; + this.cellSummeGesamt.Weight = 1.1217523211507885D; // // bindingSource1 // @@ -870,6 +870,8 @@ namespace BeWoFuerDich // // cellAsdBezirk // + this.cellAsdBezirk.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Costbearer")}); this.cellAsdBezirk.Name = "cellAsdBezirk"; this.cellAsdBezirk.Weight = 0.43894654911611386D; // @@ -1268,6 +1270,6 @@ namespace BeWoFuerDich private DevExpress.XtraReports.UI.XRTableCell cellSummeFls; private DevExpress.XtraReports.UI.XRTableCell cellSummeAusfall; private DevExpress.XtraReports.UI.XRTableCell cellSummeWegezeit; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell25; + private DevExpress.XtraReports.UI.XRTableCell cellSummeGesamt; } } diff --git a/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.cs b/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.cs index cb49f44ee..eb08acef9 100644 --- a/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.cs +++ b/ReportImp/BeWoFuerDich/LeistungsnachweisJugendamt.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using BeWo.Report; using BeWo.Report.ReportObjects; +using BS.Shared; namespace BeWoFuerDich { @@ -58,12 +59,34 @@ namespace BeWoFuerDich cellSummeFls.Text = String.Format("{0:0.00}", summeFls / 60); cellSummeAusfall.Text = String.Format("{0:0.00}", summeAusfall / 60); cellSummeWegezeit.Text = String.Format("{0:0.00}", summeWege / 60); + cellSummeGesamt.Text = String.Format("Gesamt: {0:0.00}", (summeWege + summeAusfall + summeWege) / 60); pRO.ApprovedFLSPerMonth = pRO.ApprovedFLSPerWeek * 4.33m; //cellAsdBezirk.Text = pRO.o cellAsdSachb.Text = ""; + if (pRO.CostBearer2SupportConceptList != null && pRO.CostBearer2SupportConceptList.Count > 0) + { + if (pRO.CostBearer2SupportConceptList[0].CostBearerContactPerson != null) + { + String name = ""; + if (pRO.CostBearer2SupportConceptList[0].CostBearerContactPerson.Sex.HasValue) + { + if (pRO.CostBearer2SupportConceptList[0].CostBearerContactPerson.Sex.Value == Sex.Male) + { + name = "Herr "; + } + else + { + name = "Frau "; + } + } + + cellAsdSachb.Text = name + pRO.CostBearer2SupportConceptList[0].CostBearerContactPerson.LastName; + } + } + this.bindingSource1.DataSource = pRO; diff --git a/ReportImp/BeWoFuerDich/ServiceInvoiceReport.Designer.cs b/ReportImp/BeWoFuerDich/ServiceInvoiceReport.Designer.cs index 64eed3b21..8962ca5d6 100644 --- a/ReportImp/BeWoFuerDich/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/BeWoFuerDich/ServiceInvoiceReport.Designer.cs @@ -35,9 +35,9 @@ namespace BeWoFuerDich this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.Page1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.lblAdresse = 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.lblAbrechnungszeitraum = new DevExpress.XtraReports.UI.XRLabel(); @@ -74,7 +74,6 @@ namespace BeWoFuerDich this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); @@ -117,7 +116,6 @@ namespace BeWoFuerDich this.lblAdresse, this.xrLabel4, this.xrLabel3, - this.xrLabel2, this.xrLabel5, this.xrLabel8, this.lblAbrechnungszeitraum}); @@ -126,6 +124,18 @@ namespace BeWoFuerDich this.Page1.Name = "Page1"; this.Page1.StylePriority.UseFont = false; // + // lblAdresse + // + this.lblAdresse.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.lblAdresse.CanGrow = false; + this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.lblAdresse.Multiline = true; + this.lblAdresse.Name = "lblAdresse"; + this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAdresse.SizeF = new System.Drawing.SizeF(413.125F, 163.0208F); + this.lblAdresse.StylePriority.UseBorders = false; + this.lblAdresse.StylePriority.UseFont = false; + // // xrLabel4 // this.xrLabel4.BackColor = System.Drawing.Color.Transparent; @@ -155,20 +165,6 @@ namespace BeWoFuerDich this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [CustomerSalutation] [CustomerName]"; this.xrLabel3.WordWrap = false; // - // xrLabel2 - // - this.xrLabel2.BackColor = System.Drawing.Color.Transparent; - this.xrLabel2.CanShrink = true; - this.xrLabel2.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 163.0208F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 20F); - this.xrLabel2.StylePriority.UseBackColor = false; - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]"; - this.xrLabel2.WordWrap = false; - // // xrLabel5 // this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265.5208F); @@ -622,18 +618,6 @@ namespace BeWoFuerDich // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); // - // lblAdresse - // - this.lblAdresse.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.lblAdresse.CanGrow = false; - this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.lblAdresse.Multiline = true; - this.lblAdresse.Name = "lblAdresse"; - this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.lblAdresse.SizeF = new System.Drawing.SizeF(413.125F, 163.0208F); - this.lblAdresse.StylePriority.UseBorders = false; - this.lblAdresse.StylePriority.UseFont = false; - // // ServiceInvoiceReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -671,7 +655,6 @@ namespace BeWoFuerDich private DevExpress.XtraReports.UI.GroupHeaderBand Page1; private DevExpress.XtraReports.UI.XRLabel xrLabel4; private DevExpress.XtraReports.UI.XRLabel xrLabel3; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; private DevExpress.XtraReports.UI.XRLabel xrLabel5; private DevExpress.XtraReports.UI.XRLabel xrLabel8; private DevExpress.XtraReports.UI.XRLabel lblAbrechnungszeitraum; diff --git a/ReportImp/BeWoFuerDich/SettlementReport.Designer.cs b/ReportImp/BeWoFuerDich/SettlementReport.Designer.cs index 9460476a9..85f7f9953 100644 --- a/ReportImp/BeWoFuerDich/SettlementReport.Designer.cs +++ b/ReportImp/BeWoFuerDich/SettlementReport.Designer.cs @@ -338,7 +338,6 @@ namespace BeWoFuerDich.Alt this.Detail1}); this.DetailReport.DataMember = "InvoiceItems"; this.DetailReport.DataSource = this.bindingSource1; - this.DetailReport.Expanded = false; this.DetailReport.Level = 0; this.DetailReport.Name = "DetailReport"; // @@ -455,7 +454,6 @@ namespace BeWoFuerDich.Alt // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable4}); - this.GroupFooter1.Expanded = false; this.GroupFooter1.Font = new System.Drawing.Font("Verdana", 10F); this.GroupFooter1.HeightF = 120F; this.GroupFooter1.Name = "GroupFooter1"; diff --git a/ReportImp/BeWoFuerDich/SettlementReport2.cs b/ReportImp/BeWoFuerDich/SettlementReport2.cs index d44735344..d81015c31 100644 --- a/ReportImp/BeWoFuerDich/SettlementReport2.cs +++ b/ReportImp/BeWoFuerDich/SettlementReport2.cs @@ -49,6 +49,7 @@ namespace BeWoFuerDich lblNotice.Visible = false; } + decimal gesamtStunden = 0; decimal rateFactor = 1; @@ -61,9 +62,13 @@ namespace BeWoFuerDich rateFactor = (100 + ii.RateFactor.Value) / 100; ii.RateFactor = rateFactor; } + gesamtStunden += ii.UnitCount ?? 0; } pRO.RateFactor = (double)rateFactor; + + lblGesamtStunden.Text = String.Format("{0:0.00}", gesamtStunden); + this.bindingSource1.DataSource = pRO; } diff --git a/ReportImp/SynpraxReports/Properties/licenses.licx b/ReportImp/SynpraxReports/Properties/licenses.licx index e69de29bb..c7fd819d5 100644 --- a/ReportImp/SynpraxReports/Properties/licenses.licx +++ b/ReportImp/SynpraxReports/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/ReportImp/SynpraxReports/ServicesOverviewReport.Designer.cs b/ReportImp/SynpraxReports/ServicesOverviewReport.Designer.cs index 39122198e..9e59626fa 100644 --- a/ReportImp/SynpraxReports/ServicesOverviewReport.Designer.cs +++ b/ReportImp/SynpraxReports/ServicesOverviewReport.Designer.cs @@ -29,624 +29,638 @@ namespace SynpraxReports /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Stundenzettel)); - this.Detail = new DevExpress.XtraReports.UI.DetailBand(); - this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); - this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); - this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); - this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); - this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); - this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); - this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); - this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); - this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); - this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); - // - // Detail - // - this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Stundenzettel)); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); + this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.lblAbwesenheiten = new DevExpress.XtraReports.UI.XRLabel(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTableServiceRecords1}); - this.Detail.Font = new System.Drawing.Font("Calibri", 12F); - this.Detail.HeightF = 30F; - this.Detail.Name = "Detail"; - this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail.StylePriority.UseFont = false; - this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableServiceRecords1 - // - this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.Detail.Font = new System.Drawing.Font("Calibri", 12F); + this.Detail.HeightF = 30F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableServiceRecords1 + // + this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTableServiceRecords1.Name = "xrTableServiceRecords1"; - this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); - this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTableServiceRecords1.Name = "xrTableServiceRecords1"; + this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(697F, 30F); - this.xrTableServiceRecords1.StylePriority.UseBackColor = false; - this.xrTableServiceRecords1.StylePriority.UseBorders = false; - this.xrTableServiceRecords1.StylePriority.UsePadding = false; - this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableRow2 - // - this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(697F, 30F); + this.xrTableServiceRecords1.StylePriority.UseBackColor = false; + this.xrTableServiceRecords1.StylePriority.UseBorders = false; + this.xrTableServiceRecords1.StylePriority.UsePadding = false; + this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell3, this.xrTableCell6, this.xrTableCell4, this.xrTableCell11, this.xrTableCell12}); - this.xrTableRow2.Name = "xrTableRow2"; - this.xrTableRow2.StylePriority.UsePadding = false; - this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableRow2.Weight = 1.5D; - // - // xrTableCell3 - // - this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell3.Name = "xrTableCell3"; - this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell3.StylePriority.UseBorders = false; - this.xrTableCell3.StylePriority.UseFont = false; - this.xrTableCell3.StylePriority.UseTextAlignment = false; - this.xrTableCell3.Text = "Tag"; - this.xrTableCell3.Weight = 0.13705986183593155D; - // - // xrTableCell4 - // - this.xrTableCell4.Name = "xrTableCell4"; - this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell4.StylePriority.UseFont = false; - this.xrTableCell4.StylePriority.UseTextAlignment = false; - this.xrTableCell4.Text = "FLM"; - this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell4.Weight = 0.10660211578046507D; - // - // xrTableCell11 - // - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell11.StylePriority.UseFont = false; - this.xrTableCell11.StylePriority.UseTextAlignment = false; - this.xrTableCell11.Text = "Leistung"; - this.xrTableCell11.Weight = 0.41117959896103651D; - // - // xrTableCell12 - // - this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell12.Name = "xrTableCell12"; - this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell12.StylePriority.UseBackColor = false; - this.xrTableCell12.StylePriority.UseBorders = false; - this.xrTableCell12.StylePriority.UseFont = false; - this.xrTableCell12.StylePriority.UseTextAlignment = false; - this.xrTableCell12.Text = "Mitarbeiter/in Kürzel"; - this.xrTableCell12.Weight = 0.23909332582858356D; - // - // DetailReport - // - this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.StylePriority.UsePadding = false; + this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow2.Weight = 1.5D; + // + // xrTableCell3 + // + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.Text = "Tag"; + this.xrTableCell3.Weight = 0.13705986183593155D; + // + // xrTableCell6 + // + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Text = "von-bis"; + this.xrTableCell6.Weight = 0.16751761156046396D; + // + // xrTableCell4 + // + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "FLM"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell4.Weight = 0.10660211578046507D; + // + // xrTableCell11 + // + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell11.StylePriority.UseFont = false; + this.xrTableCell11.StylePriority.UseTextAlignment = false; + this.xrTableCell11.Text = "Leistung"; + this.xrTableCell11.Weight = 0.41117959896103651D; + // + // xrTableCell12 + // + this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell12.StylePriority.UseBackColor = false; + this.xrTableCell12.StylePriority.UseBorders = false; + this.xrTableCell12.StylePriority.UseFont = false; + this.xrTableCell12.StylePriority.UseTextAlignment = false; + this.xrTableCell12.Text = "Mitarbeiter/in Kürzel"; + this.xrTableCell12.Weight = 0.23909332582858356D; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1, - this.GroupFooter2}); - this.DetailReport.DataMember = "Services"; - this.DetailReport.DataSource = this.bindingSource1; - this.DetailReport.Level = 0; - this.DetailReport.Name = "DetailReport"; - this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // Detail1 - // - this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.GroupFooter2, + this.GroupFooter1}); + this.DetailReport.DataMember = "Services"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable3}); - this.Detail1.Font = new System.Drawing.Font("Calibri", 12F); - this.Detail1.HeightF = 20F; - this.Detail1.Name = "Detail1"; - this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail1.StylePriority.UseFont = false; - this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTable3 - // - this.xrTable3.BorderColor = System.Drawing.Color.Black; - this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.Detail1.Font = new System.Drawing.Font("Calibri", 12F); + this.Detail1.HeightF = 20F; + this.Detail1.Name = "Detail1"; + this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail1.StylePriority.UseFont = false; + this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTable3 + // + this.xrTable3.BorderColor = System.Drawing.Color.Black; + this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrTable3.Name = "xrTable3"; - this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); - this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow6}); - this.xrTable3.SizeF = new System.Drawing.SizeF(697F, 20F); - this.xrTable3.StylePriority.UsePadding = false; - this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableRow6 - // - this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTable3.SizeF = new System.Drawing.SizeF(697F, 20F); + this.xrTable3.StylePriority.UsePadding = false; + this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell13, this.xrTableCell1, this.xrTableCell2, this.xrTableCell5, this.xrTableCell7}); - this.xrTableRow6.Name = "xrTableRow6"; - this.xrTableRow6.StylePriority.UsePadding = false; - this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableRow6.Weight = 1D; - // - // xrTableCell13 - // - this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.StylePriority.UsePadding = false; + this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow6.Weight = 1D; + // + // xrTableCell13 + // + this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yyyy}")}); - this.xrTableCell13.Name = "xrTableCell13"; - this.xrTableCell13.StylePriority.UseBorders = false; - this.xrTableCell13.StylePriority.UseFont = false; - this.xrTableCell13.StylePriority.UsePadding = false; - this.xrTableCell13.StylePriority.UseTextAlignment = false; - this.xrTableCell13.Text = "xrTableCell13"; - this.xrTableCell13.Weight = 0.11363636293879621D; - // - // xrTableCell1 - // - this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.StylePriority.UseBorders = false; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "xrTableCell13"; + this.xrTableCell13.Weight = 0.11363636293879621D; + // + // 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, "Services.TimeRangeString")}); - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.StylePriority.UseBorders = false; - this.xrTableCell1.StylePriority.UsePadding = false; - this.xrTableCell1.Weight = 0.13888887960459875D; - // - // formattingRuleStartDate - // - this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleStartDate.DataMember = "ServicesDouble"; - // - // - // - this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleStartDate.Name = "formattingRuleStartDate"; - // - // DetailReport1 - // - this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UsePadding = false; + this.xrTableCell1.Weight = 0.13888887960459875D; + // + // xrTableCell2 + // + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes")}); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "xrTableCell2"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell2.Weight = 0.08838383855823026D; + // + // xrTableCell5 + // + this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Text = "xrTableCell5"; + this.xrTableCell5.Weight = 0.34090913675338785D; + // + // xrTableCell7 + // + this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.StylePriority.UseBorders = false; + this.xrTableCell7.Text = "xrTableCell7"; + this.xrTableCell7.Weight = 0.19823228719549202D; + // + // GroupFooter2 + // + this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable1}); + this.GroupFooter2.Font = new System.Drawing.Font("Calibri", 12F); + this.GroupFooter2.HeightF = 70F; + this.GroupFooter2.Name = "GroupFooter2"; + this.GroupFooter2.StylePriority.UseFont = false; + // + // xrTable1 + // + this.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.08333F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(697F, 20F); + this.xrTable1.StylePriority.UseBackColor = false; + this.xrTable1.StylePriority.UseBorders = false; + this.xrTable1.StylePriority.UsePadding = false; + this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell8, + this.xrTableCell9, + this.xrTableCell10, + this.xrTableCell15}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.StylePriority.UsePadding = false; + this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow1.Weight = 1D; + // + // xrTableCell8 + // + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell8.StylePriority.UseFont = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "Gesamt"; + this.xrTableCell8.Weight = 0.13705986183593155D; + // + // xrTableCell9 + // + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Weight = 0.16751759994175522D; + // + // xrTableCell10 + // + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable")}); + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.Text = "FLM"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell10.Weight = 0.10660211578046507D; + // + // xrTableCell15 + // + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell15.StylePriority.UseBackColor = false; + this.xrTableCell15.StylePriority.UseFont = false; + this.xrTableCell15.StylePriority.UseTextAlignment = false; + this.xrTableCell15.Weight = 0.65027293640832884D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // formattingRuleStartDate + // + this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleStartDate.DataMember = "ServicesDouble"; + this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleStartDate.Name = "formattingRuleStartDate"; + // + // DetailReport1 + // + this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail2}); - this.DetailReport1.Level = 1; - this.DetailReport1.Name = "DetailReport1"; - this.DetailReport1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.DetailReport1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // Detail2 - // - this.Detail2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + this.DetailReport1.Level = 1; + this.DetailReport1.Name = "DetailReport1"; + this.DetailReport1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail2 + // + this.Detail2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel14, this.xrLabel13, this.xrLabel11, this.xrLabel5, this.xrLabel3, this.xrLabel4}); - this.Detail2.Font = new System.Drawing.Font("Calibri", 12F); - this.Detail2.HeightF = 120.8333F; - this.Detail2.Name = "Detail2"; - this.Detail2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail2.StylePriority.UseFont = false; - this.Detail2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrLabel5 - // - this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 29.87499F); - 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(148.625F, 24F); - this.xrLabel5.StylePriority.UseBorders = false; - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.StylePriority.UseTextAlignment = false; - this.xrLabel5.Text = "Unterschrift Klient/in"; - this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel3 - // - this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(148.6249F, 29.87499F); - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(329.2917F, 23.99998F); - this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrLabel4 - // - this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.83334F); - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(333F, 25F); - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.StylePriority.UseTextAlignment = false; - this.xrLabel4.Text = "Ich versichere die Richtigkeit der o.g. Angaben"; - this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // DetailReport2 - // - this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail2.Font = new System.Drawing.Font("Calibri", 12F); + this.Detail2.HeightF = 120.8333F; + this.Detail2.Name = "Detail2"; + this.Detail2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail2.StylePriority.UseFont = false; + this.Detail2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel14 + // + this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(550.5F, 29.87499F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(136.5F, 23.99998F); + this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel13 + // + this.xrLabel13.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(495.6251F, 29.87499F); + this.xrLabel13.Multiline = true; + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(54.875F, 24F); + this.xrLabel13.StylePriority.UseBorders = false; + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.StylePriority.UseTextAlignment = false; + this.xrLabel13.Text = "Datum"; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel11 + // + this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 53.87497F); + 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(333F, 24F); + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "(ggf. gesetzlicher Betreuer/in)"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel5 + // + this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 29.87499F); + 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(148.625F, 24F); + this.xrLabel5.StylePriority.UseBorders = false; + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "Unterschrift Klient/in"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel3 + // + this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(148.6249F, 29.87499F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(329.2917F, 23.99998F); + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel4 + // + this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.83334F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(333F, 25F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "Ich versichere die Richtigkeit der o.g. Angaben"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // DetailReport2 + // + this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail3}); - this.DetailReport2.DataMember = "AllEmployees"; - this.DetailReport2.DataSource = this.bindingSource1; - this.DetailReport2.Level = 2; - this.DetailReport2.Name = "DetailReport2"; - this.DetailReport2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.DetailReport2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // Detail3 - // - this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.DetailReport2.DataMember = "AllEmployees"; + this.DetailReport2.DataSource = this.bindingSource1; + this.DetailReport2.Level = 2; + this.DetailReport2.Name = "DetailReport2"; + this.DetailReport2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail3 + // + this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel10, this.xrLabel6, this.xrLabel8}); - this.Detail3.Font = new System.Drawing.Font("Calibri", 12F); - this.Detail3.HeightF = 42.00001F; - this.Detail3.Name = "Detail3"; - this.Detail3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail3.StylePriority.UseFont = false; - this.Detail3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrLabel6 - // - this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.Detail3.Font = new System.Drawing.Font("Calibri", 12F); + this.Detail3.HeightF = 42.00001F; + this.Detail3.Name = "Detail3"; + this.Detail3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail3.StylePriority.UseFont = false; + this.Detail3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel7 + // + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(495.6251F, 17.00001F); + this.xrLabel7.Multiline = true; + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(54.875F, 24F); + this.xrLabel7.StylePriority.UseBorders = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UseTextAlignment = false; + this.xrLabel7.Text = "Datum"; + this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel10 + // + this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(550.5F, 17.00001F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(136.5F, 23.99998F); + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel6 + // + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "AllEmployees.EmployeeName")}); - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F); - this.xrLabel6.Name = "xrLabel6"; - this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel6.SizeF = new System.Drawing.SizeF(148.625F, 25F); - this.xrLabel6.StylePriority.UseFont = false; - this.xrLabel6.StylePriority.UseTextAlignment = false; - this.xrLabel6.Text = "xrLabel6"; - this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel8 - // - this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(148.6249F, 12.00002F); - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(329.2917F, 25F); - this.xrLabel8.StylePriority.UseBorders = false; - this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // ReportHeader - // - this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(148.625F, 25F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.Text = "xrLabel6"; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel8 + // + this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(148.6249F, 12.00002F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(329.2917F, 25F); + this.xrLabel8.StylePriority.UseBorders = false; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel12, this.xrLabel2, this.xrLabel1, this.xrLabel9}); - this.ReportHeader.Font = new System.Drawing.Font("Calibri", 12F); - this.ReportHeader.HeightF = 152.5F; - this.ReportHeader.Name = "ReportHeader"; - this.ReportHeader.StylePriority.UseFont = false; - // - // xrLabel1 - // - this.xrLabel1.Font = new System.Drawing.Font("Calibri", 14F); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel1.Multiline = true; - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(650F, 25F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "Quittierungsbeleg (direkte Leistung)"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrLabel9 - // - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 41.33332F); - 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(650F, 25F); - this.xrLabel9.StylePriority.UseFont = false; - this.xrLabel9.StylePriority.UseTextAlignment = false; - this.xrLabel9.Text = "Klient: [CustomerLastName], [CustomerFirstName] [Month] [Year]"; - this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // formattingRuleServiceDesc - // - this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; - // - // - // - this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; - // - // formattingRuleCostBearer - // - this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleCostBearer.DataMember = "ServicesDouble"; - // - // - // - this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; - // - // formattingRuleEmployeeName - // - this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; - this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; - // - // - // - this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; - this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; - // - // topMarginBand1 - // - this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.ReportHeader.Font = new System.Drawing.Font("Calibri", 12F); + this.ReportHeader.HeightF = 152.5F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseFont = false; + // + // xrLabel12 + // + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.33333F); + this.xrLabel12.Multiline = true; + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(650F, 25F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.StylePriority.UseTextAlignment = false; + this.xrLabel12.Text = "[Costbearer]"; + this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel2 + // + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 66.33333F); + 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, 25F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Az.: [ReferenceNumber]"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Calibri", 14F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(650F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "Quittierungsbeleg (direkte Leistung)"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel9 + // + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 41.33332F); + 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(650F, 25F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UseTextAlignment = false; + this.xrLabel9.Text = "Klient: [CustomerLastName], [CustomerFirstName] [Month] [Year]"; + this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // formattingRuleServiceDesc + // + this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; + this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; + // + // formattingRuleCostBearer + // + this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleCostBearer.DataMember = "ServicesDouble"; + this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; + // + // formattingRuleEmployeeName + // + this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; + this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; + // + // topMarginBand1 + // + this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPictureBox1}); - this.topMarginBand1.HeightF = 210F; - this.topMarginBand1.Name = "topMarginBand1"; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.HeightF = 30F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // xrLabel2 - // - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 66.33333F); - 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, 25F); - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.StylePriority.UseTextAlignment = false; - this.xrLabel2.Text = "Az.: [ReferenceNumber]"; - this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrPictureBox1 - // - this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); - this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(453.9584F, 61.45833F); - this.xrPictureBox1.Name = "xrPictureBox1"; - this.xrPictureBox1.SizeF = new System.Drawing.SizeF(239.5834F, 106.25F); - this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - // - // xrLabel12 - // - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.33333F); - this.xrLabel12.Multiline = true; - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(650F, 25F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.StylePriority.UseTextAlignment = false; - this.xrLabel12.Text = "[Costbearer]"; - this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableCell6 - // - this.xrTableCell6.Name = "xrTableCell6"; - this.xrTableCell6.Text = "von-bis"; - this.xrTableCell6.Weight = 0.16751761156046396D; - // - // xrTableCell2 - // - this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes")}); - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "xrTableCell2"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell2.Weight = 0.08838383855823026D; - // - // xrTableCell5 - // - this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); - this.xrTableCell5.Name = "xrTableCell5"; - this.xrTableCell5.Text = "xrTableCell5"; - this.xrTableCell5.Weight = 0.34090913675338785D; - // - // xrTableCell7 - // - this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); - this.xrTableCell7.Name = "xrTableCell7"; - this.xrTableCell7.StylePriority.UseBorders = false; - this.xrTableCell7.Text = "xrTableCell7"; - this.xrTableCell7.Weight = 0.19823228719549202D; - // - // GroupFooter2 - // - this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable1}); - this.GroupFooter2.Font = new System.Drawing.Font("Calibri", 12F); - this.GroupFooter2.HeightF = 86.45834F; - this.GroupFooter2.Name = "GroupFooter2"; - this.GroupFooter2.StylePriority.UseFont = false; - // - // xrTable1 - // - this.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.08333F); - this.xrTable1.Name = "xrTable1"; - this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); - this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow1}); - this.xrTable1.SizeF = new System.Drawing.SizeF(697F, 20F); - this.xrTable1.StylePriority.UseBackColor = false; - this.xrTable1.StylePriority.UseBorders = false; - this.xrTable1.StylePriority.UsePadding = false; - this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableRow1 - // - this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell8, - this.xrTableCell9, - this.xrTableCell10, - this.xrTableCell15}); - this.xrTableRow1.Name = "xrTableRow1"; - this.xrTableRow1.StylePriority.UsePadding = false; - this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableRow1.Weight = 1D; - // - // xrTableCell8 - // - this.xrTableCell8.Name = "xrTableCell8"; - this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell8.StylePriority.UseFont = false; - this.xrTableCell8.StylePriority.UseTextAlignment = false; - this.xrTableCell8.Text = "Gesamt"; - this.xrTableCell8.Weight = 0.13705986183593155D; - // - // xrTableCell9 - // - this.xrTableCell9.Name = "xrTableCell9"; - this.xrTableCell9.Weight = 0.16751759994175522D; - // - // xrTableCell10 - // - this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable")}); - this.xrTableCell10.Name = "xrTableCell10"; - this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell10.StylePriority.UseFont = false; - this.xrTableCell10.StylePriority.UseTextAlignment = false; - this.xrTableCell10.Text = "FLM"; - this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell10.Weight = 0.10660211578046507D; - // - // xrTableCell15 - // - this.xrTableCell15.Name = "xrTableCell15"; - this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell15.StylePriority.UseBackColor = false; - this.xrTableCell15.StylePriority.UseFont = false; - this.xrTableCell15.StylePriority.UseTextAlignment = false; - this.xrTableCell15.Weight = 0.65027293640832884D; - // - // xrLabel11 - // - this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 53.87497F); - 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(333F, 24F); - this.xrLabel11.StylePriority.UseBorders = false; - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "(ggf. gesetzlicher Betreuer/in)"; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel13 - // - this.xrLabel13.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(495.6251F, 29.87499F); - this.xrLabel13.Multiline = true; - this.xrLabel13.Name = "xrLabel13"; - this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(54.875F, 24F); - this.xrLabel13.StylePriority.UseBorders = false; - this.xrLabel13.StylePriority.UseFont = false; - this.xrLabel13.StylePriority.UseTextAlignment = false; - this.xrLabel13.Text = "Datum"; - this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel14 - // - this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(550.5F, 29.87499F); - this.xrLabel14.Name = "xrLabel14"; - this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(136.5F, 23.99998F); - this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrLabel7 - // - this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(495.6251F, 17.00001F); - this.xrLabel7.Multiline = true; - this.xrLabel7.Name = "xrLabel7"; - this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(54.875F, 24F); - this.xrLabel7.StylePriority.UseBorders = false; - this.xrLabel7.StylePriority.UseFont = false; - this.xrLabel7.StylePriority.UseTextAlignment = false; - this.xrLabel7.Text = "Datum"; - this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel10 - // - this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(550.5F, 17.00001F); - this.xrLabel10.Name = "xrLabel10"; - this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(136.5F, 23.99998F); - this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // - // Stundenzettel - // - this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.topMarginBand1.HeightF = 210F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // xrPictureBox1 + // + this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(453.9584F, 61.45833F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(239.5834F, 106.25F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 30F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.lblAbwesenheiten}); + this.GroupFooter1.Font = new System.Drawing.Font("Calibri", 12F); + this.GroupFooter1.HeightF = 60F; + this.GroupFooter1.Level = 1; + this.GroupFooter1.Name = "GroupFooter1"; + this.GroupFooter1.StylePriority.UseFont = false; + // + // lblAbwesenheiten + // + this.lblAbwesenheiten.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.lblAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.lblAbwesenheiten.Multiline = true; + this.lblAbwesenheiten.Name = "lblAbwesenheiten"; + this.lblAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAbwesenheiten.SizeF = new System.Drawing.SizeF(693.5417F, 24F); + this.lblAbwesenheiten.StylePriority.UseBorders = false; + this.lblAbwesenheiten.StylePriority.UseFont = false; + this.lblAbwesenheiten.StylePriority.UseTextAlignment = false; + this.lblAbwesenheiten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // Stundenzettel + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.DetailReport, this.DetailReport1, @@ -654,22 +668,22 @@ namespace SynpraxReports this.ReportHeader, this.topMarginBand1, this.bottomMarginBand1}); - this.DataSource = this.bindingSource1; - this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.DataSource = this.bindingSource1; + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.formattingRuleStartDate, this.formattingRuleServiceDesc, this.formattingRuleCostBearer, this.formattingRuleEmployeeName}); - this.Margins = new System.Drawing.Printing.Margins(80, 50, 210, 30); - this.PageHeight = 1169; - this.PageWidth = 827; - this.PaperKind = System.Drawing.Printing.PaperKind.A4; - this.Version = "13.1"; - ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + this.Margins = new System.Drawing.Printing.Margins(80, 50, 210, 30); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = System.Drawing.Printing.PaperKind.A4; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -726,6 +740,7 @@ namespace SynpraxReports private DevExpress.XtraReports.UI.XRLabel xrLabel11; private DevExpress.XtraReports.UI.XRLabel xrLabel7; private DevExpress.XtraReports.UI.XRLabel xrLabel10; - + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.XRLabel lblAbwesenheiten; } } diff --git a/ReportImp/SynpraxReports/ServicesOverviewReport.cs b/ReportImp/SynpraxReports/ServicesOverviewReport.cs index e31dfdf82..b0d0c049b 100644 --- a/ReportImp/SynpraxReports/ServicesOverviewReport.cs +++ b/ReportImp/SynpraxReports/ServicesOverviewReport.cs @@ -1,3 +1,4 @@ +using System; using BeWo.Report; using BeWo.Report.ReportObjects; @@ -12,6 +13,14 @@ namespace SynpraxReports public void SetReportDataSource(ServicesOverviewRO pRO) { + if (String.IsNullOrEmpty(pRO.AbsenceTimes)) + { + lblAbwesenheiten.Text = "Keine Krankenhausaufenthalte bekannt oder abrechnungsrelevant im Abrechnungszeitraum"; + } + else + { + lblAbwesenheiten.Text = pRO.AbsenceTimes; + } bindingSource1.DataSource = pRO; } } diff --git a/ReportImp/TrialogReports/ServicesOverviewReport.Designer.cs b/ReportImp/TrialogReports/ServicesOverviewReport.Designer.cs index d7f7be97b..8c427736e 100644 --- a/ReportImp/TrialogReports/ServicesOverviewReport.Designer.cs +++ b/ReportImp/TrialogReports/ServicesOverviewReport.Designer.cs @@ -64,6 +64,8 @@ namespace BeWo.TrialogReports this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.lblGfUnterschrift2 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblGfUnterschrift = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); @@ -76,8 +78,6 @@ namespace BeWo.TrialogReports this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldFLSBillable = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -442,8 +442,8 @@ namespace BeWo.TrialogReports // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel15, - this.xrLabel13, + this.lblGfUnterschrift2, + this.lblGfUnterschrift, this.xrLabel12, this.xrLabel11, this.xrLabel10, @@ -457,6 +457,27 @@ namespace BeWo.TrialogReports this.ReportFooter.HeightF = 216.0001F; this.ReportFooter.Name = "ReportFooter"; // + // lblGfUnterschrift2 + // + this.lblGfUnterschrift2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblGfUnterschrift2.Font = new System.Drawing.Font("Arial", 12F); + this.lblGfUnterschrift2.LocationFloat = new DevExpress.Utils.PointFloat(144.0002F, 198F); + this.lblGfUnterschrift2.Name = "lblGfUnterschrift2"; + this.lblGfUnterschrift2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblGfUnterschrift2.SizeF = new System.Drawing.SizeF(188.9999F, 18.0001F); + this.lblGfUnterschrift2.StylePriority.UseBorders = false; + this.lblGfUnterschrift2.StylePriority.UseFont = false; + // + // lblGfUnterschrift + // + this.lblGfUnterschrift.Font = new System.Drawing.Font("Arial", 12F); + this.lblGfUnterschrift.LocationFloat = new DevExpress.Utils.PointFloat(0F, 198F); + this.lblGfUnterschrift.Name = "lblGfUnterschrift"; + this.lblGfUnterschrift.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblGfUnterschrift.SizeF = new System.Drawing.SizeF(144.0002F, 18.00003F); + this.lblGfUnterschrift.StylePriority.UseFont = false; + this.lblGfUnterschrift.Text = "Geschäftsleitung"; + // // xrLabel12 // this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; @@ -583,27 +604,6 @@ namespace BeWo.TrialogReports this.fieldFLSBillable.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; this.fieldFLSBillable.Name = "fieldFLSBillable"; // - // xrLabel13 - // - this.xrLabel13.Font = new System.Drawing.Font("Arial", 12F); - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 198F); - this.xrLabel13.Name = "xrLabel13"; - this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(144.0002F, 18.00003F); - this.xrLabel13.StylePriority.UseFont = false; - this.xrLabel13.Text = "Geschäftsleitung"; - // - // xrLabel15 - // - this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel15.Font = new System.Drawing.Font("Arial", 12F); - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(144.0002F, 198F); - this.xrLabel15.Name = "xrLabel15"; - this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel15.SizeF = new System.Drawing.SizeF(188.9999F, 18.0001F); - this.xrLabel15.StylePriority.UseBorders = false; - this.xrLabel15.StylePriority.UseFont = false; - // // Stundenzettel // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -684,7 +684,7 @@ namespace BeWo.TrialogReports private DevExpress.XtraReports.UI.XRTableCell cellDokHeader; private DevExpress.XtraReports.UI.XRTableCell cellGoal; private DevExpress.XtraReports.UI.XRLabel lblBewilligt; - private DevExpress.XtraReports.UI.XRLabel xrLabel15; - private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRLabel lblGfUnterschrift2; + private DevExpress.XtraReports.UI.XRLabel lblGfUnterschrift; } } diff --git a/ReportImp/TrialogReports/ServicesOverviewReport.cs b/ReportImp/TrialogReports/ServicesOverviewReport.cs index c6c26fa09..b6111b9e1 100644 --- a/ReportImp/TrialogReports/ServicesOverviewReport.cs +++ b/ReportImp/TrialogReports/ServicesOverviewReport.cs @@ -18,6 +18,16 @@ namespace BeWo.TrialogReports public void SetReportDataSource(ServicesOverviewRO pRO) { + bool showGfUnterschrift = false; + + if (!String.IsNullOrWhiteSpace(pRO.Costbearer)) + { + if (pRO.Costbearer.ToLower().Contains("jugendamt düsseldorf") && pRO.Costbearer.ToLower().Contains("weh") && (pRO.Costbearer.ToLower().Contains("27") || pRO.Costbearer.ToLower().Contains("35") || pRO.Costbearer.ToLower().Contains("ass"))) + { + showGfUnterschrift = true; + } + } + bool isJugendamt = !String.IsNullOrWhiteSpace(pRO.Costbearer) && pRO.Costbearer.ToLower().Contains("jugendamt"); if (pRO.Services != null) { @@ -57,6 +67,18 @@ namespace BeWo.TrialogReports BerechneBewilligteStundenProMonat(pRO); } + + if (showGfUnterschrift) + { + // + } + else + { + lblGfUnterschrift.Visible = false; + lblGfUnterschrift2.Visible = false; + + ReportFooter.Height = 180; + } this.bindingSource1.DataSource = pRO; } diff --git a/ReportImp/VkmAachenSbd/Service/CustomTimeSheetService.cs b/ReportImp/VkmAachenSbd/Service/CustomTimeSheetService.cs index 46af82d43..5b0518c83 100644 --- a/ReportImp/VkmAachenSbd/Service/CustomTimeSheetService.cs +++ b/ReportImp/VkmAachenSbd/Service/CustomTimeSheetService.cs @@ -82,7 +82,7 @@ Mit freundlichen Grüßen {BenutzerVorname} {BenutzerNachname} -Teamleitung Schulbegleitender Dienst +Verwaltung Schulbegleitender Dienst