diff --git a/ReportImp/DieBrueckeHilfeUndHalt/CustomReportCreator.cs b/ReportImp/DieBrueckeHilfeUndHalt/CustomReportCreator.cs new file mode 100644 index 000000000..284d210ad --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/CustomReportCreator.cs @@ -0,0 +1,202 @@ +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using BeWo.Service.ServiceImplementations; +using BS.Shared; +using DevExpress.XtraReports.UI; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace DieBrueckeHilfeUndHalt +{ + class CustomReportCreator : DefaultReportCreator + { + + public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay, bool nurFehlende) + { + List lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay, serviceCategoryOid, true, nurFehlende); + + if (lROs.Count > 0) + { + String reportId = null; + if (orgaOid > 0) + { + var organisation = DAOFactory.GenericDAO.LoadByID(orgaOid); + if (organisation != null) + reportId = organisation.Function != null ? organisation.Function.Value : null; + } + + var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid, reportId); + if (rootReport.Pages.Count == 0) + rootReport.CreateDocument(); + + for (int i = 1; i < lROs.Count; i++) + { + var cb = lROs[i].CostBearer2SupportConceptList.FirstOrDefault(cb2sc => lROs[i].Costbearer.Contains(cb2sc.CostBearer.Organisation.Name)); + + if (cb != null && cb.CostBearer.Organisation.Function != null) + reportId = cb.CostBearer.Organisation.Function.Value; + + var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid, reportId); + if (lNext.Pages.Count == 0) + lNext.CreateDocument(); + rootReport.Pages.AddRange(lNext.Pages); + } + + return rootReport; + } + return new XtraReport(); + } + + 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); + } + } + + QBSortOrderEnum sortOrder = QBSortOrderEnum.NachKlient; + + if (HttpContext.Current != null) + { + var so = HttpContext.Current.Request.Params["sortorder"]; + if (!String.IsNullOrWhiteSpace(so)) + { + sortOrder = (QBSortOrderEnum)(Int32.Parse(so)); + } + } + if (sortOrder == QBSortOrderEnum.NachHauptbetreuung) + { + roList = roList.OrderBy(r => r.MainAttendant).ToList(); + } + else + { + roList = roList.OrderBy(r => r.CustomerLastName + ", " + r.CustomerFirstName).ToList(); + } + + + if (roList.Count > 0) + { + String reportId = null; + if (orgaOid.HasValue && orgaOid > 0) + { + var organisation = DAOFactory.GenericDAO.LoadByID(orgaOid.Value); + if (organisation != null) + reportId = organisation.Function != null ? organisation.Function.Value : null; + } + + var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid, reportId); + if (rootReport.Pages.Count == 0) + rootReport.CreateDocument(); + + for (int i = 1; i < roList.Count; i++) + { + var cb = roList[i].CostBearer2SupportConceptList.FirstOrDefault(cb2sc => roList[i].Costbearer.Contains(cb2sc.CostBearer.Organisation.Name)); + + if (cb != null && cb.CostBearer.Organisation.Function != null) + reportId = cb.CostBearer.Organisation.Function.Value; + + var lNext = CreateServicesOverviewReportForRo(roList[i], serviceCategoryOid, reportId); + if (lNext.Pages.Count == 0) + 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) + { + String reportId = null; + if (orgaOid > 0) + { + var organisation = DAOFactory.GenericDAO.LoadByID(orgaOid); + if (organisation != null) + reportId = organisation.Function != null ? organisation.Function.Value : null; + } + + var ro = ServicesOverviewRO.Create(customerOid, month, year, false, orgaOid, empOid, startDay, endDay, serviceCategoryOid); + IBeWoReport lServiceOverviewSingleCustomerReport = new Quittierungsbeleg(); + + var cb = ro.CostBearer2SupportConceptList.FirstOrDefault(cb2sc => ro.Costbearer.Contains(cb2sc.CostBearer.Organisation.Name)); + + if (cb != null && cb.CostBearer.Organisation.Function != null) + reportId = cb.CostBearer.Organisation.Function.Value; + + return CreateServicesOverviewReportForRo(ro, serviceCategoryOid, reportId); + } + + private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid, string reportID) + { + ServiceCategory sc = serviceCategoryOid != null ? DAOFactory.GenericDAO.GetByID(serviceCategoryOid.Value) : null; + + XtraReport report = null; + + if (reportID != null && reportID.ToLower().Contains("neue vereinbarung")) + { + ServicesOverviewRO niedersachsenRO = ServicesOverviewRO.CopyFromRO(ro); + + niedersachsenRO.TotalFLMBillable = 0; + + if (ro.Services != null) + { + foreach (ServicesOverviewRO.ServiceDetail s in ro.Services) + { + niedersachsenRO.Services.Add(s); + niedersachsenRO.TotalFLMBillable += s.Minutes; + niedersachsenRO.TotalFLS += s.Minutes / 50; + } + } + + report = AddReportToReport(report, niedersachsenRO); + } + else + { + report = AddReportToReport(report, ro); + } + + if (report == null) + report = new XtraReport(); + return report; + } + + 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/DieBrueckeHilfeUndHalt/DieBrueckeHilfeUndHalt.csproj b/ReportImp/DieBrueckeHilfeUndHalt/DieBrueckeHilfeUndHalt.csproj index 5a3e08252..0eaeb304e 100644 --- a/ReportImp/DieBrueckeHilfeUndHalt/DieBrueckeHilfeUndHalt.csproj +++ b/ReportImp/DieBrueckeHilfeUndHalt/DieBrueckeHilfeUndHalt.csproj @@ -46,6 +46,7 @@ + @@ -57,18 +58,27 @@ + + + Component - + + Mitarbeiterarbeitszeitkonto.cs + Component - + + Mitarbeiterstundenkonto.cs + Component - + + MitarbeiterstundenkontoJahr.cs + Component @@ -76,6 +86,12 @@ Quittierungsbeleg.cs + + Component + + + QuittierungsbelegNiedersachsen.cs + Component @@ -97,7 +113,9 @@ Component - + + Teamstundenkonto.cs + @@ -118,14 +136,24 @@ - - - + + Mitarbeiterarbeitszeitkonto.cs + + + Mitarbeiterstundenkonto.cs + + + MitarbeiterstundenkontoJahr.cs + Quittierungsbeleg.cs Designer + + QuittierungsbelegNiedersachsen.cs + Designer + ServiceInvoiceReport.cs Designer @@ -138,7 +166,9 @@ SettlementReport.cs Designer - + + Teamstundenkonto.cs + diff --git a/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceCreation.cs b/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceCreation.cs new file mode 100644 index 000000000..7988f4b84 --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceCreation.cs @@ -0,0 +1,147 @@ +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.Invoicing; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using BS.Shared.Extensions; +using BS.Shared.Services; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace DieBrueckeHilfeUndHalt.Invoicing +{ + + public class CustomInvoiceCreation : InvoiceCreation + { + public override void SetInvoiceId(ServiceInvoice invoice) + { + base.SetInvoiceId(invoice); + } + + public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc) + { + var invoiceItem = base.CreateInvoiceItem(iServiceRecord, scap, calc); + + var crp = scap.CostBearer2SupportConcept.CostBearer.CostRatePeriods; + if (crp != null && crp.Count > 0) + { + var minutesPerServiceUnit = crp.FirstOrDefault(c => c.CostRateType == BS.Shared.CostRatePeriodType.MinutesPerServiceUnit); + var minsProFLS = minutesPerServiceUnit != null ? minutesPerServiceUnit.CostRateValue : 60; + + invoiceItem.GrossAmountTotal = invoiceItem.GrossAmountTotal * 60 / minsProFLS; + invoiceItem.AmountTotal = invoiceItem.AmountTotal * 60 / minsProFLS; + } + + return invoiceItem; + } + + public override IList CreateInvoiceItems(List serviceRecordsInPeriod, DateTimeSpan invoicePeriod, + SupportConceptApprovalPeriod scap, BS.Shared.Services.Calculations calc) + { + var list = base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc); + + var crp = scap.CostBearer2SupportConcept.CostBearer.CostRatePeriods; + decimal minsProFLS = 60; + if (crp != null && crp.Count > 0) + { + var minutesPerServiceUnit = crp.FirstOrDefault(c => c.CostRateType == BS.Shared.CostRatePeriodType.MinutesPerServiceUnit); + minsProFLS = minutesPerServiceUnit.CostRateValue.Value; + } + + var function = scap.CostBearer2SupportConcept.CostBearer.Organisation.Function; + if (function != null && function.Value.ToLower().Contains("neue vereinbarung")) + { + List toAdd = new List(); + foreach (var item in list) + { + var countQualifiziert = serviceRecordsInPeriod.Where(sr => !sr.ServiceDescription.Name.ToLower().Contains("betriebsstätte") && !sr.ServiceDescription.Name.ToLower().Contains("telefonat") && !sr.ServiceDescription.Name.ToLower().Contains("terminabsage")).ToList(); + if (countQualifiziert.Count > 0) + toAdd.Add(CreateKontaktpauschalenItem(countQualifiziert.Count, item.ItemPeriodStart, item.ItemPeriodEnd, "Wegepauschale")); + } + if (toAdd.Count > 0) + list.AddRange(toAdd); + } + + return list; + } + + public override void BerechneSummaryItemsSummen(List newlist, bool addRateFactorToUnitCount) + { + // Rausfinden, ob FLS 50 statt 60 Minuten gehen + // + if (newlist != null && newlist.Count > 0) + { + var oid = newlist.FirstOrDefault(i => i.SupportConceptApprovalPeriodOid != null).SupportConceptApprovalPeriodOid; + SupportConceptApprovalPeriod ap = null; + if (oid != null) + ap = DAOFactory.GenericDAO.GetByID(oid.Value); + + List crp = null; + if (ap != null) + crp = ap.CostBearer2SupportConcept.CostBearer.CostRatePeriods.ToList(); + + if (crp != null && crp.Count > 0) + { + var minutesPerServiceUnit = crp.FirstOrDefault(c => c.CostRateType == BS.Shared.CostRatePeriodType.MinutesPerServiceUnit); + var minsProFLS = minutesPerServiceUnit != null ? minutesPerServiceUnit.CostRateValue : 60; + + foreach (InvoiceItem invoiceItem in newlist) + { + if (!invoiceItem.AmountPerUnit.HasValue) + { + invoiceItem.AmountPerUnit = 0; + } + invoiceItem.AmountPerUnit = Math.Round(invoiceItem.AmountPerUnit.Value, 2, MidpointRounding.AwayFromZero); + + if (!invoiceItem.UnitCount.HasValue) + { + invoiceItem.UnitCount = 0; + } + + if (addRateFactorToUnitCount && invoiceItem.RateFactor.HasValue) + { + invoiceItem.UnitCount = (invoiceItem.UnitCount ?? 0) * ((invoiceItem.RateFactor + 100) / 100); + } + + invoiceItem.UnitCount = Math.Round(invoiceItem.UnitCount.Value, 2, MidpointRounding.AwayFromZero); + + + // Änderung: Eine FLS hat 50 statt 60 Minuten + // der Kostenträger braucht die Zwischenrundung auf 2 Nachkommastellen + invoiceItem.UnitCount = (decimal)Math.Round((double)(invoiceItem.UnitCount * 60 / minsProFLS), 2, MidpointRounding.AwayFromZero); + invoiceItem.GrossAmountTotal = invoiceItem.AmountPerUnit * invoiceItem.UnitCount; + invoiceItem.AmountTotal = invoiceItem.AmountPerUnit * invoiceItem.UnitCount; + + invoiceItem.GrossAmountTotal = invoiceItem.AmountTotal; + + + if (!addRateFactorToUnitCount && invoiceItem.RateFactor.HasValue) + { + invoiceItem.GrossAmountTotal *= (invoiceItem.RateFactor + 100) / 100; + } + } + } + } + } + + + private InvoiceItem CreateKontaktpauschalenItem(decimal? unitCount, DateTime? itemPeriodStart, DateTime? itemPeriodEnd, string bezeichnungPreis) + { + var pauschale = GetPreis(bezeichnungPreis, itemPeriodStart.Value); + + var ii = new InvoiceItem() + { + UnitCount = unitCount, + ItemDescription = "Wegepauschale", + UnitDescription = "Pauschale pro direktem Kontakt", + AmountPerUnit = pauschale, + AmountTotal = pauschale * unitCount, + GrossAmountTotal = pauschale * unitCount, + ItemPeriodStart = itemPeriodStart, + ItemPeriodEnd = itemPeriodEnd + }; + return ii; + } + } +} diff --git a/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceFactory.cs b/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceFactory.cs new file mode 100644 index 000000000..2829d4b9e --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/Invoicing/CustomInvoiceFactory.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.Invoicing; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; +using BS.Shared.Services; + +namespace DieBrueckeHilfeUndHalt.Invoicing +{ + public class CustomInvoiceFactory : InvoiceFactory + { + + public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords) + { + + foreach (var item in supportConcepts2ServiceRecords) + { + var csc = item.Key; + var sc = DAOFactory.GenericDAO.GetByID(csc.SupportConceptOid); + var ap = sc.CostBearer2SupportConceptList.FirstOrDefault(cb2sc => csc.CostBearer.Contains(cb2sc.CostBearer.Organisation.Name)); + if (ap != null) + { + if (ap.CostBearer.Organisation.Function != null && ap.CostBearer.Organisation.Function.Value.ToLower().Contains("neue vereinbarung")) + { + return new CustomInvoiceCreation(); + } + } + } + + return new InvoiceCreation(); + } + } +} diff --git a/ReportImp/DieBrueckeHilfeUndHalt/Mitarbeiterarbeitszeitkonto.resx b/ReportImp/DieBrueckeHilfeUndHalt/Mitarbeiterarbeitszeitkonto.resx index d25f3eba2..d58980a38 100644 --- a/ReportImp/DieBrueckeHilfeUndHalt/Mitarbeiterarbeitszeitkonto.resx +++ b/ReportImp/DieBrueckeHilfeUndHalt/Mitarbeiterarbeitszeitkonto.resx @@ -117,7 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - \ No newline at end of file diff --git a/ReportImp/DieBrueckeHilfeUndHalt/Properties/licenses.licx b/ReportImp/DieBrueckeHilfeUndHalt/Properties/licenses.licx index e69de29bb..d59547a61 100644 --- a/ReportImp/DieBrueckeHilfeUndHalt/Properties/licenses.licx +++ b/ReportImp/DieBrueckeHilfeUndHalt/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.Designer.cs b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.Designer.cs new file mode 100644 index 000000000..b433bb131 --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.Designer.cs @@ -0,0 +1,1329 @@ +using BeWo.Report.ReportObjects; +namespace DieBrueckeHilfeUndHalt +{ + partial class QuittierungsbelegNiedersachsen + { + /// + /// 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.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.tcFLS = new DevExpress.XtraReports.UI.XRTableCell(); + this.tcWege = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell32 = 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.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblRestbudget = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblBewilligtFls = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblHeader = 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.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblSummeAusfallstunden = new DevExpress.XtraReports.UI.XRLabel(); + this.lblSummeWegepauschalen = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.wennGruppeAnzPersonen = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldTotalFLSBilllable = new DevExpress.XtraReports.UI.CalculatedField(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).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.xrTable3}); + this.Detail1.HeightF = 20F; + this.Detail1.Name = "Detail1"; + this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTable3 + // + this.xrTable3.BorderColor = System.Drawing.Color.Black; + this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable3.SizeF = new System.Drawing.SizeF(1108F, 20F); + this.xrTable3.StylePriority.UseFont = false; + this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell13, + this.xrTableCell14, + this.xrTableCell2, + this.xrTableCell10, + this.xrTableCell12, + this.xrTableCell15, + this.xrTableCell33, + this.xrTableCell34, + this.xrTableCell35, + this.xrTableCell50}); + 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; + // + // xrTableCell13 + // + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yyyy}")}); + this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.StylePriority.UseBorders = false; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "xrTableCell13"; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell13.Weight = 0.09667998089041159D; + // + // xrTableCell14 + // + this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString", "{0:HH:mm}")}); + this.xrTableCell14.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.StylePriority.UseBorders = false; + this.xrTableCell14.StylePriority.UseFont = false; + this.xrTableCell14.StylePriority.UsePadding = false; + this.xrTableCell14.StylePriority.UseTextAlignment = false; + this.xrTableCell14.Text = "xrTableCell14"; + this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell14.Weight = 0.11796651883372906D; + // + // xrTableCell2 + // + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription")}); + this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell2.Weight = 0.18686874977273332D; + // + // xrTableCell10 + // + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice3")}); + this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.Text = "xrTableCell10"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell10.Weight = 0.0782828526429673D; + // + // xrTableCell12 + // + this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.wennGruppeAnzPersonen")}); + this.xrTableCell12.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.StylePriority.UseFont = false; + this.xrTableCell12.StylePriority.UseTextAlignment = false; + this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell12.Weight = 0.0816183309425832D; + // + // xrTableCell15 + // + this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes")}); + this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.StylePriority.UseFont = false; + this.xrTableCell15.StylePriority.UseTextAlignment = false; + this.xrTableCell15.Text = "xrTableCell15"; + this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell15.Weight = 0.1481026544368424D; + // + // xrTableCell33 + // + this.xrTableCell33.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.FLSQualified", "{0:0.00}")}); + this.xrTableCell33.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.Text = "xrTableCell33"; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell33.Weight = 0.1762417763016951D; + // + // xrTableCell34 + // + this.xrTableCell34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice4")}); + this.xrTableCell34.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.Text = "xrTableCell34"; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell34.Weight = 0.12094920476556173D; + // + // xrTableCell35 + // + this.xrTableCell35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")}); + this.xrTableCell35.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UseTextAlignment = false; + this.xrTableCell35.Text = "xrTableCell35"; + this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell35.Weight = 0.084642917482730423D; + // + // xrTableCell50 + // + this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); + this.xrTableCell50.Name = "xrTableCell50"; + this.xrTableCell50.StylePriority.UseBorders = false; + this.xrTableCell50.StylePriority.UseFont = false; + this.xrTableCell50.StylePriority.UsePadding = false; + this.xrTableCell50.StylePriority.UseTextAlignment = false; + this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell50.Weight = 0.11429767299237592D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTableServiceRecords1}); + this.GroupHeader1.HeightF = 136.1859F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + // + // xrTableServiceRecords1 + // + this.xrTableServiceRecords1.BackColor = System.Drawing.Color.Gainsboro; + this.xrTableServiceRecords1.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(2.384186E-05F, 0F); + this.xrTableServiceRecords1.Name = "xrTableServiceRecords1"; + 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(1108F, 136.1859F); + this.xrTableServiceRecords1.StylePriority.UseBackColor = false; + this.xrTableServiceRecords1.StylePriority.UseBorders = false; + this.xrTableServiceRecords1.StylePriority.UseFont = false; + this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell1, + this.xrTableCell4, + this.xrTableCell5, + this.xrTableCell6, + this.xrTableCell7, + this.tcFLS, + this.tcWege, + this.xrTableCell11, + this.xrTableCell32}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow2.StylePriority.UseTextAlignment = false; + this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableRow2.Weight = 3.3328619635248762D; + // + // xrTableCell3 + // + this.xrTableCell3.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UseBackColor = false; + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.StylePriority.UsePadding = false; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.Text = "Datum"; + this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell3.Weight = 0.21388410998844198D; + // + // xrTableCell1 + // + this.xrTableCell1.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell1.StylePriority.UseBackColor = false; + this.xrTableCell1.StylePriority.UseBorders = false; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.StylePriority.UsePadding = false; + this.xrTableCell1.StylePriority.UseTextAlignment = false; + this.xrTableCell1.Text = "Uhrzeit"; + this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell1.Weight = 0.26097624806908937D; + // + // xrTableCell4 + // + this.xrTableCell4.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell4.StylePriority.UseBackColor = false; + this.xrTableCell4.StylePriority.UseBorders = false; + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.StylePriority.UsePadding = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "Ort"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell4.Weight = 0.41340758433784131D; + // + // xrTableCell5 + // + this.xrTableCell5.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell5.Multiline = true; + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell5.StylePriority.UseBackColor = false; + this.xrTableCell5.StylePriority.UseBorders = false; + this.xrTableCell5.StylePriority.UseFont = false; + this.xrTableCell5.StylePriority.UsePadding = false; + this.xrTableCell5.StylePriority.UseTextAlignment = false; + this.xrTableCell5.Text = "Gruppen-angebot \r\nJa = 1"; + this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell5.Weight = 0.17318433750845291D; + // + // xrTableCell6 + // + this.xrTableCell6.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell6.Multiline = true; + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell6.StylePriority.UseBackColor = false; + this.xrTableCell6.StylePriority.UseBorders = false; + this.xrTableCell6.StylePriority.UseFont = false; + this.xrTableCell6.StylePriority.UsePadding = false; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "Wenn Gruppen-angebot:\r\nAnzahl der IP"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell6.Weight = 0.18056345849862848D; + // + // xrTableCell7 + // + this.xrTableCell7.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell7.Multiline = true; + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell7.StylePriority.UseBackColor = false; + this.xrTableCell7.StylePriority.UseBorders = false; + this.xrTableCell7.StylePriority.UseFont = false; + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.StylePriority.UseTextAlignment = false; + this.xrTableCell7.Text = "Dauer in Minuten direkt mit der IP oder mit mehreren IP bei Gruppen-angebot \r\n(ge" + + "mäß Fußnote 2 zu Kap 2.3.1)"; + this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell7.Weight = 0.32764599083580281D; + // + // tcFLS + // + this.tcFLS.BackColor = System.Drawing.Color.Transparent; + this.tcFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.tcFLS.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.tcFLS.Multiline = true; + this.tcFLS.Name = "tcFLS"; + this.tcFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.tcFLS.StylePriority.UseBackColor = false; + this.tcFLS.StylePriority.UseBorders = false; + this.tcFLS.StylePriority.UseFont = false; + this.tcFLS.StylePriority.UsePadding = false; + this.tcFLS.StylePriority.UseTextAlignment = false; + this.tcFLS.Text = "Anzahl direkte FLS qualifizierte Assistenzkraft. Eine FLS ist definiert als 50 Mi" + + "nuten mit der IP\r\n(gemäß Fußnote 2 zu Kap 2.3.1)"; + this.tcFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.tcFLS.Weight = 0.38989766956336142D; + // + // tcWege + // + this.tcWege.BackColor = System.Drawing.Color.Transparent; + this.tcWege.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.tcWege.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.tcWege.Multiline = true; + this.tcWege.Name = "tcWege"; + this.tcWege.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.tcWege.StylePriority.UseBackColor = false; + this.tcWege.StylePriority.UseBorders = false; + this.tcWege.StylePriority.UseFont = false; + this.tcWege.StylePriority.UsePadding = false; + this.tcWege.StylePriority.UseTextAlignment = false; + this.tcWege.Text = "Wegepauschale \r\nJa = 1"; + this.tcWege.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.tcWege.Weight = 0.26757499474489665D; + // + // xrTableCell11 + // + this.xrTableCell11.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell11.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell11.Multiline = true; + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell11.StylePriority.UseBackColor = false; + this.xrTableCell11.StylePriority.UseBorders = false; + this.xrTableCell11.StylePriority.UseFont = false; + this.xrTableCell11.StylePriority.UsePadding = false; + this.xrTableCell11.StylePriority.UseTextAlignment = false; + this.xrTableCell11.Text = "davon \"Ausfall-stunden\"\r\nJa = 1"; + this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell11.Weight = 0.18725469049380217D; + // + // xrTableCell32 + // + this.xrTableCell32.BackColor = System.Drawing.Color.Transparent; + this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell32.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrTableCell32.StylePriority.UseBackColor = false; + this.xrTableCell32.StylePriority.UseBorders = false; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UsePadding = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.Text = "Mitarbeiter*in"; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell32.Weight = 0.25285945124789461D; + // + // 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.xrLabel10, + this.xrLabel4, + this.xrLabel5, + this.xrLabel3, + this.lblRestbudget, + this.xrLabel31, + this.xrLabel30, + this.xrLabel29, + this.xrLabel28, + this.xrLabel27, + this.xrLabel25, + this.lblBewilligtFls, + this.xrLabel26, + this.xrLabel23, + this.xrLabel24, + this.xrLabel21, + this.xrLabel22, + this.xrLabel20, + this.xrLabel19, + this.xrLabel18, + this.xrLabel17, + this.xrLabel14, + this.lblHeader}); + this.ReportHeader.HeightF = 178.2007F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseTextAlignment = false; + this.ReportHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel10 + // + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel10.ForeColor = System.Drawing.Color.Black; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(51.42364F, 160.7765F); + this.xrLabel10.Multiline = true; + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(245F, 17.42424F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.StylePriority.UseForeColor = false; + this.xrLabel10.StylePriority.UseTextAlignment = false; + this.xrLabel10.Text = "[Month] [Year]"; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel4 + // + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel4.ForeColor = System.Drawing.Color.Black; + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(2.167442E-05F, 160.7765F); + 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(51.42363F, 17.42424F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UseForeColor = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "Monat:"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel5 + // + this.xrLabel5.BackColor = System.Drawing.Color.Transparent; + this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel5.CanGrow = false; + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(744.4313F, 133.3333F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(193.2927F, 17.42421F); + this.xrLabel5.StylePriority.UseBackColor = false; + this.xrLabel5.StylePriority.UseBorders = false; + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.StylePriority.UsePadding = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "excl. dieser Abrechnung"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel3 + // + this.xrLabel3.BackColor = System.Drawing.Color.Transparent; + this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel3.CanGrow = false; + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(561.6895F, 133.3333F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(84.34888F, 17.42422F); + this.xrLabel3.StylePriority.UseBackColor = false; + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UsePadding = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "Restbudget"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // lblRestbudget + // + this.lblRestbudget.BackColor = System.Drawing.Color.Transparent; + this.lblRestbudget.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblRestbudget.CanGrow = false; + this.lblRestbudget.LocationFloat = new DevExpress.Utils.PointFloat(646.0386F, 133.3333F); + this.lblRestbudget.Name = "lblRestbudget"; + this.lblRestbudget.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblRestbudget.SizeF = new System.Drawing.SizeF(98.39288F, 17.42421F); + this.lblRestbudget.StylePriority.UseBackColor = false; + this.lblRestbudget.StylePriority.UseBorders = false; + this.lblRestbudget.StylePriority.UseFont = false; + this.lblRestbudget.StylePriority.UsePadding = false; + this.lblRestbudget.StylePriority.UseTextAlignment = false; + this.lblRestbudget.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel31 + // + this.xrLabel31.BackColor = System.Drawing.Color.Transparent; + this.xrLabel31.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel31.CanGrow = false; + this.xrLabel31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSTotal", "{0:0.00}")}); + this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(463.2966F, 133.3333F); + this.xrLabel31.Name = "xrLabel31"; + this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel31.SizeF = new System.Drawing.SizeF(98.39288F, 17.42421F); + this.xrLabel31.StylePriority.UseBackColor = false; + this.xrLabel31.StylePriority.UseBorders = false; + this.xrLabel31.StylePriority.UseFont = false; + this.xrLabel31.StylePriority.UsePadding = false; + this.xrLabel31.StylePriority.UseTextAlignment = false; + this.xrLabel31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel30 + // + this.xrLabel30.BackColor = System.Drawing.Color.Transparent; + this.xrLabel30.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel30.CanGrow = false; + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(347.2918F, 133.3332F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(116.0049F, 17.42422F); + this.xrLabel30.StylePriority.UseBackColor = false; + this.xrLabel30.StylePriority.UseBorders = false; + this.xrLabel30.StylePriority.UseFont = false; + this.xrLabel30.StylePriority.UsePadding = false; + this.xrLabel30.StylePriority.UseTextAlignment = false; + this.xrLabel30.Text = "Gesamtbudget"; + this.xrLabel30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel29 + // + this.xrLabel29.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel29.ForeColor = System.Drawing.Color.Black; + this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(0F, 133.3333F); + this.xrLabel29.Multiline = true; + this.xrLabel29.Name = "xrLabel29"; + this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel29.SizeF = new System.Drawing.SizeF(288.9636F, 17.42422F); + this.xrLabel29.StylePriority.UseFont = false; + this.xrLabel29.StylePriority.UseForeColor = false; + this.xrLabel29.StylePriority.UsePadding = false; + this.xrLabel29.StylePriority.UseTextAlignment = false; + this.xrLabel29.Text = "Gesamtbudget / Restbudget "; + this.xrLabel29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel28 + // + this.xrLabel28.BackColor = System.Drawing.Color.Transparent; + this.xrLabel28.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel28.CanGrow = false; + this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedStartDate", "{0:MMMM yyyy}")}); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(463.2966F, 115.909F); + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(98.39288F, 17.42421F); + this.xrLabel28.StylePriority.UseBackColor = false; + this.xrLabel28.StylePriority.UseBorders = false; + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.StylePriority.UsePadding = false; + this.xrLabel28.StylePriority.UseTextAlignment = false; + this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel27 + // + this.xrLabel27.BackColor = System.Drawing.Color.Transparent; + this.xrLabel27.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel27.CanGrow = false; + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(347.2918F, 115.909F); + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel27.SizeF = new System.Drawing.SizeF(116.0049F, 17.42421F); + this.xrLabel27.StylePriority.UseBackColor = false; + this.xrLabel27.StylePriority.UseBorders = false; + this.xrLabel27.StylePriority.UseFont = false; + this.xrLabel27.StylePriority.UsePadding = false; + this.xrLabel27.StylePriority.UseTextAlignment = false; + this.xrLabel27.Text = "Monat Jahr"; + this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel25 + // + this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel25.ForeColor = System.Drawing.Color.Black; + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(0F, 115.909F); + this.xrLabel25.Multiline = true; + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(343F, 17.42421F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.StylePriority.UseForeColor = false; + this.xrLabel25.StylePriority.UsePadding = false; + this.xrLabel25.StylePriority.UseTextAlignment = false; + this.xrLabel25.Text = "Beginn 6 Monatszeitraum (\"flexible Leistungserbringung\")"; + this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // lblBewilligtFls + // + this.lblBewilligtFls.BackColor = System.Drawing.Color.Transparent; + this.lblBewilligtFls.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.lblBewilligtFls.CanGrow = false; + this.lblBewilligtFls.LocationFloat = new DevExpress.Utils.PointFloat(463.2966F, 98.4848F); + this.lblBewilligtFls.Name = "lblBewilligtFls"; + this.lblBewilligtFls.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblBewilligtFls.SizeF = new System.Drawing.SizeF(98.39288F, 17.42422F); + this.lblBewilligtFls.StylePriority.UseBackColor = false; + this.lblBewilligtFls.StylePriority.UseBorders = false; + this.lblBewilligtFls.StylePriority.UseFont = false; + this.lblBewilligtFls.StylePriority.UsePadding = false; + this.lblBewilligtFls.StylePriority.UseTextAlignment = false; + this.lblBewilligtFls.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel26 + // + this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel26.ForeColor = System.Drawing.Color.Black; + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(0F, 98.48487F); + this.xrLabel26.Multiline = true; + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel26.SizeF = new System.Drawing.SizeF(343F, 17.42422F); + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.StylePriority.UseForeColor = false; + this.xrLabel26.StylePriority.UsePadding = false; + this.xrLabel26.StylePriority.UseTextAlignment = false; + this.xrLabel26.Text = "Anzahl der bewilligten Fachleistungsstunden (FLS) / Woche:"; + this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel23 + // + this.xrLabel23.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel23.ForeColor = System.Drawing.Color.Black; + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(0F, 81.06058F); + this.xrLabel23.Multiline = true; + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(307.2727F, 17.42424F); + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UseForeColor = false; + this.xrLabel23.StylePriority.UsePadding = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.Text = "Zuständiger örtlicher Leistungsträger"; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel24 + // + this.xrLabel24.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel24.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel24.ForeColor = System.Drawing.Color.Black; + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(347.2916F, 81.06057F); + 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(674F, 17.42424F); + this.xrLabel24.StylePriority.UseBorders = false; + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.StylePriority.UseForeColor = false; + this.xrLabel24.StylePriority.UseTextAlignment = false; + this.xrLabel24.Text = "[Costbearer]"; + this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel21 + // + this.xrLabel21.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel21.CanGrow = false; + this.xrLabel21.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel21.ForeColor = System.Drawing.Color.Black; + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(347.2916F, 63.63633F); + 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(674F, 17.42424F); + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.StylePriority.UseForeColor = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.Text = "[MainAttendantCommaSeperated]"; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel22 + // + this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel22.ForeColor = System.Drawing.Color.Black; + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.63634F); + this.xrLabel22.Multiline = true; + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(307.2727F, 17.42424F); + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UseForeColor = false; + this.xrLabel22.StylePriority.UsePadding = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "Verantwortliche*r Mitarbeiter*in (Name, Vorname)"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel20 + // + this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel20.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel20.ForeColor = System.Drawing.Color.Black; + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(347.2916F, 46.2121F); + 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(674F, 17.42424F); + this.xrLabel20.StylePriority.UseBorders = false; + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UseForeColor = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "Die Brücke - Hilfe und Halt e.V., Schiefe Straße 3 · 21682 Stade"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel19 + // + this.xrLabel19.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel19.ForeColor = System.Drawing.Color.Black; + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 46.21211F); + this.xrLabel19.Multiline = true; + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(307.2727F, 17.42424F); + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UseForeColor = false; + this.xrLabel19.StylePriority.UsePadding = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + this.xrLabel19.Text = "Leistungsanbieter (Name, Adresse)"; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel18 + // + this.xrLabel18.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel18.ForeColor = System.Drawing.Color.Black; + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(347.2916F, 28.7879F); + this.xrLabel18.Multiline = true; + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(674F, 17.42424F); + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UseForeColor = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "[CustomerFirstName] [CustomerLastName], Aktenzeichen [ReferenceNumber]"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel17 + // + this.xrLabel17.Font = new DevExpress.Drawing.DXFont("Calibri", 10F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel17.ForeColor = System.Drawing.Color.Black; + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.78787F); + this.xrLabel17.Multiline = true; + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(307.2727F, 17.42424F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UseForeColor = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Leistungsberechtigte Person (IP)(Name, Vorname)"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel14 + // + this.xrLabel14.BackColor = System.Drawing.Color.Transparent; + this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel14.CanGrow = false; + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(347.2916F, 98.4848F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(116.0049F, 17.42422F); + this.xrLabel14.StylePriority.UseBackColor = false; + this.xrLabel14.StylePriority.UseBorders = false; + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.StylePriority.UsePadding = false; + this.xrLabel14.StylePriority.UseTextAlignment = false; + this.xrLabel14.Text = "Anzahl"; + this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // lblHeader + // + this.lblHeader.Font = new DevExpress.Drawing.DXFont("Calibri", 14F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblHeader.ForeColor = System.Drawing.Color.Black; + this.lblHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.lblHeader.Multiline = true; + this.lblHeader.Name = "lblHeader"; + this.lblHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblHeader.SizeF = new System.Drawing.SizeF(747F, 25F); + this.lblHeader.StylePriority.UseFont = false; + this.lblHeader.StylePriority.UseForeColor = false; + this.lblHeader.StylePriority.UseTextAlignment = false; + this.lblHeader.Text = "Leistungsnachweis"; + this.lblHeader.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.xrLabel16}); + this.topMarginBand1.HeightF = 121.8751F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // xrLabel16 + // + this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Calibri", 10F); + this.xrLabel16.ForeColor = System.Drawing.Color.Black; + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0.0001430511F, 80.88824F); + this.xrLabel16.Multiline = true; + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(924.0834F, 25.00002F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.StylePriority.UseForeColor = false; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.Text = "Leistungsnachweis Assistenz beim Wohnen außerhalb der besonderen Wohnform i.S.d. " + + "§ 42 a Abs.2 Nr. 2 SGB XII"; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 30F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPictureBox2, + this.xrLabel13, + this.xrLabel9, + this.xrLabel8, + this.xrLabel7, + this.lblSummeAusfallstunden, + this.lblSummeWegepauschalen, + this.xrLabel6, + this.xrLabel2, + this.xrLabel1}); + this.GroupFooter1.HeightF = 182.4883F; + this.GroupFooter1.KeepTogether = true; + this.GroupFooter1.Name = "GroupFooter1"; + // + // xrPictureBox2 + // + this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("ImageSource", null, "CustomerSignature")}); + this.xrPictureBox2.ImageAlignment = DevExpress.XtraPrinting.ImageAlignment.MiddleCenter; + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(139.7916F, 62.45835F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(304.8502F, 45.87498F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // + // xrLabel13 + // + this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate", "{0:dd.MM.yyyy}")}); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0.0001430511F, 85.33331F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(124.2303F, 23F); + // + // xrLabel9 + // + this.xrLabel9.BackColor = System.Drawing.Color.Transparent; + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel9.BorderWidth = 1F; + this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Calibri", 11F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0.0001430511F, 128.3333F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(983.7695F, 20.00001F); + this.xrLabel9.StylePriority.UseBackColor = false; + this.xrLabel9.StylePriority.UseBorders = false; + this.xrLabel9.StylePriority.UseBorderWidth = false; + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UsePadding = false; + this.xrLabel9.StylePriority.UseTextAlignment = false; + this.xrLabel9.Text = "Mit der Unterschrift bestätigt die leistungsberechtigte Person die aufgeführten L" + + "eistungen in Minuten (incl. Ausfallzeiten) erhalten zu haben."; + this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel8 + // + this.xrLabel8.BackColor = System.Drawing.Color.Transparent; + this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel8.BorderWidth = 1F; + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Calibri", 11F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(124.2305F, 108.3333F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(320.4112F, 20F); + this.xrLabel8.StylePriority.UseBackColor = false; + this.xrLabel8.StylePriority.UseBorders = false; + this.xrLabel8.StylePriority.UseBorderWidth = false; + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.StylePriority.UsePadding = false; + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "Unterschrift der leistungsberechtigten Person"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel7 + // + this.xrLabel7.BackColor = System.Drawing.Color.Transparent; + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel7.BorderWidth = 1F; + this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Calibri", 11F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 108.3333F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(124.2305F, 20F); + this.xrLabel7.StylePriority.UseBackColor = false; + this.xrLabel7.StylePriority.UseBorders = false; + this.xrLabel7.StylePriority.UseBorderWidth = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UsePadding = false; + this.xrLabel7.StylePriority.UseTextAlignment = false; + this.xrLabel7.Text = "Datum"; + this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // lblSummeAusfallstunden + // + this.lblSummeAusfallstunden.BackColor = System.Drawing.Color.Transparent; + this.lblSummeAusfallstunden.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSummeAusfallstunden.BorderWidth = 2F; + this.lblSummeAusfallstunden.Font = new DevExpress.Drawing.DXFont("Calibri", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblSummeAusfallstunden.LocationFloat = new DevExpress.Utils.PointFloat(925.1724F, 0F); + this.lblSummeAusfallstunden.Name = "lblSummeAusfallstunden"; + this.lblSummeAusfallstunden.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblSummeAusfallstunden.SizeF = new System.Drawing.SizeF(77.78741F, 20F); + this.lblSummeAusfallstunden.StylePriority.UseBackColor = false; + this.lblSummeAusfallstunden.StylePriority.UseBorders = false; + this.lblSummeAusfallstunden.StylePriority.UseBorderWidth = false; + this.lblSummeAusfallstunden.StylePriority.UseFont = false; + this.lblSummeAusfallstunden.StylePriority.UsePadding = false; + this.lblSummeAusfallstunden.StylePriority.UseTextAlignment = false; + this.lblSummeAusfallstunden.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // lblSummeWegepauschalen + // + this.lblSummeWegepauschalen.BackColor = System.Drawing.Color.Transparent; + this.lblSummeWegepauschalen.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSummeWegepauschalen.BorderWidth = 2F; + this.lblSummeWegepauschalen.Font = new DevExpress.Drawing.DXFont("Calibri", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.lblSummeWegepauschalen.LocationFloat = new DevExpress.Utils.PointFloat(814.0193F, 0F); + this.lblSummeWegepauschalen.Name = "lblSummeWegepauschalen"; + this.lblSummeWegepauschalen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblSummeWegepauschalen.SizeF = new System.Drawing.SizeF(111.153F, 20F); + this.lblSummeWegepauschalen.StylePriority.UseBackColor = false; + this.lblSummeWegepauschalen.StylePriority.UseBorders = false; + this.lblSummeWegepauschalen.StylePriority.UseBorderWidth = false; + this.lblSummeWegepauschalen.StylePriority.UseFont = false; + this.lblSummeWegepauschalen.StylePriority.UsePadding = false; + this.lblSummeWegepauschalen.StylePriority.UseTextAlignment = false; + this.lblSummeWegepauschalen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel6 + // + this.xrLabel6.BackColor = System.Drawing.Color.Transparent; + this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel6.BorderWidth = 2F; + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "fieldTotalFLSBilllable", "{0:0.00}")}); + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Calibri", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(652.0521F, 0F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(161.9671F, 20F); + this.xrLabel6.StylePriority.UseBackColor = false; + this.xrLabel6.StylePriority.UseBorders = false; + this.xrLabel6.StylePriority.UseBorderWidth = false; + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UsePadding = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel2 + // + this.xrLabel2.BackColor = System.Drawing.Color.Transparent; + this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel2.BorderWidth = 2F; + this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Calibri", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(515.9449F, 20.00001F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(136.1072F, 19.99998F); + this.xrLabel2.StylePriority.UseBackColor = false; + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseBorderWidth = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UsePadding = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Summe Minuten"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel1 + // + this.xrLabel1.BackColor = System.Drawing.Color.Transparent; + this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel1.BorderWidth = 2F; + this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.00}")}); + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Calibri", 11F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(515.9449F, 0F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(136.1072F, 20F); + this.xrLabel1.StylePriority.UseBackColor = false; + this.xrLabel1.StylePriority.UseBorders = false; + this.xrLabel1.StylePriority.UseBorderWidth = false; + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UsePadding = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.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"; + // + // wennGruppeAnzPersonen + // + this.wennGruppeAnzPersonen.DataMember = "Services"; + this.wennGruppeAnzPersonen.Expression = "Iif([CustomerCount] > 1,[CustomerCount],\'\')"; + this.wennGruppeAnzPersonen.Name = "wennGruppeAnzPersonen"; + // + // fieldTotalFLSBilllable + // + this.fieldTotalFLSBilllable.Expression = "[TotalFLMBillable] / 50"; + this.fieldTotalFLSBilllable.Name = "fieldTotalFLSBilllable"; + // + // QuittierungsbelegNiedersachsen + // + 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.wennGruppeAnzPersonen, + this.fieldTotalFLSBilllable}); + this.DataSource = this.bindingSource1; + this.Font = new DevExpress.Drawing.DXFont("Calibri", 11F); + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.formattingRuleStartDate, + this.formattingRuleServiceDesc, + this.formattingRuleCostBearer, + this.formattingRuleEmployeeName}); + this.Landscape = true; + this.Margins = new DevExpress.Drawing.DXMargins(31F, 30F, 121.8751F, 30F); + this.PageHeight = 827; + this.PageWidth = 1169; + this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; + this.Version = "23.2"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).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.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.XRLabel lblHeader; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell50; + private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel26; + private DevExpress.XtraReports.UI.XRLabel lblBewilligtFls; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel29; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; + private DevExpress.XtraReports.UI.XRLabel xrLabel31; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel lblRestbudget; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; + private DevExpress.XtraReports.UI.XRTableCell tcFLS; + private DevExpress.XtraReports.UI.XRTableCell tcWege; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell32; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell33; + private DevExpress.XtraReports.UI.CalculatedField wennGruppeAnzPersonen; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell34; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell35; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel lblSummeWegepauschalen; + private DevExpress.XtraReports.UI.XRLabel lblSummeAusfallstunden; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.CalculatedField fieldTotalFLSBilllable; + } +} \ No newline at end of file diff --git a/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.cs b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.cs new file mode 100644 index 000000000..19392a015 --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.cs @@ -0,0 +1,166 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text.RegularExpressions; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.ServiceImplementations; +using BS.Shared; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using DevExpress.XtraReports.UI; + +namespace DieBrueckeHilfeUndHalt +{ + public partial class QuittierungsbelegNiedersachsen : XtraReport, IBeWoReport + { + public QuittierungsbelegNiedersachsen() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + // Get calling method name + //StackTrace stackTrace = new StackTrace(); + //Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name); + + bool hatGruppen = false; + double minuten = 0; + + var cr = pRO.CostBearer2SupportConceptList[0].CostBearer.CostRatePeriods.Where(p => p.CostRateType == CostRatePeriodType.MinutesPerServiceUnit).OrderBy(c => c.EndDate).ToList(); + var currentFLSUnit = cr.FirstOrDefault(c => c.EndDate >= pRO.EndDate); + if (currentFLSUnit == null) + currentFLSUnit = cr[0]; + + if (pRO.Services != null) + { + List servicesBillable = new List(); + int summeWegepauschalen = 0; + int summeAusfallstunden = 0; + foreach (var sd in pRO.Services) + { + if (sd.IsBillable) + { + minuten += sd.Minutes; + + ServicesOverviewRO.CreateSignatureString(sd); + + // Spalte Gruppenangebot + if (sd.IsGroup) + { + hatGruppen = true; + sd.Notice3 = "1"; + } + + // Spalte für Wegepauschale setzen (wenn nicht bestimmte Leistung, dann ja) + if (!sd.ServiceDescription.ToLower().Contains("betriebsstätte") && !sd.ServiceDescription.ToLower().Contains("telefonat") && + !sd.ServiceDescription.ToLower().Contains("terminabsage")) + { + sd.Notice4 = "1"; + summeWegepauschalen++; + } + else + sd.Notice4 = ""; + + // Spalte für Ausfallstunden setzen (wenn Fehlbesuch, dann ja) + if (sd.ServiceCategory.ToLower().Contains("fehlbesuch") || sd.ServiceDescription.ToLower().Contains("fehlbesuch")) + { + sd.Notice5 = "1"; + summeAusfallstunden++; + } + else + sd.Notice5 = ""; + + servicesBillable.Add(sd); + } + } + + pRO.Services = servicesBillable; + lblSummeWegepauschalen.Text = string.Format("{0:0}", summeWegepauschalen); + lblSummeAusfallstunden.Text = string.Format("{0:0}", summeAusfallstunden); + } + + if (pRO.CostBearer2SupportConceptList != null && pRO.CostBearer2SupportConceptList.Count > 0) + { + var c2s = pRO.CostBearer2SupportConceptList[0]; + var dc = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(c2s); + + decimal bewilligteFLS = 0; + + foreach (var scap in dc.ApprovalPeriodList) + { + if (scap.ServiceCategory != null) + { + if (scap.ApprovedBEPerInterval.HasValue && scap.ApprovedBEInterval.HasValue && scap.ServiceCategory != null && scap.ServiceCategory.Name == pRO.Services[0].ServiceCategory) + { + bewilligteFLS = scap.ApprovedBEPerInterval.Value; + if (scap.ApprovedBEInterval.HasValue && scap.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Weekly) + pRO.ApprovedFLSTotal = Convert.ToDecimal((scap.EndDate.Value - scap.StartDate.Value).TotalDays / 7) * scap.ApprovedBEPerInterval.Value; + else if (scap.ApprovedBEInterval.HasValue && scap.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Monthly) + pRO.ApprovedFLSTotal = Convert.ToDecimal(((scap.EndDate.Value - scap.StartDate.Value).TotalDays + 1) / 30.44) * scap.ApprovedBEPerInterval.Value; + } + } + else + { + if (scap.ApprovedBEInterval.HasValue && scap.StartDate.HasValue && scap.EndDate.HasValue) + { + if (scap.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Weekly) + { + bewilligteFLS = scap.ApprovedBEPerInterval.Value; + pRO.ApprovedFLSTotal = Convert.ToDecimal((scap.EndDate.Value - scap.StartDate.Value).TotalDays / 7) * scap.ApprovedBEPerInterval.Value; + } + else if (scap.ApprovedBEInterval.HasValue && scap.ApprovedBEInterval.Value == SupportConceptApprovalInterval.Monthly) + { + bewilligteFLS = scap.ApprovedBEPerInterval.Value; + pRO.ApprovedFLSTotal = Convert.ToDecimal(((scap.EndDate.Value - scap.StartDate.Value).TotalDays + 1) / 30.44) * scap.ApprovedBEPerInterval.Value; + } + } + } + } + + lblBewilligtFls.Text = String.Format("{0:0.00}", bewilligteFLS); + } + + pRO.TotalFLMBillable = minuten; + + foreach (var s in pRO.Services) + s.FLSQualified = s.Minutes / Convert.ToDouble(currentFLSUnit.CostRateValue); + pRO.TotalFLSQualified = pRO.TotalFLMQualified / Convert.ToDouble(currentFLSUnit.CostRateValue); + + pRO.CalculateFLSSollIst2(); + lblRestbudget.Text = String.Format("{0:0.00}", pRO.ApprovedFLSTotal - pRO.MinutenGeleistetBisVormonat / currentFLSUnit.CostRateValue); + + 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); + 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); + } + } + } +} \ No newline at end of file diff --git a/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.resx b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.resx new file mode 100644 index 000000000..d58980a38 --- /dev/null +++ b/ReportImp/DieBrueckeHilfeUndHalt/QuittierungsbelegNiedersachsen.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/WahlEv/Invoicing/InvoiceCreationNachStunden.cs b/ReportImp/WahlEv/Invoicing/InvoiceCreationNachStunden.cs index 73d69099d..4c9afbc5e 100644 --- a/ReportImp/WahlEv/Invoicing/InvoiceCreationNachStunden.cs +++ b/ReportImp/WahlEv/Invoicing/InvoiceCreationNachStunden.cs @@ -49,8 +49,12 @@ namespace WahlEv.Invoicing { var sip = inv.ServiceInvoicePeriodList[0]; + decimal leistungsabrechnungUnitCount = 0; + foreach (var ip in inv.ServiceInvoicePeriodList) + leistungsabrechnungUnitCount += ip.InvoiceItemList.Sum(i => i.UnitCount.Value); + // Pauschale Sonderzahlung, die für alle gleich ist, die die Funktion "Kostenträger" haben - var pitem = CreateSonderZahlungPauschal(costBearer); + var pitem = CreateSonderZahlungPauschal(costBearer, leistungsabrechnungUnitCount); if (pitem != null) { sip.InvoiceItemList.Add(pitem); @@ -195,27 +199,27 @@ namespace WahlEv.Invoicing return 0; } - private InvoiceItem CreateSonderZahlungPauschal(CostBearer costBearer) + private InvoiceItem CreateSonderZahlungPauschal(CostBearer costBearer, decimal unitCount) { var function = costBearer.Organisation.Function; - if (function != null && function.Value.ToLower().Contains("kostenträger")) + if (function != null && function.Value.ToLower().Contains("kostenträger") && unitCount > 0) { var pauschale = GetPreis("Sonderzahlung laut Tarif", accountingPeriodStart.Value); return new InvoiceItem() { AccountingInterval = AccountingIntervalType.FlatRate, AmountPerUnit = pauschale, - AmountTotal = pauschale, + AmountTotal = pauschale * unitCount, ApprovalUnit = AccountingIntervalType.FlatRate, - ApprovedPerUnit = pauschale, - GrossAmountTotal = pauschale, + ApprovedPerUnit = pauschale * unitCount, + GrossAmountTotal = pauschale * unitCount, ItemDescription = "Sonderzahlung laut Tarif", ItemPeriodStart = accountingPeriodStart, ItemPeriodEnd = accountingPeriodEnd, - MaxApprovedAmount = pauschale, - MaxApprovedUnitCount = 1, + MaxApprovedAmount = pauschale * unitCount, + MaxApprovedUnitCount = unitCount, RateFactor = null, - UnitCount = 1, + UnitCount = unitCount, UnitDescription = "Sonderzahlung laut Tarif" }; } diff --git a/ReportImp/WahlEv/Properties/licenses.licx b/ReportImp/WahlEv/Properties/licenses.licx index e69de29bb..d59547a61 100644 --- a/ReportImp/WahlEv/Properties/licenses.licx +++ b/ReportImp/WahlEv/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a