diff --git a/ReportImp/AlzeyTeilhabe/AlzeyTeilhabe.csproj b/ReportImp/AlzeyTeilhabe/AlzeyTeilhabe.csproj index 6b0c7a0a5..9610dbae1 100644 --- a/ReportImp/AlzeyTeilhabe/AlzeyTeilhabe.csproj +++ b/ReportImp/AlzeyTeilhabe/AlzeyTeilhabe.csproj @@ -101,12 +101,6 @@ StundenzettelBi2.cs - - Component - - - StundenzettelBi.cs - Component @@ -170,9 +164,6 @@ StundenzettelBi2.cs - - StundenzettelBi.cs - StundenzettelSoziotherapie.cs diff --git a/ReportImp/AlzeyTeilhabe/CustomReportCreator.cs b/ReportImp/AlzeyTeilhabe/CustomReportCreator.cs index 5aa33255a..2d2f9230a 100644 --- a/ReportImp/AlzeyTeilhabe/CustomReportCreator.cs +++ b/ReportImp/AlzeyTeilhabe/CustomReportCreator.cs @@ -108,7 +108,7 @@ namespace AlzeyTeilhabe } } - if (kt == "Kreisverwaltung Mainz-Bingen") + if (kt == "Kreisverwaltung Mainz-Bingen" && ro.StartDate.Date <= new DateTime(2025, 07, 31)) report = new AlzeyTeilhabe.StundenzettelBi2(); if (report == null && function == "Kostenträger Soziotherapie") diff --git a/ReportImp/AlzeyTeilhabe/Leistungsbestaetigung.cs b/ReportImp/AlzeyTeilhabe/Leistungsbestaetigung.cs index 230b2c429..b9af05146 100644 --- a/ReportImp/AlzeyTeilhabe/Leistungsbestaetigung.cs +++ b/ReportImp/AlzeyTeilhabe/Leistungsbestaetigung.cs @@ -64,8 +64,11 @@ namespace AlzeyTeilhabe } else { - sd.Notice5 = string.Format("{0:0}", sd.Minutes); - summeEinzelleistung += sd.Minutes; + if (!sd.ServiceDescription.ToLower().Contains("wegepauschale")) + { + sd.Notice5 = string.Format("{0:0}", sd.Minutes); + summeEinzelleistung += sd.Minutes; + } } servicesBillable.Add(sd); diff --git a/ReportImp/AlzeyTeilhabe/RechnungPa.cs b/ReportImp/AlzeyTeilhabe/RechnungPa.cs index 7d4dafc30..f1423fb3f 100644 --- a/ReportImp/AlzeyTeilhabe/RechnungPa.cs +++ b/ReportImp/AlzeyTeilhabe/RechnungPa.cs @@ -55,15 +55,7 @@ namespace AlzeyTeilhabe DateTime start = pRO.AccountingPeriodStart; DateTime end = pRO.AccountingPeriodEnd; - var salutation = "Guten Tag " + pRO.RecipientContactPerson + ","; - if (pRO.InvoiceBase != null && pRO.InvoiceBase.RecipientPersonOid.HasValue) - { - var person = DAOFactory.GenericDAO.GetByID(pRO.InvoiceBase.RecipientPersonOid.Value); - if (person != null && person.Sex != null && person.Sex == BS.Shared.Sex.Male) - salutation = "Sehr geehrter Herr " + person.LastName + ","; - else if (person != null && person.Sex != null && person.Sex == BS.Shared.Sex.Female) - salutation = "Sehr geehrte Frau " + person.LastName + ","; - } + var salutation = "Sehr geehrte Damen und Herren,"; if (pRO.CustomerSalutation == "Herr") lblAbrechnungstext.Text = string.Format("{0}\n\nfür die Betreuung unseres Klienten Herr {1}, geboren am {2:dd.MM.yyyy}," + diff --git a/ReportImp/AlzeyTeilhabe/StundenzettelWo.cs b/ReportImp/AlzeyTeilhabe/StundenzettelWo.cs index 840f16bbb..e9af898ec 100644 --- a/ReportImp/AlzeyTeilhabe/StundenzettelWo.cs +++ b/ReportImp/AlzeyTeilhabe/StundenzettelWo.cs @@ -148,7 +148,7 @@ namespace AlzeyTeilhabe { var list = DAOFactory.GenericDAO.GetAllActive(); var wegepauschale = list.FirstOrDefault(s => s.ServiceCategory.Name == "EGH_2025 neuer LRV" && s.Name == "Wegepauschale" || - s.ServiceCategory.Name == "EGH_2025 neuer LVR" && s.Name == "Wegepauschale"); + s.ServiceCategory.Name == "Eingliederungshilfe" && s.Name == "Wegepauschale (WP)"); if (wegepauschale != null && wegepauschale.CostRatePeriods != null && wegepauschale.CostRatePeriods.Count > 0) { var crpList = MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(wegepauschale.CostRatePeriods); diff --git a/ReportImp/KollegiumEv/Service/CustomVacationService.cs b/ReportImp/KollegiumEv/Service/CustomVacationService.cs index 9314d4a2e..5a6bdcf35 100644 --- a/ReportImp/KollegiumEv/Service/CustomVacationService.cs +++ b/ReportImp/KollegiumEv/Service/CustomVacationService.cs @@ -40,7 +40,8 @@ namespace KollegiumEv.Service { var list = base.GetFeiertage(year, bundesland); - list.Add(new FeiertagDC() { Datum = new DateTime(year, 12, 31), Name = "Silvester" }); + if (year >= 2025) + list.Add(new FeiertagDC() { Datum = new DateTime(year, 12, 31), Name = "Silvester" }); return list; } diff --git a/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.Designer.cs b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.Designer.cs new file mode 100644 index 000000000..3b040fde1 --- /dev/null +++ b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.Designer.cs @@ -0,0 +1,716 @@ +using BeWo.Report.ReportObjects; +namespace LebenszentrumKoenigsborn +{ + partial class FLSAuswertung + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel13 = 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(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + 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.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand(); + this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); + this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle(); + this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); + this.DataField = new DevExpress.XtraReports.UI.XRControlStyle(); + this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldGroupFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).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; + // + // xrTableCell1 + // + this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.Name", "{0:dd/MM/yyyy}")}); + this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.StylePriority.UseBorderColor = false; + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.Text = "xrTableCell1"; + this.xrTableCell1.Weight = 6.9183673469387754D; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Weight = 1D; + // + // xrTable1 + // + this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(1017F, 25F); + this.xrTable1.StylePriority.UseBorders = false; + this.xrTable1.StylePriority.UsePadding = false; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel13, + this.xrLabel12, + this.xrLabel11, + this.xrLabel10, + this.xrTable1}); + this.Detail1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); + this.Detail1.HeightF = 92F; + this.Detail1.Name = "Detail1"; + this.Detail1.StylePriority.UseFont = false; + // + // xrLabel13 + // + this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.TotalFLM", "{0:0.##}")}); + this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(110.0001F, 57.99999F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.SizeF = new System.Drawing.SizeF(77.08332F, 25F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.StylePriority.UsePadding = false; + this.xrLabel13.StylePriority.UseTextAlignment = false; + this.xrLabel13.Text = "xrLabel13"; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel12 + // + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 58F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.SizeF = new System.Drawing.SizeF(110F, 25F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.StylePriority.UsePadding = false; + this.xrLabel12.Text = "Minuten gesamt:"; + // + // xrLabel11 + // + this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.fieldGroupFLS", "{0:0.00} FLS")}); + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(265F, 57.99999F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(232.1667F, 25F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "xrLabel11"; + // + // xrLabel10 + // + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(187.0834F, 57.99999F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(70F, 25F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.StylePriority.UseTextAlignment = false; + this.xrLabel10.Text = "entspricht"; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.DetailReport1}); + this.DetailReport.DataMember = "FLSReportGroups"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // DetailReport1 + // + this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail2, + this.DetailReport2, + this.GroupFooter1}); + this.DetailReport1.DataMember = "FLSReportGroups.FLSReportDetails"; + this.DetailReport1.DataSource = this.bindingSource1; + this.DetailReport1.Level = 0; + this.DetailReport1.Name = "DetailReport1"; + // + // Detail2 + // + this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel8, + this.xrLabel9, + this.xrLabel6, + this.xrLabel7, + this.xrTable3}); + this.Detail2.HeightF = 77F; + this.Detail2.KeepTogether = true; + this.Detail2.KeepTogetherWithDetailReports = true; + this.Detail2.Name = "Detail2"; + // + // xrLabel8 + // + this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.fieldFLS", "{0:0.00} FLS")}); + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(265F, 50F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(203F, 25F); + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.Text = "xrLabel8"; + // + // xrLabel9 + // + this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(187.0834F, 50F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(69.99997F, 25F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UseTextAlignment = false; + this.xrLabel9.Text = "entspricht"; + this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel6 + // + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.TotalFLM", "{0:0.##}")}); + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(110.0001F, 50F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.SizeF = new System.Drawing.SizeF(73.99989F, 25F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UsePadding = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.Text = "xrLabel6"; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel7 + // + this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 50F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.SizeF = new System.Drawing.SizeF(110F, 25F); + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UsePadding = false; + this.xrLabel7.Text = "Minuten gesamt:"; + // + // xrTable3 + // + 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, 25F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow3}); + this.xrTable3.SizeF = new System.Drawing.SizeF(1017F, 25F); + this.xrTable3.StylePriority.UseBorders = false; + this.xrTable3.StylePriority.UsePadding = false; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2}); + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 1D; + // + // xrTableCell2 + // + this.xrTableCell2.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.Name", "{0:dd/MM/yyyy}")}); + this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.Text = "xrTableCell2"; + this.xrTableCell2.Weight = 6.9183673469387754D; + // + // DetailReport2 + // + this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail3, + this.GroupHeader1}); + this.DetailReport2.DataMember = "FLSReportGroups.FLSReportDetails.ServiceRecords"; + this.DetailReport2.DataSource = this.bindingSource1; + this.DetailReport2.Level = 0; + this.DetailReport2.Name = "DetailReport2"; + // + // Detail3 + // + this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable4}); + this.Detail3.HeightF = 25F; + this.Detail3.Name = "Detail3"; + // + // xrTable4 + // + this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow4}); + this.xrTable4.SizeF = new System.Drawing.SizeF(1017F, 25F); + this.xrTable4.StylePriority.UseBorders = false; + this.xrTable4.StylePriority.UsePadding = false; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell4, + this.xrTableCell9, + this.xrTableCell10}); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Weight = 1D; + // + // xrTableCell3 + // + this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.ServiceRecords.Start", "{0:dd/MM/yyyy}")}); + this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.Text = "xrTableCell3"; + this.xrTableCell3.Weight = 0.68027210884353728D; + // + // xrTableCell4 + // + this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.ServiceRecords.TimeRange")}); + this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.Text = "xrTableCell4"; + this.xrTableCell4.Weight = 0.68027210884353717D; + // + // xrTableCell9 + // + this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.ServiceRecords.RoundedDuration", "{0:0.##}")}); + this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UsePadding = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "xrTableCell9"; + this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell9.Weight = 0.54761904761904756D; + // + // xrTableCell10 + // + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FLSReportGroups.FLSReportDetails.ServiceRecords.Notice")}); + this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.Text = "xrTableCell10"; + this.xrTableCell10.Weight = 5.0102040816326534D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.GroupHeader1.HeightF = 25F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + // + // xrTable2 + // + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTable2.SizeF = new System.Drawing.SizeF(1017F, 25F); + this.xrTable2.StylePriority.UseBorders = false; + this.xrTable2.StylePriority.UseFont = false; + this.xrTable2.StylePriority.UsePadding = false; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell5, + this.xrTableCell6, + this.xrTableCell7, + this.xrTableCell8}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1D; + // + // xrTableCell5 + // + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Text = "Datum"; + this.xrTableCell5.Weight = 0.68027210884353728D; + // + // xrTableCell6 + // + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Text = "Uhrzeit"; + this.xrTableCell6.Weight = 0.68027210884353717D; + // + // xrTableCell7 + // + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.Text = "Minuten"; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrTableCell7.Weight = 0.54761904761904756D; + // + // xrTableCell8 + // + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Text = "Dokumentation"; + this.xrTableCell8.Weight = 5.0102040816326534D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.FLSReportRO); + // + // GroupFooter1 + // + this.GroupFooter1.HeightF = 0F; + this.GroupFooter1.Name = "GroupFooter1"; + this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel5, + this.xrLabel4, + this.xrLabel3, + this.xrLabel2, + this.xrLabel1}); + this.ReportHeader.HeightF = 50F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel5 + // + this.xrLabel5.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(184F, 25F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(17F, 25F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "-"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel4 + // + this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportEndDate", "{0:dd/MM/yyyy}")}); + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(201F, 25F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(100F, 25F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.Text = "xrLabel4"; + // + // xrLabel3 + // + this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReportStartDate", "{0:dd/MM/yyyy}")}); + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(92F, 25F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(92F, 25F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "xrLabel3"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrLabel2 + // + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(83F, 25F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "Zeitraum:"; + // + // xrLabel1 + // + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.SizeF = new System.Drawing.SizeF(1007F, 25F); + this.xrLabel1.StyleName = "Title"; + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "Auswertung über geleistete Fachleistungsstunden"; + // + // pageFooterBand1 + // + this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPageInfo2, + this.xrPageInfo1}); + this.pageFooterBand1.HeightF = 48F; + this.pageFooterBand1.Name = "pageFooterBand1"; + // + // xrPageInfo2 + // + this.xrPageInfo2.Font = new DevExpress.Drawing.DXFont("Arial", 8F); + this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(517F, 25F); + this.xrPageInfo2.Name = "xrPageInfo2"; + this.xrPageInfo2.SizeF = new System.Drawing.SizeF(497F, 23F); + this.xrPageInfo2.StyleName = "PageInfo"; + this.xrPageInfo2.StylePriority.UseFont = false; + this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrPageInfo2.TextFormatString = "Seite {0} von {1}"; + // + // xrPageInfo1 + // + this.xrPageInfo1.Font = new DevExpress.Drawing.DXFont("Arial", 8F); + this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(8F, 25F); + this.xrPageInfo1.Name = "xrPageInfo1"; + this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; + this.xrPageInfo1.SizeF = new System.Drawing.SizeF(497F, 23F); + this.xrPageInfo1.StyleName = "PageInfo"; + this.xrPageInfo1.StylePriority.UseFont = false; + // + // Title + // + this.Title.BackColor = System.Drawing.Color.White; + this.Title.BorderColor = System.Drawing.SystemColors.ControlText; + this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.Title.BorderWidth = 1F; + this.Title.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F); + this.Title.ForeColor = System.Drawing.Color.Black; + this.Title.Name = "Title"; + // + // FieldCaption + // + this.FieldCaption.BackColor = System.Drawing.Color.White; + this.FieldCaption.BorderColor = System.Drawing.SystemColors.ControlText; + this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.FieldCaption.BorderWidth = 1F; + this.FieldCaption.Font = new DevExpress.Drawing.DXFont("Times New Roman", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.FieldCaption.ForeColor = System.Drawing.Color.Black; + this.FieldCaption.Name = "FieldCaption"; + // + // PageInfo + // + this.PageInfo.BackColor = System.Drawing.Color.White; + this.PageInfo.BorderColor = System.Drawing.SystemColors.ControlText; + this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.PageInfo.BorderWidth = 1F; + this.PageInfo.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F); + this.PageInfo.ForeColor = System.Drawing.Color.Black; + this.PageInfo.Name = "PageInfo"; + // + // DataField + // + this.DataField.BackColor = System.Drawing.Color.White; + this.DataField.BorderColor = System.Drawing.SystemColors.ControlText; + this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.DataField.BorderWidth = 1F; + this.DataField.Font = new DevExpress.Drawing.DXFont("Times New Roman", 8F); + this.DataField.ForeColor = System.Drawing.SystemColors.ControlText; + this.DataField.Name = "DataField"; + // + // fieldFLS + // + this.fieldFLS.DataMember = "FLSReportGroups.FLSReportDetails"; + this.fieldFLS.Expression = "[TotalFLM] / 45\n\n"; + this.fieldFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldFLS.Name = "fieldFLS"; + // + // fieldGroupFLS + // + this.fieldGroupFLS.DataMember = "FLSReportGroups"; + this.fieldGroupFLS.Expression = "[TotalFLM]/45"; + this.fieldGroupFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldGroupFLS.Name = "fieldGroupFLS"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 50F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 50F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // FLSAuswertung + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.DetailReport, + this.ReportHeader, + this.pageFooterBand1, + this.topMarginBand1, + this.bottomMarginBand1}); + this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { + this.fieldFLS, + this.fieldGroupFLS}); + this.DataSource = this.bindingSource1; + this.Landscape = true; + this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 50F, 50F); + this.PageHeight = 827; + this.PageWidth = 1169; + this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; + this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { + this.Title, + this.FieldCaption, + this.PageInfo, + this.DataField}); + this.Version = "23.2"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1; + private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2; + private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1; + private DevExpress.XtraReports.UI.XRControlStyle Title; + private DevExpress.XtraReports.UI.XRControlStyle FieldCaption; + private DevExpress.XtraReports.UI.XRControlStyle PageInfo; + private DevExpress.XtraReports.UI.XRControlStyle DataField; + private DevExpress.XtraReports.UI.XRTable xrTable2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport1; + private DevExpress.XtraReports.UI.DetailBand Detail2; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport2; + private DevExpress.XtraReports.UI.DetailBand Detail3; + private DevExpress.XtraReports.UI.XRTable xrTable4; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.CalculatedField fieldFLS; + private DevExpress.XtraReports.UI.CalculatedField fieldGroupFLS; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + } +} diff --git a/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.cs b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.cs new file mode 100644 index 000000000..ad3654c94 --- /dev/null +++ b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.cs @@ -0,0 +1,43 @@ +using System; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report.ReportObjects; +using BeWo.Report; + +using DevExpress.XtraReports.UI; +using BS.Shared.Core; +namespace LebenszentrumKoenigsborn +{ + [IDSpecificClass(Identifier = "FLSAuswertung")] + public partial class FLSAuswertung : XtraReport, IBeWoReport + { + public FLSAuswertung() + { + InitializeComponent(); + } + + public void SetReportDataSource(FLSReportRO pRO) + { + // Deren FLS sind 45 Minuten für eine Stunde, und da in der normalen Ansicht die Minuten multipliziert werden, + // um den korrekten Wert darzustellen, muss das hier rückgängig gemacht werden, da sonst ein falscher Min-Wert + // angezeigt wird. Nur die Stunden sollen anders sein. + foreach (var group in pRO.FLSReportGroups) + { + group.TotalFLM /= 1.333334m; + foreach (var detail in group.FLSReportDetails) + { + detail.TotalFLM /= 1.333334m; + + foreach (var sr in detail.ServiceRecords) + { + sr.RoundedDuration /= 1.333334m; + } + } + + } + + this.bindingSource1.DataSource = pRO; + } + + } +} diff --git a/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.resx b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.resx new file mode 100644 index 000000000..d58980a38 --- /dev/null +++ b/ReportImp/LebenszentrumKönigsborn/FLSGroupReport.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj index 9f429aefe..fbd0ecb3c 100644 --- a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj +++ b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj @@ -62,6 +62,12 @@ Fachleistungsstundennachweis.cs + + Component + + + FLSGroupReport.cs + @@ -72,6 +78,7 @@ + @@ -95,6 +102,10 @@ Fachleistungsstundennachweis.cs + + FLSGroupReport.cs + Designer + ResXFileCodeGenerator diff --git a/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs b/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs new file mode 100644 index 000000000..3c52a3233 --- /dev/null +++ b/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs @@ -0,0 +1,66 @@ +using BeWo.Service.Plugins; +using BS.Shared.DataContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LebenszentrumKoenigsborn.Service +{ + public class CustomStundenuebersichtAuswertung : StundenuebersichtAuswertung + { + // Die wollen die Stundenübersicht so haben, dass 45 eine Stunde sind. Daher wird die Dauer aller + // ServiceRecords für alle Filtervarianten mit 1.333334 multipliziert, damit in der Ansicht, die nur + // durch 60 teilen kann, der Stundenwert rauskommt, der errechnet werden würde, wenn man durch 45 teilen würde. + + public override List GetEmployeeFLSAnalysisForEmployee(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetEmployeeFLSAnalysisForEmployee(config)); + } + + public override List GetEmployeeFLSAnalysis(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetEmployeeFLSAnalysis(config)); + } + + public override List GetCustomerFLSAnalysisForCustomer(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetCustomerFLSAnalysisForCustomer(config)); + } + + public override List GetCustomerFLSAnalysis(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetCustomerFLSAnalysis(config)); + } + + public override List GetCostBearerFLSAnalysis(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetCostBearerFLSAnalysis(config)); + } + + public override List GetTeamFLSAnalysis(FLSAnalysisConfigDC config) + { + return Auf45MinutenProBetreuungsstundeUmrechnen(base.GetTeamFLSAnalysis(config)); + } + + private List Auf45MinutenProBetreuungsstundeUmrechnen(List root) + { + foreach (var item in root) + { + foreach (var group in item.Groups) + { + foreach (var sc in group.SupportConcepts) + { + foreach (var sr in sc.ServiceRecords) + { + sr.RoundedDuration *= 1.333334m; + } + } + } + } + + return root; + } + } +} diff --git a/ReportImp/MuenchenerAidsHilfeEV/Invoicing/CustomInvoiceCreation.cs b/ReportImp/MuenchenerAidsHilfeEV/Invoicing/CustomInvoiceCreation.cs index b087a34c8..173830b80 100644 --- a/ReportImp/MuenchenerAidsHilfeEV/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/MuenchenerAidsHilfeEV/Invoicing/CustomInvoiceCreation.cs @@ -28,8 +28,34 @@ namespace MuenchenerAidsHilfeEV.Invoicing // invoice.InvoiceBase.InvoiceTypeText = "Sammelrechnung Bezirk"; //} - + public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC supportConcept, List serviceRecords) + { + if (supportConcept.IsApproved) + { + var invoice = new ServiceInvoice(); + var supportConceptList = new List { supportConcept }; + + + SetSenderInformation(invoice); + SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConceptList); + SetSingleInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConcept); + + SetRecipientInformation(invoice, costBearer); + + SetServiceInvoicePeriods(invoice, invoice.InvoiceBase.CostBearer2SupportConcept, invoicePeriod, + serviceRecords); + + SetServiceInvoicePeriodAmounts(invoice); + + // Eigenanteile abziehen + SetAmountEquityContribution(invoice); + + return invoice; + } + + return null; + } public override void SetInvoiceBaseData(int invoiceCounter, ServiceInvoice invoice, CostBearer costBearer, DateTimeSpan invoicePeriod, IList supportConceptList) { diff --git a/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.Designer.cs b/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.Designer.cs index 4b2fa6587..00472b6e2 100644 --- a/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.Designer.cs @@ -95,8 +95,18 @@ namespace MuenchenerAidsHilfeEV this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.ReportFooter2 = new DevExpress.XtraReports.UI.ReportFooterBand(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.rowEigenanteil = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.rowEndbetrag = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).BeginInit(); @@ -106,6 +116,7 @@ namespace MuenchenerAidsHilfeEV ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // @@ -216,6 +227,7 @@ namespace MuenchenerAidsHilfeEV // Page1 // this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, this.xrTable5, this.lblEinrichtungsnummer, this.xrLabel7, @@ -337,7 +349,7 @@ namespace MuenchenerAidsHilfeEV this.lblEinrichtungsnummer.CanShrink = true; this.lblEinrichtungsnummer.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.lblEinrichtungsnummer.LocationFloat = new DevExpress.Utils.PointFloat(0F, 325F); + this.lblEinrichtungsnummer.LocationFloat = new DevExpress.Utils.PointFloat(0F, 337.5F); this.lblEinrichtungsnummer.Multiline = true; this.lblEinrichtungsnummer.Name = "lblEinrichtungsnummer"; this.lblEinrichtungsnummer.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -353,7 +365,7 @@ namespace MuenchenerAidsHilfeEV this.xrLabel7.CanShrink = true; this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 305F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 317.5F); this.xrLabel7.Multiline = true; this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -369,7 +381,7 @@ namespace MuenchenerAidsHilfeEV this.xrLabel2.CanShrink = true; this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 245F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 257.5F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -539,7 +551,7 @@ namespace MuenchenerAidsHilfeEV this.xrLabel4.CanShrink = true; this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 285F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 297.5F); this.xrLabel4.Multiline = true; this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -556,7 +568,7 @@ namespace MuenchenerAidsHilfeEV this.xrLabel3.CanShrink = true; this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 265F); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 277.5F); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 20F); @@ -808,30 +820,144 @@ namespace MuenchenerAidsHilfeEV // ReportFooter2 // this.ReportFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel1, + this.xrTable4, this.xrLabel15}); - this.ReportFooter2.HeightF = 111.4583F; + this.ReportFooter2.HeightF = 139.2501F; this.ReportFooter2.Name = "ReportFooter2"; // - // xrLabel1 + // xrTable4 // - this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim", "Gesamtsumme: {0}")}); - this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { - new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(420.9967F, 0F); - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(255.8333F, 25F); - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UsePadding = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "xrLabel1"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow10, + this.rowEigenanteil, + this.rowEndbetrag}); + this.xrTable4.SizeF = new System.Drawing.SizeF(677F, 60F); + this.xrTable4.StylePriority.UseFont = false; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell6, + this.xrTableCell7}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Weight = 0.800001037599002D; + // + // xrTableCell6 + // + this.xrTableCell6.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell6.StylePriority.UseBorderColor = false; + this.xrTableCell6.StylePriority.UseBorders = false; + this.xrTableCell6.StylePriority.UseFont = false; + this.xrTableCell6.StylePriority.UsePadding = false; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "Gesamtsumme:"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell6.Weight = 2.36096722486632D; + // + // xrTableCell7 + // + this.xrTableCell7.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "GrossClaim")}); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell7.StylePriority.UseBorderColor = false; + this.xrTableCell7.StylePriority.UseBorders = false; + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell7.Weight = 0.63903258078000413D; + // + // rowEigenanteil + // + this.rowEigenanteil.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell9, + this.xrTableCell17}); + this.rowEigenanteil.Name = "rowEigenanteil"; + this.rowEigenanteil.Weight = 0.800001037599002D; + // + // xrTableCell9 + // + this.xrTableCell9.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell9.StylePriority.UseBorderColor = false; + this.xrTableCell9.StylePriority.UseBorders = false; + this.xrTableCell9.StylePriority.UsePadding = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "abzuziehender gezahlter Eigenanteil:"; + this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell9.Weight = 2.36096722486632D; + // + // xrTableCell17 + // + this.xrTableCell17.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountEquityContribution")}); + this.xrTableCell17.Multiline = true; + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell17.StylePriority.UseBorderColor = false; + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UsePadding = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.Text = "xrTableCell17"; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell17.Weight = 0.63903258078000413D; + // + // rowEndbetrag + // + this.rowEndbetrag.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell18, + this.xrTableCell19}); + this.rowEndbetrag.Name = "rowEndbetrag"; + this.rowEndbetrag.Weight = 0.800001037599002D; + // + // xrTableCell18 + // + this.xrTableCell18.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell18.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell18.Multiline = true; + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell18.StylePriority.UseBorderColor = false; + this.xrTableCell18.StylePriority.UseBorders = false; + this.xrTableCell18.StylePriority.UseFont = false; + this.xrTableCell18.StylePriority.UsePadding = false; + this.xrTableCell18.StylePriority.UseTextAlignment = false; + this.xrTableCell18.Text = "Endbetrag:"; + this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell18.Weight = 2.36096722486632D; + // + // xrTableCell19 + // + this.xrTableCell19.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "NetClaim")}); + this.xrTableCell19.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell19.Multiline = true; + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); + this.xrTableCell19.StylePriority.UseBorderColor = false; + this.xrTableCell19.StylePriority.UseBorders = false; + this.xrTableCell19.StylePriority.UseFont = false; + this.xrTableCell19.StylePriority.UsePadding = false; + this.xrTableCell19.StylePriority.UseTextAlignment = false; + this.xrTableCell19.Text = "xrTableCell19"; + this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell19.Weight = 0.63903258078000413D; // // xrLabel15 // - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 51.95827F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.75005F); this.xrLabel15.Multiline = true; this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -839,6 +965,20 @@ namespace MuenchenerAidsHilfeEV this.xrLabel15.StylePriority.UseFont = false; this.xrLabel15.Text = "Zahlung sofort nach Rechnungserhalt ohne Abzug.\r\n\r\nDiese Rechnung wurde maschinel" + "l erstellt und ist ohne Unterschrift gültig."; + // + // xrLabel1 + // + this.xrLabel1.CanShrink = true; + this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Italic); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(333.1252F, 219.1667F); + 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(343.8748F, 38.33331F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "xrLabel1"; // // bindingSource1 // @@ -860,13 +1000,14 @@ namespace MuenchenerAidsHilfeEV new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.ruleRateFactorNull}); - this.Margins = new DevExpress.Drawing.DXMargins(75F, 60F, 91F, 100F); + this.Margins = new DevExpress.Drawing.DXMargins(73F, 60F, 91F, 100F); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; this.Version = "23.2"; xrWatermark1.Id = "Watermark1"; this.Watermarks.Add(xrWatermark1); + this.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.ChangeName); ((System.ComponentModel.ISupportInitialize)(this.xrRichText4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); @@ -875,6 +1016,7 @@ namespace MuenchenerAidsHilfeEV ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); @@ -946,7 +1088,17 @@ namespace MuenchenerAidsHilfeEV private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; private DevExpress.XtraReports.UI.XRTableCell xrTableCell34; private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter2; - private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRTable xrTable4; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableRow rowEigenanteil; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; + private DevExpress.XtraReports.UI.XRTableRow rowEndbetrag; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell19; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; } } diff --git a/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.cs b/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.cs index 7cecad4c1..631426d65 100644 --- a/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.cs +++ b/ReportImp/MuenchenerAidsHilfeEV/ServiceInvoiceReport.cs @@ -1,5 +1,6 @@ using System; using System.Text; +using System.Windows.Forms; using BeWo.Report; using BeWo.Report.ReportObjects; @@ -52,15 +53,15 @@ namespace MuenchenerAidsHilfeEV { lblAbrechnungszeitraum.Text = String.Format("hiermit berechnen wir für den Zeitraum {0:MMMM yyyy} - {1:MMMM yyyy} folgende erbrachte Leistungen:", start, end); } - String einrichtungsnummer = "102106"; + String einrichtungsnummer = "TWG102106"; foreach (var sip in pRO.ServiceInvoicePeriods) { foreach (var item in sip.ServiceInvoiceItems) { - if (item.ServiceDescription == "1:6" || item.ServiceDescription == "1:8" || item.ServiceDescription == "1:10") + if (item.ServiceDescription.Contains("1:6") || item.ServiceDescription.Contains("1:8") || item.ServiceDescription.Contains("1:10")) { - einrichtungsnummer = "102021"; + einrichtungsnummer = "BEW102021"; } } } @@ -72,7 +73,27 @@ namespace MuenchenerAidsHilfeEV pRO.InvoiceDate = String.Format("{0:dd.MM.yyyy}", pRO.InvoiceDateTime); pRO.AccountingPeriodStart = pRO.InvoiceBase.SupportConceptCostBearerRelDc.StartDate.Value; pRO.AccountingPeriodEnd = pRO.InvoiceBase.SupportConceptCostBearerRelDc.EndDate.Value; + + if (pRO.AmountAdvancedPayments == null || pRO.AmountEquityContribution != null && pRO.AmountEquityContribution == "0,00 €") + { + rowEigenanteil.Visible = false; + rowEndbetrag.Visible = false; + } + this.bindingSource1.DataSource = pRO; } + + private void ChangeName(object sender, System.ComponentModel.CancelEventArgs e) + { + var report = sender as XtraReport; + var source = report.DataSource as BindingSource; + var ro = source.DataSource as ServiceInvoiceRO; + + var start = ro.AccountingPeriodStart; + var end = ro.AccountingPeriodEnd; + var klient = ro.CustomerFirstName + ro.CustomerLastName; + + this.DisplayName = String.Format("{0:dd.MM.yy}-{1:dd.MM.yy}_{2}", start, end, klient); + } } } \ No newline at end of file diff --git a/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs b/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs index 40353c2eb..ee3699d9d 100644 --- a/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs @@ -158,8 +158,8 @@ namespace SuchtkrankenhilfeOstfriesland.Invoicing invoiceItem.ItemDescription = desc; invoiceItem.UnitDescription = "Stunde"; } - - } + + } return invoiceItem; } diff --git a/ReportImp/SuchtkrankenhilfeOstfriesland/ServiceInvoiceReport.Designer.cs b/ReportImp/SuchtkrankenhilfeOstfriesland/ServiceInvoiceReport.Designer.cs index bd845e3c3..8025f466a 100644 --- a/ReportImp/SuchtkrankenhilfeOstfriesland/ServiceInvoiceReport.Designer.cs +++ b/ReportImp/SuchtkrankenhilfeOstfriesland/ServiceInvoiceReport.Designer.cs @@ -57,13 +57,6 @@ namespace SuchtkrankenhilfeOstfriesland this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); - this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); - this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); @@ -90,8 +83,9 @@ namespace SuchtkrankenhilfeOstfriesland this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -130,6 +124,7 @@ namespace SuchtkrankenhilfeOstfriesland // Page1 // this.Page1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel6, this.xrLabel7, this.xrLabel4, this.xrLabel3, @@ -372,68 +367,6 @@ namespace SuchtkrankenhilfeOstfriesland this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell5.Weight = 1D; // - // xrLabel15 - // - this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 114.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"; - // - // xrTable4 - // - this.xrTable4.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); - this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.75F); - this.xrTable4.Name = "xrTable4"; - this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { - this.xrTableRow10, - this.xrTableRow14}); - this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 26F); - this.xrTable4.StylePriority.UseFont = false; - // - // xrTableRow10 - // - this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell9}); - this.xrTableRow10.Name = "xrTableRow10"; - this.xrTableRow10.Weight = 0.38095238095238093D; - // - // xrTableCell9 - // - this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); - this.xrTableCell9.Name = "xrTableCell9"; - this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrTableCell9.StylePriority.UsePadding = false; - this.xrTableCell9.Text = "xrTableCell1"; - this.xrTableCell9.Weight = 3D; - // - // xrTableRow14 - // - this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell12}); - this.xrTableRow14.Name = "xrTableRow14"; - this.xrTableRow14.Weight = 0.23809523809523808D; - // - // xrTableCell12 - // - this.xrTableCell12.Name = "xrTableCell12"; - this.xrTableCell12.Weight = 3D; - // - // 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("Verdana", 10F); - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 189.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]"; - // // xrLabel9 // this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Verdana", 10F, DevExpress.Drawing.DXFontStyle.Italic); @@ -768,11 +701,9 @@ namespace SuchtkrankenhilfeOstfriesland // GroupFooter1 // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel10, this.xrLabel1, - this.xrLabel9, - this.xrTable4, - this.xrLabel14, - this.xrLabel15}); + this.xrLabel9}); this.GroupFooter1.HeightF = 206.5833F; this.GroupFooter1.Name = "GroupFooter1"; // @@ -795,6 +726,32 @@ namespace SuchtkrankenhilfeOstfriesland // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO); // + // xrLabel6 + // + this.xrLabel6.BackColor = System.Drawing.Color.Transparent; + this.xrLabel6.CanShrink = true; + this.xrLabel6.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.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 255F); + 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, 20F); + this.xrLabel6.StylePriority.UseBackColor = false; + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = "[DebitorNumber]"; + this.xrLabel6.WordWrap = false; + // + // xrLabel10 + // + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Verdana", 10F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 70.83334F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(676.8332F, 17F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Diese Rechnung wurde maschinell erstellt und ist ohne Unterschrift gültig."; + // // ServiceInvoiceReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -815,7 +772,6 @@ namespace SuchtkrankenhilfeOstfriesland this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; this.Version = "23.2"; ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); @@ -852,13 +808,6 @@ namespace SuchtkrankenhilfeOstfriesland private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; private DevExpress.XtraReports.UI.XRTableRow xrTableRow8; private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; - private DevExpress.XtraReports.UI.XRLabel xrLabel15; - private DevExpress.XtraReports.UI.XRTable xrTable4; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow10; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow14; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; - private DevExpress.XtraReports.UI.XRLabel xrLabel14; private DevExpress.XtraReports.UI.XRLabel xrLabel9; private DevExpress.XtraReports.UI.DetailReportBand DetailReport; private DevExpress.XtraReports.UI.DetailBand Detail1; @@ -885,5 +834,7 @@ namespace SuchtkrankenhilfeOstfriesland private DevExpress.XtraReports.UI.XRLabel xrLabel7; private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; } } diff --git a/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs b/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs index 88c68501c..a9b35da19 100644 --- a/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs +++ b/ReportImp/VkmHamm/ServicesOverviewReport.Designer.cs @@ -36,7 +36,7 @@ namespace VkmHamm this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.lblInhalt = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); @@ -45,33 +45,41 @@ namespace VkmHamm this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox(); this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblStundenWoche = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblStundenGesamt = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel23 = 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.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); - this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); @@ -83,6 +91,7 @@ namespace VkmHamm this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + 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.bindingSource1)).BeginInit(); @@ -107,7 +116,7 @@ namespace VkmHamm this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(675F, 20F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(699F, 40.37501F); this.xrTableServiceRecords1.StylePriority.UseBackColor = false; this.xrTableServiceRecords1.StylePriority.UseFont = false; this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false; @@ -119,13 +128,13 @@ namespace VkmHamm this.xrTableCell3, this.xrTableCell5, this.xrTableCell9, - this.lblInhalt, + this.xrTableCell4, this.xrTableCell1}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow2.StylePriority.UseFont = false; this.xrTableRow2.StylePriority.UseTextAlignment = false; - this.xrTableRow2.Weight = 1.1111092273131862D; + this.xrTableRow2.Weight = 2.2430523884202942D; // // xrTableCell3 // @@ -134,13 +143,14 @@ namespace VkmHamm this.xrTableCell3.StylePriority.UseFont = false; this.xrTableCell3.StylePriority.UseTextAlignment = false; this.xrTableCell3.Text = "Datum"; - this.xrTableCell3.Weight = 0.24385918004234175D; + this.xrTableCell3.Weight = 0.30228378165158276D; // // xrTableCell5 // + this.xrTableCell5.Multiline = true; this.xrTableCell5.Name = "xrTableCell5"; - this.xrTableCell5.Text = "Uhrzeit"; - this.xrTableCell5.Weight = 0.29263101384076406D; + this.xrTableCell5.Text = "Uhrzeit\r\nvon ..... bis"; + this.xrTableCell5.Weight = 0.35956114685646906D; // // xrTableCell9 // @@ -148,26 +158,25 @@ namespace VkmHamm this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.xrTableCell9.StylePriority.UseFont = false; this.xrTableCell9.StylePriority.UseTextAlignment = false; - this.xrTableCell9.Text = "FLM"; - this.xrTableCell9.Weight = 0.19508734683021989D; + this.xrTableCell9.Text = "Anzahl Minuten"; + this.xrTableCell9.Weight = 0.393031513380654D; // - // lblInhalt + // xrTableCell4 // - this.lblInhalt.Name = "lblInhalt"; - this.lblInhalt.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); - this.lblInhalt.StylePriority.UseBackColor = false; - this.lblInhalt.StylePriority.UseFont = false; - this.lblInhalt.StylePriority.UsePadding = false; - this.lblInhalt.StylePriority.UseTextAlignment = false; - this.lblInhalt.Text = "Inhalt"; - this.lblInhalt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.lblInhalt.Weight = 0.53649019872041981D; + this.xrTableCell4.Multiline = true; + 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 = "Inhalt"; + this.xrTableCell4.Weight = 0.52045468706769515D; // // xrTableCell1 // + this.xrTableCell1.Multiline = true; this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Text = "Mitarbeiter"; - this.xrTableCell1.Weight = 0.37798173117985129D; + this.xrTableCell1.Text = "Unterschrift\r\nKlient / in*"; + this.xrTableCell1.Weight = 0.52276231471973267D; // // DetailReport // @@ -184,7 +193,7 @@ namespace VkmHamm // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable3}); - this.Detail1.HeightF = 20F; + this.Detail1.HeightF = 20.00001F; this.Detail1.Name = "Detail1"; this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -201,7 +210,7 @@ namespace VkmHamm this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow6}); - this.xrTable3.SizeF = new System.Drawing.SizeF(675F, 20F); + this.xrTable3.SizeF = new System.Drawing.SizeF(699.0001F, 20F); this.xrTable3.StylePriority.UseFont = false; this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // @@ -211,7 +220,7 @@ namespace VkmHamm this.xrTableCell13, this.xrTableCell6, this.xrTableCell16, - this.xrTableCell17, + this.xrTableCell7, this.xrTableCell2}); this.xrTableRow6.Name = "xrTableRow6"; this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); @@ -229,7 +238,7 @@ namespace VkmHamm this.xrTableCell13.StylePriority.UseTextAlignment = false; this.xrTableCell13.Text = "xrTableCell13"; this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell13.Weight = 0.12626259853214011D; + this.xrTableCell13.Weight = 0.15651301574282184D; // // xrTableCell6 // @@ -239,7 +248,7 @@ namespace VkmHamm this.xrTableCell6.StylePriority.UseTextAlignment = false; this.xrTableCell6.Text = "xrTableCell6"; this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell6.Weight = 0.15151511995699266D; + this.xrTableCell6.Weight = 0.18616944420409443D; // // xrTableCell16 // @@ -251,35 +260,40 @@ namespace VkmHamm this.xrTableCell16.StylePriority.UseTextAlignment = false; this.xrTableCell16.Text = "xrTableCell16"; this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell16.Weight = 0.10101007639529841D; + this.xrTableCell16.Weight = 0.20349934015219581D; // - // xrTableCell17 + // xrTableCell7 // - this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")}); - this.xrTableCell17.Multiline = true; - this.xrTableCell17.Name = "xrTableCell17"; - this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); - this.xrTableCell17.StylePriority.UseFont = false; - this.xrTableCell17.StylePriority.UsePadding = false; - this.xrTableCell17.StylePriority.UseTextAlignment = false; - this.xrTableCell17.Text = "xrTableCell17"; - this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - this.xrTableCell17.Weight = 0.277777694277661D; + this.xrTableCell7.Multiline = true; + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell7.Weight = 0.269475021628532D; // // xrTableCell2 // - this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); + this.xrTableCell2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.picSignature}); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "xrTableCell2"; this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell2.Weight = 0.19570704439348488D; + this.xrTableCell2.Weight = 0.27066996313467823D; // - // bindingSource1 + // picSignature // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "Services.SignatureImage")}); + this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(7.374756F, 0F); + this.picSignature.Name = "picSignature"; + this.picSignature.SizeF = new System.Drawing.SizeF(156.7886F, 20.00001F); + this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.picSignature.StylePriority.UseBorders = false; + this.picSignature.BeforePrint += new DevExpress.XtraReports.UI.BeforePrintEventHandler(this.picSignature_BeforePrint); // // formattingRuleStartDate // @@ -291,99 +305,284 @@ namespace VkmHamm // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel23, + this.xrLabel24, + this.xrLabel21, + this.xrLabel20, + this.xrLabel17, + this.lblStundenWoche, + this.xrLabel18, + this.xrLabel19, + this.lblStundenGesamt, + this.xrLabel16, + this.xrLabel9, this.xrLabel13, this.xrLabel28, - this.xrLabel25, this.xrLabel34, this.xrLabel30, this.xrLabel10, this.xrLabel12, this.xrLabel1, - this.xrLabel22, - this.xrLabel23}); + this.xrLabel22}); this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.ReportHeader.HeightF = 240F; this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.StylePriority.UseFont = false; // + // xrLabel23 + // + this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(170F, 199.5F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(63F, 18F); + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.Text = "Jahr:"; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel24 + // + this.xrLabel24.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel24.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Year")}); + this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(233F, 199.5F); + this.xrLabel24.Name = "xrLabel24"; + this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel24.SizeF = new System.Drawing.SizeF(96.41638F, 18F); + this.xrLabel24.StylePriority.UseBorderDashStyle = false; + this.xrLabel24.StylePriority.UseBorders = false; + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.StylePriority.UseTextAlignment = false; + this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel21 + // + this.xrLabel21.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Month")}); + this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(63.00003F, 199.5F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(97.9166F, 18F); + this.xrLabel21.StylePriority.UseBorderDashStyle = false; + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel20 + // + this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0F, 199.5F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(63F, 18F); + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "Monat:"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel17 + // + this.xrLabel17.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dot; + this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(451.7499F, 134F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 1, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(151.3332F, 18F); + this.xrLabel17.StylePriority.UseBorderDashStyle = false; + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Stunden"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // lblStundenWoche + // + this.lblStundenWoche.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.lblStundenWoche.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblStundenWoche.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek")}); + this.lblStundenWoche.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblStundenWoche.LocationFloat = new DevExpress.Utils.PointFloat(392.6665F, 134F); + this.lblStundenWoche.Name = "lblStundenWoche"; + this.lblStundenWoche.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblStundenWoche.SizeF = new System.Drawing.SizeF(59.08344F, 18F); + this.lblStundenWoche.StylePriority.UseBorderDashStyle = false; + this.lblStundenWoche.StylePriority.UseBorders = false; + this.lblStundenWoche.StylePriority.UseFont = false; + this.lblStundenWoche.StylePriority.UseTextAlignment = false; + this.lblStundenWoche.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.lblStundenWoche.TextFormatString = "/ {0:0.00}"; + // + // xrLabel18 + // + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 164.5F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "Verantwortliche Mitarbeiter / in"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel19 + // + this.xrLabel19.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); + this.xrLabel19.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 164.5F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel19.StylePriority.UseBorderDashStyle = false; + this.xrLabel19.StylePriority.UseBorders = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // lblStundenGesamt + // + this.lblStundenGesamt.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.lblStundenGesamt.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.lblStundenGesamt.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSTotal")}); + this.lblStundenGesamt.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.lblStundenGesamt.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 134F); + this.lblStundenGesamt.Name = "lblStundenGesamt"; + this.lblStundenGesamt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblStundenGesamt.SizeF = new System.Drawing.SizeF(63.25009F, 18F); + this.lblStundenGesamt.StylePriority.UseBorderDashStyle = false; + this.lblStundenGesamt.StylePriority.UseBorders = false; + this.lblStundenGesamt.StylePriority.UseFont = false; + this.lblStundenGesamt.StylePriority.UseTextAlignment = false; + this.lblStundenGesamt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.lblStundenGesamt.TextFormatString = "{0:0.00}"; + // + // xrLabel16 + // + this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 134F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(329.4164F, 18F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.Text = "Bewilligte Fachleistungsstunden / wöchentlich"; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + // + // xrLabel9 + // + this.xrLabel9.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(146.4581F, 37.91666F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(456.625F, 18F); + this.xrLabel9.StylePriority.UseBorderDashStyle = false; + this.xrLabel9.StylePriority.UseBorders = false; + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UseTextAlignment = false; + this.xrLabel9.Text = "Verein für körper- und mehrfachbehinderte Menschen Hamm e.V."; + this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel13 // - this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(2F, 40F); + this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(75.12487F, 37.91666F); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(674.9997F, 18F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(71.33327F, 18F); this.xrLabel13.StylePriority.UseFont = false; this.xrLabel13.StylePriority.UseTextAlignment = false; - this.xrLabel13.Text = "Anbieter: Verein für körper- und mehrfachbehinderte Menschen Hamm e.V."; - this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrLabel13.Text = "Anbieter: "; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel28 // + this.xrLabel28.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerLastName")}); this.xrLabel28.Font = new DevExpress.Drawing.DXFont("Arial", 11F); - this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(142.0001F, 79.99998F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 79.99995F); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel28.SizeF = new System.Drawing.SizeF(377.9999F, 18F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel28.StylePriority.UseBorderDashStyle = false; this.xrLabel28.StylePriority.UseBorders = false; this.xrLabel28.StylePriority.UseFont = false; - // - // xrLabel25 - // - this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(75.12487F, 200F); - this.xrLabel25.Name = "xrLabel25"; - this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel25.SizeF = new System.Drawing.SizeF(185.7498F, 18F); - this.xrLabel25.StylePriority.UseBorders = false; - this.xrLabel25.StylePriority.UseFont = false; - this.xrLabel25.Text = "[Month] [Year]"; + this.xrLabel28.StylePriority.UseTextAlignment = false; + this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel34 // + this.xrLabel34.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel34.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); this.xrLabel34.Font = new DevExpress.Drawing.DXFont("Arial", 11F); - this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(142.0001F, 160F); + this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 116F); this.xrLabel34.Name = "xrLabel34"; this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel34.SizeF = new System.Drawing.SizeF(377.9999F, 18F); + this.xrLabel34.SizeF = new System.Drawing.SizeF(273.6668F, 18F); + this.xrLabel34.StylePriority.UseBorderDashStyle = false; this.xrLabel34.StylePriority.UseBorders = false; this.xrLabel34.StylePriority.UseFont = false; + this.xrLabel34.StylePriority.UseTextAlignment = false; + this.xrLabel34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel30 // + this.xrLabel30.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel30.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerFirstName")}); this.xrLabel30.Font = new DevExpress.Drawing.DXFont("Arial", 11F); - this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(142.0001F, 120F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 97.99995F); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel30.SizeF = new System.Drawing.SizeF(377.9999F, 18F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(273.6667F, 18F); + this.xrLabel30.StylePriority.UseBorderDashStyle = false; this.xrLabel30.StylePriority.UseBorders = false; this.xrLabel30.StylePriority.UseFont = false; + this.xrLabel30.StylePriority.UseTextAlignment = false; + this.xrLabel30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel10 // - this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F); + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.99998F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(141.125F, 18F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(329.4164F, 18F); this.xrLabel10.StylePriority.UseFont = false; - this.xrLabel10.Text = "Aktenzeichen:"; + this.xrLabel10.StylePriority.UseTextAlignment = false; + this.xrLabel10.Text = "Vorname Klient / in"; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel12 // - this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.99998F); + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.99995F); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(141.125F, 18F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(329.4164F, 18F); this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "Klient:"; + this.xrLabel12.StylePriority.UseTextAlignment = false; + this.xrLabel12.Text = "Name Klient / in"; + this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel1 // @@ -400,23 +599,15 @@ namespace VkmHamm // // xrLabel22 // - this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 160F); + this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 116F); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel22.SizeF = new System.Drawing.SizeF(141.125F, 18F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(329.4164F, 18F); this.xrLabel22.StylePriority.UseFont = false; - this.xrLabel22.Text = "Bezugsbetreuer:"; - // - // xrLabel23 - // - this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(0F, 200F); - this.xrLabel23.Name = "xrLabel23"; - this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel23.SizeF = new System.Drawing.SizeF(62.99998F, 18F); - this.xrLabel23.StylePriority.UseFont = false; - this.xrLabel23.Text = "Monat:"; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "Aktenzeichen Landschaftsverband"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // formattingRuleServiceDesc // @@ -454,12 +645,11 @@ namespace VkmHamm // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel15, - this.xrLabel14, - this.xrLabel11, - this.xrLabel8, this.xrLabel5, + this.xrPictureBox2, + this.xrPictureBox1, this.xrLabel2, + this.xrLabel11, this.xrLabel7, this.xrLabel6, this.xrLabel3, @@ -469,114 +659,131 @@ namespace VkmHamm this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.StylePriority.UseFont = false; // - // xrLabel15 - // - this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(63F, 140.5F); - this.xrLabel15.Name = "xrLabel15"; - this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel15.SizeF = new System.Drawing.SizeF(97.91662F, 17.99997F); - this.xrLabel15.StylePriority.UseBorders = false; - this.xrLabel15.StylePriority.UseFont = false; - // - // xrLabel14 - // - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 140.5001F); - this.xrLabel14.Name = "xrLabel14"; - this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(52.99999F, 17.99997F); - this.xrLabel14.StylePriority.UseBorders = false; - this.xrLabel14.StylePriority.UseFont = false; - this.xrLabel14.StylePriority.UseTextAlignment = false; - this.xrLabel14.Text = "Datum:"; - this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; - // - // xrLabel11 - // - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(183.5417F, 91.75002F); - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(145.8747F, 17.99997F); - this.xrLabel11.StylePriority.UseBorders = false; - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "Unterschrift Klient/in:"; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; - // - // xrLabel8 - // - this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(62.99998F, 91.75002F); - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(97.91663F, 17.99997F); - this.xrLabel8.StylePriority.UseBorders = false; - this.xrLabel8.StylePriority.UseFont = false; - // // xrLabel5 // - this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(329.4164F, 91.75002F); + this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate")}); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.75F); + 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(266.4167F, 17.99997F); - this.xrLabel5.StylePriority.UseBorders = false; - this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.SizeF = new System.Drawing.SizeF(123.9583F, 23F); + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "xrLabel5"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.xrLabel5.TextFormatString = "{0:dd.MM.yyyy}"; + // + // xrPictureBox2 + // + this.xrPictureBox2.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "CustomerSignature")}); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(172.8335F, 39.75003F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(219.833F, 51.99998F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox2.StylePriority.UseBorderDashStyle = false; + // + // xrPictureBox1 + // + this.xrPictureBox1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "EmployeeSignature")}); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(458.3337F, 39.75003F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(238.6663F, 51.99998F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox1.StylePriority.UseBorderDashStyle = false; // // xrLabel2 // - this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(389.8331F, 140.5F); + this.xrLabel2.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dot; + this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 128.2083F); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(268.4166F, 17.99994F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(677.0001F, 40.29167F); + this.xrLabel2.StylePriority.UseBorderDashStyle = false; this.xrLabel2.StylePriority.UseBorders = false; this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "*Betreuungskontakte können zeitnah einzeln (in der jeweiligen Zeile) oder gesamme" + + "lt am Ende des Monats quittiert werden."; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel11 + // + this.xrLabel11.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel11.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(172.8335F, 91.75002F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(219.833F, 17.99997F); + this.xrLabel11.StylePriority.UseBorderDashStyle = false; + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "Unterschrift Klient/in"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel7 // - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(9.99999F, 91.75002F); + this.xrLabel7.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 91.75002F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(52.99999F, 17.99997F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(123.9583F, 17.99997F); + this.xrLabel7.StylePriority.UseBorderDashStyle = false; this.xrLabel7.StylePriority.UseBorders = false; this.xrLabel7.StylePriority.UseFont = false; this.xrLabel7.StylePriority.UseTextAlignment = false; - this.xrLabel7.Text = "Datum:"; + this.xrLabel7.Text = "Datum"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel6 // - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(183.5417F, 140.5F); + this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 11F); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(458.3337F, 91.75002F); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel6.SizeF = new System.Drawing.SizeF(206.2913F, 17.99995F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(240.6663F, 17.99995F); + this.xrLabel6.StylePriority.UseBorderDashStyle = false; this.xrLabel6.StylePriority.UseBorders = false; this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UseTextAlignment = false; - this.xrLabel6.Text = "Unterschrift Bezugsbetreuer/in:"; + this.xrLabel6.Text = "Unterschrift Bezugsbetreuer/in"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; // // xrLabel3 // - this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 0F); + this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(153.5836F, 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(210F, 48.20836F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(66.91644F, 26.33336F); + this.xrLabel3.StylePriority.UseBorders = false; this.xrLabel3.StylePriority.UseFont = false; this.xrLabel3.StylePriority.UseTextAlignment = false; - this.xrLabel3.Text = "Gesamt:"; - this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrLabel3.Text = "Summe"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel4 // - this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(220F, 0F); + this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(220.5F, 0F); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(79.99997F, 48.20836F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(130.9422F, 26.33336F); this.xrLabel4.StylePriority.UseBorders = false; this.xrLabel4.StylePriority.UseBorderWidth = false; this.xrLabel4.StylePriority.UseFont = false; @@ -628,11 +835,15 @@ namespace VkmHamm this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTableServiceRecords1}); this.GroupHeader1.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Bold); - this.GroupHeader1.HeightF = 20F; + this.GroupHeader1.HeightF = 40.37501F; this.GroupHeader1.Name = "GroupHeader1"; this.GroupHeader1.RepeatEveryPage = true; this.GroupHeader1.StylePriority.UseFont = false; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // // Stundenzettel // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -656,7 +867,7 @@ namespace VkmHamm this.formattingRuleServiceDesc, this.formattingRuleCostBearer, this.formattingRuleEmployeeName}); - this.Margins = new DevExpress.Drawing.DXMargins(75F, 75F, 99F, 36.41669F); + this.Margins = new DevExpress.Drawing.DXMargins(75F, 43F, 99F, 36.41669F); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; @@ -680,13 +891,11 @@ namespace VkmHamm private DevExpress.XtraReports.UI.XRTable xrTable3; private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; private DevExpress.XtraReports.UI.XRTableCell xrTableCell16; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1; private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; - private DevExpress.XtraReports.UI.XRTableCell lblInhalt; private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate; private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc; @@ -704,14 +913,12 @@ namespace VkmHamm private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; private DevExpress.XtraReports.UI.CalculatedField customerCountField; private DevExpress.XtraReports.UI.XRLabel xrLabel28; - private DevExpress.XtraReports.UI.XRLabel xrLabel25; private DevExpress.XtraReports.UI.XRLabel xrLabel34; private DevExpress.XtraReports.UI.XRLabel xrLabel30; private DevExpress.XtraReports.UI.XRLabel xrLabel10; private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRLabel xrLabel22; - private DevExpress.XtraReports.UI.XRLabel xrLabel23; private DevExpress.XtraReports.UI.XRLabel xrLabel7; private DevExpress.XtraReports.UI.XRLabel xrLabel6; private DevExpress.XtraReports.UI.XRLabel xrLabel3; @@ -719,12 +926,25 @@ namespace VkmHamm private DevExpress.XtraReports.UI.XRLabel xrLabel13; private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS; private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; - private DevExpress.XtraReports.UI.XRLabel xrLabel5; private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; - private DevExpress.XtraReports.UI.XRLabel xrLabel8; private DevExpress.XtraReports.UI.XRLabel xrLabel11; - private DevExpress.XtraReports.UI.XRLabel xrLabel14; - private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel lblStundenGesamt; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.XRLabel lblStundenWoche; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; + private DevExpress.XtraReports.UI.XRPictureBox picSignature; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; } } diff --git a/ReportImp/VkmHamm/ServicesOverviewReport.cs b/ReportImp/VkmHamm/ServicesOverviewReport.cs index 6c95cdd65..8d7114a76 100644 --- a/ReportImp/VkmHamm/ServicesOverviewReport.cs +++ b/ReportImp/VkmHamm/ServicesOverviewReport.cs @@ -1,8 +1,12 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; +using System.Text.RegularExpressions; using BeWo.Report; using BeWo.Report.ReportObjects; +using BS.Shared.Core; +using DevExpress.XtraReports.UI; namespace VkmHamm { @@ -41,16 +45,40 @@ namespace VkmHamm pRO.Services = servicesBillable; - if (!pRO.Services.Any(s => s.ServiceCategory != "Ziele u. Maßnahmen")) - lblInhalt.Text = "Ziele u. Maßnahmen"; - else if (!pRO.Services.Any(s => s.ServiceCategory != "Informationen")) - lblInhalt.Text = "Informationen"; + //if (!pRO.Services.Any(s => s.ServiceCategory != "Ziele u. Maßnahmen")) + // lblInhalt.Text = "Ziele u. Maßnahmen"; + //else if (!pRO.Services.Any(s => s.ServiceCategory != "Informationen")) + // lblInhalt.Text = "Informationen"; } this.bindingSource1.DataSource = pRO; } + private void picSignature_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e) + { + XRPictureBox xrBox = sender as XRPictureBox; + //var test = this.GetCurrent + string base64String = xrBox.Tag as string; + if (!String.IsNullOrWhiteSpace(base64String)) + { + var base64Data = Regex.Match(base64String, @"data:image/(?.+?),(?.+)").Groups["data"].Value; + var binData = Convert.FromBase64String(base64Data); + System.Drawing.Image img = ByteArrayToImage(binData); + xrBox.Image = Utils.CropImage(img); + } + else + { + xrBox.Image = null; + } + } + public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn) + { + using (var memoryStream = new MemoryStream(byteArrayIn)) + { + return System.Drawing.Image.FromStream(memoryStream); + } + } } }