From 362c28abeb23d7d5be2be6bd52d3e4a891391b21 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 12 Sep 2023 09:23:20 +0200 Subject: [PATCH] MH: Mobile 2. Taetigkeitsnachweis--Version --- ReportImp/MobileEV/CustomReportCreator.cs | 341 +++---- ReportImp/MobileEV/MobileEV.csproj | 10 + .../MobileEV/Taetigkeitsnachweis.Designer.cs | 4 +- .../TaetigkeitsnachweisAbSept2023.Designer.cs | 901 ++++++++++++++++++ .../MobileEV/TaetigkeitsnachweisAbSept2023.cs | 83 ++ .../TaetigkeitsnachweisAbSept2023.resx | 123 +++ 6 files changed, 1291 insertions(+), 171 deletions(-) create mode 100644 ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.Designer.cs create mode 100644 ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.cs create mode 100644 ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.resx diff --git a/ReportImp/MobileEV/CustomReportCreator.cs b/ReportImp/MobileEV/CustomReportCreator.cs index 44356d4fb..62e0454e1 100644 --- a/ReportImp/MobileEV/CustomReportCreator.cs +++ b/ReportImp/MobileEV/CustomReportCreator.cs @@ -1,174 +1,177 @@ -using BeWo.Data.Access; -using BeWo.Data.Entities; -using BeWo.Report; -using BeWo.Report.ReportObjects; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report; +using BeWo.Report.ReportObjects; using BeWo.Service.DCEntityMapper; using BS.Shared.DataContracts; -using DevExpress.XtraReports.UI; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MobileEV -{ - public class CustomReportCreator : DefaultReportCreator +using DevExpress.XtraReports.UI; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MobileEV +{ + public class CustomReportCreator : DefaultReportCreator { - public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid) - { - long result; - Settlement2DC lSettlementDC; - string cbName; - if (invoiceBaseOid.HasValue && invoiceBaseOid.Value > 0) - { - long invoiceOid = invoiceBaseOid.Value; - var ib = DAOFactory.GenericDAO.LoadByID(invoiceOid); - cbName = ib.CostBearer2SupportConcept.CostBearer.Organisation.Name; - } - else - { - Int64.TryParse(dcId, out result); - lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.GenericDAO.LoadByID(result)); - cbName = lSettlementDC.RecipientOrganisation; + public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid) + { + long result; + Settlement2DC lSettlementDC; + string cbName; + if (invoiceBaseOid.HasValue && invoiceBaseOid.Value > 0) + { + long invoiceOid = invoiceBaseOid.Value; + var ib = DAOFactory.GenericDAO.LoadByID(invoiceOid); + cbName = ib.CostBearer2SupportConcept.CostBearer.Organisation.Name; + } + else + { + Int64.TryParse(dcId, out result); + lSettlementDC = MapperFactory.SettlementDC_SettlementInvoice.MapToNewDC(DAOFactory.GenericDAO.LoadByID(result)); + cbName = lSettlementDC.RecipientOrganisation; } - if (cbName.Contains("Landschaftsverband Westfalen-Lippe") || cbName == "LWL") - return base.CreateSettlementReport(dcId, invoiceBaseOid, true); - - return base.CreateSettlementReport(dcId, invoiceBaseOid, false); - } - - - public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay) - { - List lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay); - - if (lROs.Count > 0) - { - var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid); - if (!lROs[0].Costbearer.Contains("Stadt Dortmund")) - rootReport.CreateDocument(); - - for (int i = 1; i < lROs.Count; i++) - { - var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid); - if (!lROs[i].Costbearer.Contains("Stadt Dortmund")) - lNext.CreateDocument(); - rootReport.Pages.AddRange(lNext.Pages); - } - - return rootReport; - } - return new XtraReport(); - } - - public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay) - { - var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid); - return CreateServicesOverviewReportForRo(ro, serviceCategoryOid); - } - public override XtraReport CreateServiceOverviewReportForCustomers(IList customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende) - { - var roList = new List(); - - foreach (var coid in customerOids) - { - var ro = ServicesOverviewRO.Create(coid, month, year, true, orgaOid ?? 0, empOid ?? 0, startDay, endDay, serviceCategoryOid); - if (ro != null) - { - roList.Add(ro); - } - } - - if (roList.Count > 0) - { - var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid); - if (!roList[0].Costbearer.Contains("Stadt Dortmund")) - rootReport.CreateDocument(); - - for (int i = 1; i < roList.Count; i++) - { - var lNext = CreateServicesOverviewReportForRo(roList[i], serviceCategoryOid); - if (!roList[i].Costbearer.Contains("Stadt Dortmund")) - lNext.CreateDocument(); - rootReport.Pages.AddRange(lNext.Pages); - } - - return rootReport; - } - return new XtraReport(); - - } - - private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid) - { - //IBeWoReport report = null; - String kt = ""; - if (!String.IsNullOrWhiteSpace(ro.Costbearer)) - kt = ro.Costbearer.Trim(); - - - if (kt == "Stadt Dortmund") - { - XtraReport report = null; - - var leistungsnachweisRO = ServicesOverviewRO.CopyFromRO(ro); - leistungsnachweisRO.Services = ro.Services; - var taetigkeitsnachweisRO = ServicesOverviewRO.CopyFromRO(ro); - taetigkeitsnachweisRO.Services = ro.Services; - - report = AddReportToReport(report, leistungsnachweisRO); - report = AddReportToReport(report, taetigkeitsnachweisRO); - - //report = new Leistungsnachweis(); - //var xReport = report as XtraReport; - - //var taetigkeitsnachweis = new Taetigkeitsnachweis(); - //taetigkeitsnachweis.SetReportDataSource(taetigkeitsnachweisRO); - - //xReport.Pages.AddRange((taetigkeitsnachweis as XtraReport).Pages); - - //xReport.CreateDocument(); - return report; - } - else - { - IBeWoReport report = null; - - if (report == null) - report = new Quittierungsbeleg(); - - report.SetReportDataSource(ro); - - return report as XtraReport; - } - - } - - private XtraReport AddReportToReport(XtraReport report, ServicesOverviewRO ro) where T : XtraReport, IBeWoReport, new() - { - if (ro.Services.Count > 0) - { - if (report == null) - { - report = new T(); - ((T)report).SetReportDataSource(ro); - - } - else - { - if (report.Pages.Count == 0) - report.CreateDocument(); - - XtraReport newReport = new T(); - ((T)newReport).SetReportDataSource(ro); - - newReport.CreateDocument(); - report.Pages.AddRange(newReport.Pages); - } - } - return report; - } - } -} + if (cbName.Contains("Landschaftsverband Westfalen-Lippe") || cbName == "LWL") + return base.CreateSettlementReport(dcId, invoiceBaseOid, true); + + return base.CreateSettlementReport(dcId, invoiceBaseOid, false); + } + + + public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay) + { + List lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay); + + if (lROs.Count > 0) + { + var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid); + if (!lROs[0].Costbearer.Contains("Stadt Dortmund")) + rootReport.CreateDocument(); + + for (int i = 1; i < lROs.Count; i++) + { + var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid); + if (!lROs[i].Costbearer.Contains("Stadt Dortmund")) + lNext.CreateDocument(); + rootReport.Pages.AddRange(lNext.Pages); + } + + return rootReport; + } + return new XtraReport(); + } + + public override XtraReport CreateServiceOverviewSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay) + { + var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid); + return CreateServicesOverviewReportForRo(ro, serviceCategoryOid); + } + public override XtraReport CreateServiceOverviewReportForCustomers(IList customerOids, int month, int year, long? orgaOid, long? empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende) + { + var roList = new List(); + + foreach (var coid in customerOids) + { + var ro = ServicesOverviewRO.Create(coid, month, year, true, orgaOid ?? 0, empOid ?? 0, startDay, endDay, serviceCategoryOid); + if (ro != null) + { + roList.Add(ro); + } + } + + if (roList.Count > 0) + { + var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid); + if (!roList[0].Costbearer.Contains("Stadt Dortmund")) + rootReport.CreateDocument(); + + for (int i = 1; i < roList.Count; i++) + { + var lNext = CreateServicesOverviewReportForRo(roList[i], serviceCategoryOid); + if (!roList[i].Costbearer.Contains("Stadt Dortmund")) + lNext.CreateDocument(); + rootReport.Pages.AddRange(lNext.Pages); + } + + return rootReport; + } + return new XtraReport(); + + } + + private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid) + { + //IBeWoReport report = null; + String kt = ""; + if (!String.IsNullOrWhiteSpace(ro.Costbearer)) + kt = ro.Costbearer.Trim(); + + + if (kt == "Stadt Dortmund") + { + XtraReport report = null; + + var leistungsnachweisRO = ServicesOverviewRO.CopyFromRO(ro); + leistungsnachweisRO.Services = ro.Services; + var taetigkeitsnachweisRO = ServicesOverviewRO.CopyFromRO(ro); + taetigkeitsnachweisRO.Services = ro.Services; + + report = AddReportToReport(report, leistungsnachweisRO); + if(ro.StartDate >= new DateTime(2023, 09, 01)) + report = AddReportToReport(report, taetigkeitsnachweisRO); + else + report = AddReportToReport(report, taetigkeitsnachweisRO); + + //report = new Leistungsnachweis(); + //var xReport = report as XtraReport; + + //var taetigkeitsnachweis = new Taetigkeitsnachweis(); + //taetigkeitsnachweis.SetReportDataSource(taetigkeitsnachweisRO); + + //xReport.Pages.AddRange((taetigkeitsnachweis as XtraReport).Pages); + + //xReport.CreateDocument(); + return report; + } + else + { + IBeWoReport report = null; + + if (report == null) + report = new Quittierungsbeleg(); + + report.SetReportDataSource(ro); + + return report as XtraReport; + } + + } + + private XtraReport AddReportToReport(XtraReport report, ServicesOverviewRO ro) where T : XtraReport, IBeWoReport, new() + { + if (ro.Services.Count > 0) + { + if (report == null) + { + report = new T(); + ((T)report).SetReportDataSource(ro); + + } + else + { + if (report.Pages.Count == 0) + report.CreateDocument(); + + XtraReport newReport = new T(); + ((T)newReport).SetReportDataSource(ro); + + newReport.CreateDocument(); + report.Pages.AddRange(newReport.Pages); + } + } + return report; + } + } +} diff --git a/ReportImp/MobileEV/MobileEV.csproj b/ReportImp/MobileEV/MobileEV.csproj index fb51c850d..c6ce67ff7 100644 --- a/ReportImp/MobileEV/MobileEV.csproj +++ b/ReportImp/MobileEV/MobileEV.csproj @@ -64,6 +64,12 @@ Sammelrechnung.cs + + Component + + + TaetigkeitsnachweisAbSept2023.cs + Component @@ -128,6 +134,10 @@ Sammelrechnung.cs + + TaetigkeitsnachweisAbSept2023.cs + Designer + Taetigkeitsnachweis.cs Designer diff --git a/ReportImp/MobileEV/Taetigkeitsnachweis.Designer.cs b/ReportImp/MobileEV/Taetigkeitsnachweis.Designer.cs index e8464e97d..58abef743 100644 --- a/ReportImp/MobileEV/Taetigkeitsnachweis.Designer.cs +++ b/ReportImp/MobileEV/Taetigkeitsnachweis.Designer.cs @@ -246,9 +246,9 @@ namespace MobileEV this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")}); - this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(37.22203F, 3.178914E-05F); + this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 3.178914E-05F); this.picSignature.Name = "picSignature"; - this.picSignature.SizeF = new System.Drawing.SizeF(407.0374F, 36.66667F); + this.picSignature.SizeF = new System.Drawing.SizeF(229F, 36.66667F); this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; this.picSignature.StylePriority.UseBorders = false; this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint); diff --git a/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.Designer.cs b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.Designer.cs new file mode 100644 index 000000000..42cc19715 --- /dev/null +++ b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.Designer.cs @@ -0,0 +1,901 @@ +using BeWo.Report.ReportObjects; +namespace MobileEV +{ + partial class TaetigkeitsnachweisAbSept2023 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components; + + /// + /// 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.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = 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.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel(); + this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Expanded = false; + 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; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupHeader1}); + this.DetailReport.DataMember = "Services"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.Detail1.HeightF = 36.66669F; + this.Detail1.Name = "Detail1"; + this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTable2 + // + this.xrTable2.BorderColor = System.Drawing.Color.Black; + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable2.SizeF = new System.Drawing.SizeF(1097.792F, 36.66669F); + this.xrTable2.StylePriority.UseFont = false; + this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2, + this.xrTableCell10, + this.xrTableCell12, + this.xrTableCell13, + this.xrTableCell14, + this.xrTableCell15, + this.xrTableCell39}); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow6.Weight = 1D; + // + // xrTableCell2 + // + this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yy}")}); + this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UsePadding = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell2.Weight = 0.094696981389528381D; + // + // xrTableCell10 + // + this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDateMinutes", "{0:HH:mm\' Uhr\'}")}); + this.xrTableCell10.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell10.StylePriority.UseBorders = false; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UsePadding = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell10.Weight = 0.10404207673618091D; + // + // xrTableCell12 + // + this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EndDateMinutes", "{0:HH:mm\' Uhr\'}")}); + this.xrTableCell12.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell12.Multiline = true; + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell12.StylePriority.UseBorders = false; + this.xrTableCell12.StylePriority.UseFont = false; + this.xrTableCell12.StylePriority.UsePadding = false; + this.xrTableCell12.StylePriority.UseTextAlignment = false; + this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell12.Weight = 0.10404207673618091D; + // + // xrTableCell13 + // + this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.00}")}); + this.xrTableCell13.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell13.StylePriority.UseBorders = false; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell13.Weight = 0.10404207673618091D; + // + // xrTableCell14 + // + this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); + this.xrTableCell14.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell14.StylePriority.UseBorders = false; + this.xrTableCell14.StylePriority.UseFont = false; + this.xrTableCell14.StylePriority.UsePadding = false; + this.xrTableCell14.StylePriority.UseTextAlignment = false; + this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell14.Weight = 0.21099152472336874D; + // + // xrTableCell15 + // + this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell15.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.picSignature}); + this.xrTableCell15.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell15.StylePriority.UseBorders = false; + this.xrTableCell15.StylePriority.UseFont = false; + this.xrTableCell15.StylePriority.UsePadding = false; + this.xrTableCell15.StylePriority.UseTextAlignment = false; + this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell15.Weight = 0.2382376505443205D; + // + // picSignature + // + this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")}); + this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(37.22203F, 3.178914E-05F); + this.picSignature.Name = "picSignature"; + this.picSignature.SizeF = new System.Drawing.SizeF(407.0374F, 36.66667F); + this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.picSignature.StylePriority.UseBorders = false; + this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint); + // + // xrTableCell39 + // + this.xrTableCell39.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell39.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.StylePriority.UseFont = false; + this.xrTableCell39.StylePriority.UsePadding = false; + this.xrTableCell39.StylePriority.UseTextAlignment = false; + this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell39.Weight = 0.2382376505443205D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable1}); + this.GroupHeader1.HeightF = 36.66669F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + // + // xrTable1 + // + this.xrTable1.BorderColor = System.Drawing.Color.Black; + this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9}); + this.xrTable1.SizeF = new System.Drawing.SizeF(1097.792F, 36.66669F); + this.xrTable1.StylePriority.UseFont = false; + this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell33, + this.xrTableCell32, + this.xrTableCell34, + this.xrTableCell35, + this.xrTableCell36, + this.xrTableCell37, + this.xrTableCell38}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow9.Weight = 1D; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell33.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UsePadding = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.Text = "Datum"; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell33.Weight = 0.094696981389528381D; + // + // xrTableCell32 + // + this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell32.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell32.Multiline = true; + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell32.StylePriority.UseBorders = false; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UsePadding = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.Text = "Uhrzeit\r\nvon"; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell32.Weight = 0.10404207673618091D; + // + // xrTableCell34 + // + this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell34.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell34.Multiline = true; + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell34.StylePriority.UseBorders = false; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UsePadding = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.Text = "\r\nbis"; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell34.Weight = 0.10404207673618091D; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell35.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UsePadding = false; + this.xrTableCell35.StylePriority.UseTextAlignment = false; + this.xrTableCell35.Text = "Geleistete FLS"; + this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell35.Weight = 0.10404207673618091D; + // + // xrTableCell36 + // + this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell36.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.StylePriority.UseFont = false; + this.xrTableCell36.StylePriority.UsePadding = false; + this.xrTableCell36.StylePriority.UseTextAlignment = false; + this.xrTableCell36.Text = "Tätigkeit *"; + this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell36.Weight = 0.21099152472336874D; + // + // xrTableCell37 + // + this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell37.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.StylePriority.UseFont = false; + this.xrTableCell37.StylePriority.UsePadding = false; + this.xrTableCell37.Text = "Unterschrift Personen-sorgeberechtigte/r **"; + this.xrTableCell37.Weight = 0.2382376505443205D; + // + // xrTableCell38 + // + this.xrTableCell38.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell38.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell38.StylePriority.UseBorders = false; + this.xrTableCell38.StylePriority.UseFont = false; + this.xrTableCell38.StylePriority.UsePadding = false; + this.xrTableCell38.Text = "Name und Unterschrift der Fachkraft"; + this.xrTableCell38.Weight = 0.2382376505443205D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // formattingRuleStartDate + // + this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleStartDate.DataMember = "ServicesDouble"; + this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleStartDate.Name = "formattingRuleStartDate"; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel27, + this.xrLabel28, + this.xrLabel26, + this.xrLabel25}); + this.ReportHeader.HeightF = 31.45835F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel27 + // + this.xrLabel27.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel27.ForeColor = System.Drawing.Color.Black; + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(533.889F, 0F); + this.xrLabel27.Multiline = true; + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel27.SizeF = new System.Drawing.SizeF(169.9999F, 20F); + this.xrLabel27.StylePriority.UseFont = false; + this.xrLabel27.StylePriority.UseForeColor = false; + this.xrLabel27.StylePriority.UseTextAlignment = false; + this.xrLabel27.Text = "Aktenzeichen JHD"; + this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel28 + // + this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel28.BorderWidth = 2F; + this.xrLabel28.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel28.ForeColor = System.Drawing.Color.Black; + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(703.889F, 0F); + this.xrLabel28.Multiline = true; + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(265.1387F, 20F); + this.xrLabel28.StylePriority.UseBorders = false; + this.xrLabel28.StylePriority.UseBorderWidth = false; + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.StylePriority.UseForeColor = false; + this.xrLabel28.StylePriority.UseTextAlignment = false; + this.xrLabel28.Text = "[ReferenceNumber]"; + this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel26 + // + this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel26.BorderWidth = 2F; + this.xrLabel26.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel26.ForeColor = System.Drawing.Color.Black; + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(170.0001F, 0F); + this.xrLabel26.Multiline = true; + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel26.SizeF = new System.Drawing.SizeF(265.1387F, 20F); + this.xrLabel26.StylePriority.UseBorders = false; + this.xrLabel26.StylePriority.UseBorderWidth = false; + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.StylePriority.UseForeColor = false; + this.xrLabel26.StylePriority.UseTextAlignment = false; + this.xrLabel26.Text = "[CustomerLastName], [CustomerFirstName]"; + this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel25 + // + this.xrLabel25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel25.ForeColor = System.Drawing.Color.Black; + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 0F); + this.xrLabel25.Multiline = true; + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(169.9999F, 20F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.StylePriority.UseForeColor = false; + this.xrLabel25.StylePriority.UseTextAlignment = false; + this.xrLabel25.Text = "Klient: Name, Vorname"; + this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // formattingRuleServiceDesc + // + this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; + this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; + // + // formattingRuleCostBearer + // + this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleCostBearer.DataMember = "ServicesDouble"; + this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; + // + // formattingRuleEmployeeName + // + this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; + this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; + // + // topMarginBand1 + // + this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrLabel20, + this.xrLabel21, + this.xrLabel23, + this.xrLabel22, + this.xrLabel24}); + this.topMarginBand1.HeightF = 100F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // xrLabel2 + // + this.xrLabel2.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel2.ForeColor = System.Drawing.Color.Black; + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 29.99999F); + this.xrLabel2.Multiline = true; + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(435.1387F, 20F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseForeColor = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Tätigkeitsnachweis Ambulante Hilfen"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel20 + // + this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel20.ForeColor = System.Drawing.Color.Black; + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 29.99997F); + this.xrLabel20.Multiline = true; + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(46.87515F, 20.00001F); + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UseForeColor = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "Monat:"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel21 + // + 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 System.Drawing.Font("Arial", 10F); + this.xrLabel21.ForeColor = System.Drawing.Color.Black; + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(482.0139F, 29.99997F); + this.xrLabel21.Multiline = true; + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(159.3751F, 20.00001F); + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.StylePriority.UseForeColor = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel23 + // + this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Year")}); + this.xrLabel23.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel23.ForeColor = System.Drawing.Color.Black; + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(703.889F, 29.99997F); + this.xrLabel23.Multiline = true; + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(159.3751F, 20.00001F); + this.xrLabel23.StylePriority.UseBorders = false; + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UseForeColor = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel22 + // + this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel22.ForeColor = System.Drawing.Color.Black; + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(657.0139F, 29.99997F); + this.xrLabel22.Multiline = true; + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(46.87515F, 20.00001F); + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UseForeColor = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "Jahr:"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel24 + // + this.xrLabel24.Font = new System.Drawing.Font("Arial", 9F); + this.xrLabel24.ForeColor = System.Drawing.Color.Black; + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(9.28243E-05F, 50F); + this.xrLabel24.Multiline = true; + this.xrLabel24.Name = "xrLabel24"; + this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel24.SizeF = new System.Drawing.SizeF(1099F, 20.00001F); + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.StylePriority.UseForeColor = false; + this.xrLabel24.StylePriority.UseTextAlignment = false; + this.xrLabel24.Text = "MOBILE – Selbstbestimmtes Leben Behinderter e. V., Märkische Str. 239 a, 44141 Do" + + "rtmund"; + this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel4, + this.xrLabel3, + this.xrLabel1}); + this.bottomMarginBand1.HeightF = 80.90678F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // xrLabel4 + // + this.xrLabel4.Font = new System.Drawing.Font("Arial", 9F); + this.xrLabel4.ForeColor = System.Drawing.Color.Black; + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(9.202121E-05F, 43.42103F); + this.xrLabel4.Multiline = true; + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(1089F, 16.71051F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UseForeColor = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = " ** Sollte der/die Personensorgeberechtigte den Termin nicht gegenzeichnen, sollt" + + "e dies mit der angegebenen Begründung der Eltern separat dokumentiert werden. \r\n" + + " \r\n"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel3 + // + this.xrLabel3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel3.ForeColor = System.Drawing.Color.Black; + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 26.71051F); + 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(1089F, 16.71051F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UseForeColor = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = " Nach vorheriger Vereinbarung: Gruppenangebot, Kontakt Jugendamt, Kontakt Kita" + + "/Schule, Kontakt medizinische/therapeutische Fachkräfte, Kontakt Ämter/Behörden"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Arial", 9F); + this.xrLabel1.ForeColor = System.Drawing.Color.Black; + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 9.999995F); + 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(1089F, 16.71051F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseForeColor = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = " * Persönlicher Klientenkontakt, (video)telefonischer Klientenkontakt, Hilfeplan" + + "ung, Fehlkontakt\r\n \r\n"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPictureBox1, + this.xrTable3, + this.lblUnterschriftKlient}); + this.GroupFooter1.HeightF = 142.2562F; + this.GroupFooter1.KeepTogether = true; + this.GroupFooter1.Name = "GroupFooter1"; + // + // xrPictureBox1 + // + this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Image", null, "EmployeeSignature")}); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 85.00182F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(271.8471F, 37.25439F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // + // xrTable3 + // + this.xrTable3.BorderColor = System.Drawing.Color.Black; + this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow10}); + this.xrTable3.SizeF = new System.Drawing.SizeF(408.1251F, 36.66669F); + this.xrTable3.StylePriority.UseFont = false; + this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell40, + this.xrTableCell41, + this.xrTableCell42, + this.xrTableCell44}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow10.Weight = 1D; + // + // xrTableCell40 + // + this.xrTableCell40.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell40.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 4, 100F); + this.xrTableCell40.StylePriority.UseBorders = false; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UsePadding = false; + this.xrTableCell40.StylePriority.UseTextAlignment = false; + this.xrTableCell40.Text = "Summe"; + this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.xrTableCell40.Weight = 0.094696981389528381D; + // + // xrTableCell41 + // + this.xrTableCell41.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell41.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell41.Multiline = true; + this.xrTableCell41.Name = "xrTableCell41"; + this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell41.StylePriority.UseBorders = false; + this.xrTableCell41.StylePriority.UseFont = false; + this.xrTableCell41.StylePriority.UsePadding = false; + this.xrTableCell41.StylePriority.UseTextAlignment = false; + this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell41.Weight = 0.10404207673618091D; + // + // xrTableCell42 + // + this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell42.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell42.Multiline = true; + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.StylePriority.UseFont = false; + this.xrTableCell42.StylePriority.UsePadding = false; + this.xrTableCell42.StylePriority.UseTextAlignment = false; + this.xrTableCell42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell42.Weight = 0.10404207673618091D; + // + // xrTableCell44 + // + this.xrTableCell44.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.00}")}); + this.xrTableCell44.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell44.Name = "xrTableCell44"; + this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 4, 100F); + this.xrTableCell44.StylePriority.UseBorders = false; + this.xrTableCell44.StylePriority.UseFont = false; + this.xrTableCell44.StylePriority.UsePadding = false; + this.xrTableCell44.StylePriority.UseTextAlignment = false; + this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft; + this.xrTableCell44.Weight = 0.10404207673618091D; + // + // lblUnterschriftKlient + // + this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 10F); + this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(0F, 122.2562F); + this.lblUnterschriftKlient.Name = "lblUnterschriftKlient"; + this.lblUnterschriftKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblUnterschriftKlient.SizeF = new System.Drawing.SizeF(271.8472F, 20F); + this.lblUnterschriftKlient.StylePriority.UseBackColor = false; + this.lblUnterschriftKlient.StylePriority.UseBorders = false; + this.lblUnterschriftKlient.StylePriority.UseFont = false; + this.lblUnterschriftKlient.StylePriority.UsePadding = false; + this.lblUnterschriftKlient.StylePriority.UseTextAlignment = false; + this.lblUnterschriftKlient.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // fieldKontaktArt + // + this.fieldKontaktArt.DataMember = "Services"; + this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')"; + this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.fieldKontaktArt.Name = "fieldKontaktArt"; + // + // TaetigkeitsnachweisAbSept2023 + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.DetailReport, + this.ReportHeader, + this.topMarginBand1, + this.bottomMarginBand1, + this.GroupFooter1}); + this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { + this.fieldKontaktArt}); + this.DataSource = this.bindingSource1; + this.Font = new System.Drawing.Font("Arial", 10F); + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.formattingRuleStartDate, + this.formattingRuleServiceDesc, + this.formattingRuleCostBearer, + this.formattingRuleEmployeeName}); + this.Margins = new System.Drawing.Printing.Margins(36, 34, 100, 81); + this.PageHeight = 827; + this.PageWidth = 1169; + this.PaperKind = System.Drawing.Printing.PaperKind.A4Rotated; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer; + private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt; + private DevExpress.XtraReports.UI.XRLabel lblUnterschriftKlient; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel26; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell33; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell32; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell34; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell35; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell37; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell38; + private DevExpress.XtraReports.UI.XRTable xrTable2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell39; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell40; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell41; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell44; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRPictureBox picSignature; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; + } +} diff --git a/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.cs b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.cs new file mode 100644 index 000000000..34854a38e --- /dev/null +++ b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.cs @@ -0,0 +1,83 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.IO; +using System.Text.RegularExpressions; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using BS.Shared.Core; +using DevExpress.XtraReports.UI; + +namespace MobileEV +{ + public partial class TaetigkeitsnachweisAbSept2023 : XtraReport, IBeWoReport + { + public TaetigkeitsnachweisAbSept2023() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + + // Get calling method name + //StackTrace stackTrace = new StackTrace(); + //Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name); + + bool hatGruppen = false; + + //if (pRO == null) + // return; + + if (pRO.Services != null) + { + List servicesBillable = new List(); + pRO.TotalFLMBillable = 0; + foreach (var sd in pRO.Services) + { + if (sd.IsBillable && sd.ServiceCategory == "SPFH 1" || sd.IsBillable && sd.ServiceCategory == "SPFH 2") + { + sd.Minutes /= 60; + pRO.TotalFLMBillable += sd.Minutes; + ServicesOverviewRO.CreateSignatureString(sd); + if (sd.IsGroup) + { + //sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount); + hatGruppen = true; + } + servicesBillable.Add(sd); + } + } + pRO.Services = servicesBillable; + } + + bindingSource1.DataSource = pRO; + } + + private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs 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); + Image img = ByteArrayToImage(binData); + xrBox.Image = Utils.CropImage(img); + } + else + { + xrBox.Image = null; + } + } + + public Image ByteArrayToImage(byte[] byteArrayIn) + { + using(var memoryStream = new MemoryStream(byteArrayIn)) + { + return Image.FromStream(memoryStream); + } + } + } +} diff --git a/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.resx b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.resx new file mode 100644 index 000000000..19e908bd3 --- /dev/null +++ b/ReportImp/MobileEV/TaetigkeitsnachweisAbSept2023.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 21, 17 + + \ No newline at end of file