From 4779708bd3c721ebc1f0f4468c5692bebe0cc015 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 30 Mar 2023 23:14:48 +0200 Subject: [PATCH 1/8] Bugfix Prozent Abrechenbar und Prozent Stundenkonto + FibuNet Export --- BeWoPlanerMobil/BeWoPlanerMobil.csproj | 2 +- BeWoPlanerMobil/BeWoPlanerMobil.csproj.user | 4 +- Report/ReportObjects/FinanceRO.cs | 4 +- .../MitarbeiterstundenkontoBerechnung.cs | 46 +- ReportImp/AsbRuhr/Export/FibuNetExporter.cs | 44 +- .../Invoicing/AssistenzInvoiceCreation.cs | 2 +- .../CustomSettlementInvoiceCreation.cs | 4 +- .../QuittierungsbelegAssistenz.Designer.cs | 34 +- .../QuittierungsbelegMitDatum.Designer.cs | 34 +- .../DiePerspektive/DiePerspektive.csproj | 2 + .../DiePerspektive/Export/FibuNetExporter.cs | 43 +- .../Invoicing/AssistenzInvoiceCreation.cs | 105 +++ .../Invoicing/CustomInvoiceFactory.cs | 40 +- .../CustomSettlementInvoiceCreation.cs | 70 ++ .../Invoicing/DefaultInvoiceCreation.cs | 2 +- .../Wichernhaus/Budgetnachweis.Designer.cs | 598 ++++++++++++++++++ ReportImp/Wichernhaus/Budgetnachweis.cs | 253 ++++++++ ReportImp/Wichernhaus/Budgetnachweis.resx | 131 ++++ .../Wichernhaus/Budgetnachweis2.Designer.cs | 341 ++++++++++ ReportImp/Wichernhaus/Budgetnachweis2.cs | 69 ++ ReportImp/Wichernhaus/Budgetnachweis2.resx | 131 ++++ ReportImp/Wichernhaus/CustomReportCreator.cs | 22 + .../Invoicing/CustomInvoiceCreation.cs | 6 +- .../Invoicing/CustomInvoiceFactory.cs | 7 +- .../CustomSettlementInvoiceCreation.cs | 25 + ReportImp/Wichernhaus/Wichernhaus.csproj | 22 + .../Plugins/ServiceRecordStatisticFactory.cs | 2 +- .../EmployeeServiceImp.cs | 4 +- Shared/Services/Calculations.cs | 55 +- 29 files changed, 2037 insertions(+), 65 deletions(-) create mode 100644 ReportImp/DiePerspektive/Invoicing/AssistenzInvoiceCreation.cs create mode 100644 ReportImp/DiePerspektive/Invoicing/CustomSettlementInvoiceCreation.cs create mode 100644 ReportImp/Wichernhaus/Budgetnachweis.Designer.cs create mode 100644 ReportImp/Wichernhaus/Budgetnachweis.cs create mode 100644 ReportImp/Wichernhaus/Budgetnachweis.resx create mode 100644 ReportImp/Wichernhaus/Budgetnachweis2.Designer.cs create mode 100644 ReportImp/Wichernhaus/Budgetnachweis2.cs create mode 100644 ReportImp/Wichernhaus/Budgetnachweis2.resx create mode 100644 ReportImp/Wichernhaus/CustomReportCreator.cs create mode 100644 ReportImp/Wichernhaus/Invoicing/CustomSettlementInvoiceCreation.cs diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj index 98b1aae69..1434649d7 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj @@ -25828,7 +25828,7 @@ - True + False False 8808 / diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user index bcc1a01ff..29ada5c86 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user @@ -8,7 +8,7 @@ - Debug|Any CPU + Release|Any CPU ShowAllFiles 600 MvcControllerEmptyScaffolder @@ -29,7 +29,7 @@ http://localhost/BeWoPlanerMobil - CurrentPage + URL True False False diff --git a/Report/ReportObjects/FinanceRO.cs b/Report/ReportObjects/FinanceRO.cs index 2e1859bdf..07dbac41a 100644 --- a/Report/ReportObjects/FinanceRO.cs +++ b/Report/ReportObjects/FinanceRO.cs @@ -210,7 +210,7 @@ namespace BeWo.Report.ReportObjects if (srDc.Start >= start && srDc.Start.Value.Date <= end.Value.Date) { - var billable = calc.GetBillableDurationInMinutes(srDc) / 60; + var billable = calc.GetBillableDurationInMinutes(srDc, true) / 60; ro.BillableHoursInReportTimeSpan += billable; var rfcr = costRateDcs.GetCostRatePeriodForDate(CostRatePeriodType.RateFactor, srDc.Start.Value); @@ -317,7 +317,7 @@ namespace BeWo.Report.ReportObjects { var dc = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(serviceRecordtemp); - var billable = calc.GetBillableDurationInMinutes(dc) / 60; + var billable = calc.GetBillableDurationInMinutes(dc, true) / 60; ro.BillableHoursInReportTimeSpan += billable; var rfcr = costRateDcs.GetCostRatePeriodForDate(CostRatePeriodType.RateFactor, serviceRecordtemp.Start.Value); diff --git a/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs b/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs index 50048190a..e5b257e46 100644 --- a/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs +++ b/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs @@ -987,6 +987,21 @@ namespace BeWo.Report.ReportObjects duration *= (prozent / 100); } + else + { + decimal prozent = 100; + if (item.ServiceDescription.ProzentStundenkonto.HasValue) + { + prozent = item.ServiceDescription.ProzentStundenkonto.Value; + } + else if (item.ServiceDescription.ServiceCategory.ProzentStundenkonto.HasValue) + { + prozent = item.ServiceDescription.ServiceCategory.ProzentStundenkonto.Value; + } + + + duration *= (prozent / 100); + } if (item.ServiceDescription != null && item.ServiceDescription.ServiceCategory != null && @@ -1522,7 +1537,20 @@ namespace BeWo.Report.ReportObjects } } - return duration; + decimal prozent = 100; + if (sr.ServiceDescription.ProzentStundenkonto.HasValue) + { + prozent = sr.ServiceDescription.ProzentStundenkonto.Value; + } + else if (sr.ServiceDescription.ServiceCategory.ProzentStundenkonto.HasValue) + { + prozent = sr.ServiceDescription.ServiceCategory.ProzentStundenkonto.Value; + } + + + duration *= (prozent / 100); + + return duration; } public virtual void CalculateSpecialHours(MitarbeiterstundenkontoRO.DayDetail dd, ServiceRecord sr, decimal duration) @@ -1899,8 +1927,22 @@ namespace BeWo.Report.ReportObjects } duration = (duration * prozent) / 100; } + else + { + decimal prozent = 100; + if (item.ServiceDescription.ProzentStundenkonto.HasValue) + { + prozent = item.ServiceDescription.ProzentStundenkonto.Value; + } + else if (item.ServiceDescription.ServiceCategory.ProzentStundenkonto.HasValue) + { + prozent = item.ServiceDescription.ServiceCategory.ProzentStundenkonto.Value; + } - minutenMonat += duration; + + duration *= (prozent / 100); + } + minutenMonat += duration; if (item.ServiceDescription != null && item.ServiceDescription.ServiceCategory != null && diff --git a/ReportImp/AsbRuhr/Export/FibuNetExporter.cs b/ReportImp/AsbRuhr/Export/FibuNetExporter.cs index c95c98466..614e811c3 100644 --- a/ReportImp/AsbRuhr/Export/FibuNetExporter.cs +++ b/ReportImp/AsbRuhr/Export/FibuNetExporter.cs @@ -9,6 +9,7 @@ using BeWo.Data.Access; using BeWo.Data.Entities; using BeWo.Report.ReportObjects; using BeWo.Service.DCEntityMapper; +using BeWo.Service.Plugins; using BS.Shared.Core; using BS.Shared.DataContracts; using BS.Shared.DataContracts.Compact; @@ -221,11 +222,17 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) sb.AppendLine(String.Format("( ):1000;;{0:ddMMyyyy}", date)); int rowIndex = 1; + var invoiceNumber = DAOFactory.GenericDAO.LoadByID(2); + long number = invoiceNumber.CurrentNumber; + + foreach (DataRow row in dt.Rows) { if (!String.IsNullOrEmpty(row[3].ToString())) { var ds = ErstelleFibuNetDatensatz(row); + String nextInvoiceNumber = ApplyPattern(invoiceNumber.Pattern, number++); + ds.Belegnr = nextInvoiceNumber; Erstelle1100Satz(sb, ds); sb.AppendLine(); Erstelle1110Satz(sb, ds); @@ -235,11 +242,47 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) rowIndex++; } + DAOFactory.GenericDAO.Update(invoiceNumber); + sb.AppendLine(String.Format("( ):5;")); return sb.ToString(); } + private static String ApplyPattern(String pattern, long number) + { + string next = pattern; + + if (!String.IsNullOrEmpty(next)) + { + int pos = next.IndexOf("{n"); + if (pos >= 0) + { + int stop = next.IndexOf("}", pos); + if (stop > pos) + { + int nCount = stop - pos - 1; + + String nextNumberStr = number.ToString(); + + while (nextNumberStr.Length < nCount) + nextNumberStr = "0" + nextNumberStr; + + next = next.Replace(next.Substring(pos, stop - pos + 1), nextNumberStr); + } + } + + next = next.Replace("{jj}", String.Format("{0:yy}", DateTime.Now.Date)); + next = next.Replace("{jjjj}", String.Format("{0:yyyy}", DateTime.Now.Date)); + + next = next.Replace("{MM}", String.Format("{0:MM}", DateTime.Now.Date)); + next = next.Replace("{mm}", String.Format("{0:MM}", DateTime.Now.Date)); + + } + + return next; + } + private static FibuNetDatensatz ErstelleFibuNetDatensatz(DataRow row) { var ds = new FibuNetDatensatz(); @@ -413,7 +456,6 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) //Berechne Differenz, weil die mit ausgegeben werden soll if (satzAlt.Debitor == satzNeu.Debitor && satzAlt.Kostenstelle == satzNeu.Kostenstelle && - satzAlt.Belegnr == satzNeu.Belegnr && satzAlt.Erloeskonto == satzNeu.Erloeskonto && satzAlt.Buchungstext == satzNeu.Buchungstext && satzAlt.Belegdatum == satzNeu.Belegdatum) diff --git a/ReportImp/AsbRuhr/Invoicing/AssistenzInvoiceCreation.cs b/ReportImp/AsbRuhr/Invoicing/AssistenzInvoiceCreation.cs index b7fc37791..14be7cc1f 100644 --- a/ReportImp/AsbRuhr/Invoicing/AssistenzInvoiceCreation.cs +++ b/ReportImp/AsbRuhr/Invoicing/AssistenzInvoiceCreation.cs @@ -40,7 +40,7 @@ namespace AsbRuhr.Invoicing public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc) { - if (!iServiceRecord.ServiceDescription.CategoryName.StartsWith("Assistenz")) + if (iServiceRecord.ServiceDescription.CategoryName.ToLower().Contains("fachleistung")) { return null; } diff --git a/ReportImp/AsbRuhr/Invoicing/CustomSettlementInvoiceCreation.cs b/ReportImp/AsbRuhr/Invoicing/CustomSettlementInvoiceCreation.cs index 5c53e5770..67879ecd2 100644 --- a/ReportImp/AsbRuhr/Invoicing/CustomSettlementInvoiceCreation.cs +++ b/ReportImp/AsbRuhr/Invoicing/CustomSettlementInvoiceCreation.cs @@ -23,7 +23,7 @@ namespace AsbRuhr.Invoicing public override bool IsServiceRecordBillable(ServiceRecord iRecord) { - if (iRecord.ServiceDescription.ServiceCategory.Name.StartsWith("Assistenz")) + if (!iRecord.ServiceDescription.ServiceCategory.Name.ToLower().Contains("fachleistung")) { return false; } @@ -54,7 +54,7 @@ namespace AsbRuhr.Invoicing si.ApprovedFLS = 0; foreach (var sp in relDC.ApprovalPeriodList) { - if (sp.ServiceCategory == null || !sp.ServiceCategory.Name.StartsWith("Assistenz")) + if (sp.ServiceCategory == null || sp.ServiceCategory.Name.ToLower().Contains("fachleistung")) { si.ApprovedFLSWeekly += calc.GetApprovedHoursPerWeek(sp, relDC.CostBearer.CostRatePeriods) ?? 0m; diff --git a/ReportImp/AsbRuhr/QuittierungsbelegAssistenz.Designer.cs b/ReportImp/AsbRuhr/QuittierungsbelegAssistenz.Designer.cs index 46c5eeb92..0b866bbfb 100644 --- a/ReportImp/AsbRuhr/QuittierungsbelegAssistenz.Designer.cs +++ b/ReportImp/AsbRuhr/QuittierungsbelegAssistenz.Designer.cs @@ -84,6 +84,7 @@ namespace AsbRuhr this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel(); @@ -126,7 +127,6 @@ namespace AsbRuhr this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldFls = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -277,6 +277,8 @@ namespace AsbRuhr // // xrTableCell44 // + this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.SignatureDate", "{0:dd.MM.yyyy}")}); this.xrTableCell44.Name = "xrTableCell44"; this.xrTableCell44.StylePriority.UseBorders = false; this.xrTableCell44.StylePriority.UseFont = false; @@ -834,6 +836,21 @@ namespace AsbRuhr this.GroupFooter1.KeepTogether = true; this.GroupFooter1.Name = "GroupFooter1"; // + // xrLabel20 + // + this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(320F, 20F); + this.xrLabel20.StylePriority.UseBackColor = false; + this.xrLabel20.StylePriority.UseBorders = false; + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.StylePriority.UsePadding = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.Text = "F = Fehlkontakt"; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel2 // this.xrLabel2.BackColor = System.Drawing.Color.Transparent; @@ -1332,21 +1349,6 @@ namespace AsbRuhr // this.fieldFls.Name = "fieldFls"; // - // xrLabel20 - // - this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F); - this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); - this.xrLabel20.Name = "xrLabel20"; - this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel20.SizeF = new System.Drawing.SizeF(320F, 20F); - this.xrLabel20.StylePriority.UseBackColor = false; - this.xrLabel20.StylePriority.UseBorders = false; - this.xrLabel20.StylePriority.UseFont = false; - this.xrLabel20.StylePriority.UsePadding = false; - this.xrLabel20.StylePriority.UseTextAlignment = false; - this.xrLabel20.Text = "F = Fehlkontakt"; - this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // // QuittierungsbelegAssistenz // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { diff --git a/ReportImp/AsbRuhr/QuittierungsbelegMitDatum.Designer.cs b/ReportImp/AsbRuhr/QuittierungsbelegMitDatum.Designer.cs index 34e830ba7..879122d48 100644 --- a/ReportImp/AsbRuhr/QuittierungsbelegMitDatum.Designer.cs +++ b/ReportImp/AsbRuhr/QuittierungsbelegMitDatum.Designer.cs @@ -84,6 +84,7 @@ namespace AsbRuhr this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel(); @@ -125,7 +126,6 @@ namespace AsbRuhr this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -276,6 +276,8 @@ namespace AsbRuhr // // xrTableCell44 // + this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.SignatureDate", "{0:dd.MM.yyyy}")}); this.xrTableCell44.Name = "xrTableCell44"; this.xrTableCell44.StylePriority.UseBorders = false; this.xrTableCell44.StylePriority.UseFont = false; @@ -833,6 +835,21 @@ namespace AsbRuhr this.GroupFooter1.KeepTogether = true; this.GroupFooter1.Name = "GroupFooter1"; // + // xrLabel22 + // + this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(320F, 20F); + this.xrLabel22.StylePriority.UseBackColor = false; + this.xrLabel22.StylePriority.UseBorders = false; + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UsePadding = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "F = Fehlkontakt"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { @@ -1327,21 +1344,6 @@ namespace AsbRuhr this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // - // xrLabel22 - // - this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F); - this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); - this.xrLabel22.Name = "xrLabel22"; - this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel22.SizeF = new System.Drawing.SizeF(320F, 20F); - this.xrLabel22.StylePriority.UseBackColor = false; - this.xrLabel22.StylePriority.UseBorders = false; - this.xrLabel22.StylePriority.UseFont = false; - this.xrLabel22.StylePriority.UsePadding = false; - this.xrLabel22.StylePriority.UseTextAlignment = false; - this.xrLabel22.Text = "F = Fehlkontakt"; - this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // // Quittierungsbeleg2 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { diff --git a/ReportImp/DiePerspektive/DiePerspektive.csproj b/ReportImp/DiePerspektive/DiePerspektive.csproj index 4bf1965b6..78a088ac7 100644 --- a/ReportImp/DiePerspektive/DiePerspektive.csproj +++ b/ReportImp/DiePerspektive/DiePerspektive.csproj @@ -76,7 +76,9 @@ InvoiceCustomerReport.cs + + diff --git a/ReportImp/DiePerspektive/Export/FibuNetExporter.cs b/ReportImp/DiePerspektive/Export/FibuNetExporter.cs index 24f6baded..ce68e94d4 100644 --- a/ReportImp/DiePerspektive/Export/FibuNetExporter.cs +++ b/ReportImp/DiePerspektive/Export/FibuNetExporter.cs @@ -222,11 +222,16 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) sb.AppendLine(String.Format("( ):1000;;{0:ddMMyyyy}", date)); int rowIndex = 1; + var invoiceNumber = DAOFactory.GenericDAO.LoadByID(2); + long number = invoiceNumber.CurrentNumber; + foreach (DataRow row in dt.Rows) { if (!String.IsNullOrEmpty(row[3].ToString())) { var ds = ErstelleFibuNetDatensatz(row); + String nextInvoiceNumber = ApplyPattern(invoiceNumber.Pattern, number++); + ds.Belegnr = nextInvoiceNumber; Erstelle1100Satz(sb, ds); sb.AppendLine(); Erstelle1110Satz(sb, ds); @@ -235,12 +240,49 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) rowIndex++; } + invoiceNumber.CurrentNumber = number; + + DAOFactory.GenericDAO.Update(invoiceNumber); sb.AppendLine(String.Format("( ):5;")); return sb.ToString(); } + private static String ApplyPattern(String pattern, long number) + { + string next = pattern; + + if (!String.IsNullOrEmpty(next)) + { + int pos = next.IndexOf("{n"); + if (pos >= 0) + { + int stop = next.IndexOf("}", pos); + if (stop > pos) + { + int nCount = stop - pos - 1; + + String nextNumberStr = number.ToString(); + + while (nextNumberStr.Length < nCount) + nextNumberStr = "0" + nextNumberStr; + + next = next.Replace(next.Substring(pos, stop - pos + 1), nextNumberStr); + } + } + + next = next.Replace("{jj}", String.Format("{0:yy}", DateTime.Now.Date)); + next = next.Replace("{jjjj}", String.Format("{0:yyyy}", DateTime.Now.Date)); + + next = next.Replace("{MM}", String.Format("{0:MM}", DateTime.Now.Date)); + next = next.Replace("{mm}", String.Format("{0:MM}", DateTime.Now.Date)); + + } + + return next; + } + private static FibuNetDatensatz ErstelleFibuNetDatensatz(DataRow row) { var ds = new FibuNetDatensatz(); @@ -414,7 +456,6 @@ Alternativ wäre der 1120er Satz mit einzubauen (ab Seite 61) //Berechne Differenz, weil die mit ausgegeben werden soll if (satzAlt.Debitor == satzNeu.Debitor && satzAlt.Kostenstelle == satzNeu.Kostenstelle && - satzAlt.Belegnr == satzNeu.Belegnr && satzAlt.Erloeskonto == satzNeu.Erloeskonto && satzAlt.Buchungstext == satzNeu.Buchungstext && satzAlt.Belegdatum == satzNeu.Belegdatum) diff --git a/ReportImp/DiePerspektive/Invoicing/AssistenzInvoiceCreation.cs b/ReportImp/DiePerspektive/Invoicing/AssistenzInvoiceCreation.cs new file mode 100644 index 000000000..38345911c --- /dev/null +++ b/ReportImp/DiePerspektive/Invoicing/AssistenzInvoiceCreation.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.Invoicing; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; +using BS.Shared.Services; + +namespace DiePerspektive.Invoicing +{ + + public class CustomAssistenzInvoiceCreation : InvoiceCreation + { + private const decimal AMOUNT_PER_EINSATZ_DEFAULT = 2m; + + + private DateTime? accountingPeriodStart = null; + private DateTime? accountingPeriodEnd = null; + + public override void SetInvoiceId(ServiceInvoice invoice) + { + invoice.InvoiceBase.InvoiceId = "Assistenz"; + invoice.InvoiceBase.InvoiceTypeText = "Rechnung"; + } + + public override void SetInvoiceBaseData(int invoiceCounter, ServiceInvoice invoice, CostBearer costBearer, DateTimeSpan invoicePeriod, + IList supportConceptList) + { + if (invoicePeriod != null) + { + accountingPeriodStart = invoicePeriod.StartDate; + accountingPeriodEnd = invoicePeriod.EndDate; + } + base.SetInvoiceBaseData(invoiceCounter, invoice, costBearer, invoicePeriod, supportConceptList); + } + + public override InvoiceItem CreateInvoiceItem(ServiceRecordDC iServiceRecord, SupportConceptApprovalPeriod scap, Calculations calc) + { + if (iServiceRecord.ServiceDescription.CategoryName.ToLower().Contains("fachleistung")) + { + return null; + } + return base.CreateInvoiceItem(iServiceRecord, scap, calc); + } + + public override IList CreateInvoiceItems(List serviceRecordsInPeriod, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, + Calculations calc) + { + var list = base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc); + var fitem = CreateFahrtkostenItem(serviceRecordsInPeriod, scap); + + if (fitem != null) + { + list.Add(fitem); + } + return list; + } + + private InvoiceItem CreateFahrtkostenItem(List serviceRecords, SupportConceptApprovalPeriod scap) + { + + decimal amountPerKm = AMOUNT_PER_EINSATZ_DEFAULT; + + int count = 0; + foreach (var sr in serviceRecords) + { + if (sr.ServiceDescription.CategoryName.StartsWith("Assistenz")) + { + count++; + } + } + + + InvoiceItem ii = null; + if (count > 0) + { + + ii = new InvoiceItem(); + ii.AmountPerUnit = AMOUNT_PER_EINSATZ_DEFAULT; + ii.UnitCount = count; + ii.AmountTotal = count * AMOUNT_PER_EINSATZ_DEFAULT; + ii.ItemPeriodStart = accountingPeriodStart; + ii.ItemPeriodEnd = accountingPeriodEnd; + ii.RateFactor = null; + ii.GrossAmountTotal = ii.AmountTotal; + ii.ItemDescription = "Anfahrtspauschale"; + ii.UnitDescription = "Anfahrtspauschale"; + ii.SupportConceptApprovalPeriodOid = scap.Oid; + + } + + return ii; + } + + //public override IList CreateSummaryInvoiceItems(IList itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, + // Calculations calc) + //{ + // return itemList; + //} + } +} diff --git a/ReportImp/DiePerspektive/Invoicing/CustomInvoiceFactory.cs b/ReportImp/DiePerspektive/Invoicing/CustomInvoiceFactory.cs index e6ab979fe..ed40543fa 100644 --- a/ReportImp/DiePerspektive/Invoicing/CustomInvoiceFactory.cs +++ b/ReportImp/DiePerspektive/Invoicing/CustomInvoiceFactory.cs @@ -12,11 +12,41 @@ namespace DiePerspektive.Invoicing public class CustomInvoiceFactory : InvoiceFactory { - public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords) - { + public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary> supportConcepts2ServiceRecords) + { + foreach (var list in supportConcepts2ServiceRecords.Values) + { - return new DefaultInvoiceCreation(); - } + foreach (var sr in list) + { + var sd = sr.ServiceDescription.Category; + var ic = GetInvoiceCreatorForCategory(sd); + if (ic != null) + return ic; + } + } + return new DefaultInvoiceCreation(); + } - } + private InvoiceCreation GetInvoiceCreatorForCategory(ServiceCategoryDC sd) + { + if (sd != null && !String.IsNullOrEmpty(sd.Name)) + { + String cat = sd.Name.ToLower().Trim(); + if (!cat.Contains("fachleistung")) + { + return new CustomAssistenzInvoiceCreation(); + } + + } + return null; + } + + public override SettlementInvoiceCreation CreateSettlementInvoiceCreator(string costbearerId, string tenant, CostBearer2SupportConcept lCb2Sc) + { + return new CustomSettlementInvoiceCreation(); + + } + + } } diff --git a/ReportImp/DiePerspektive/Invoicing/CustomSettlementInvoiceCreation.cs b/ReportImp/DiePerspektive/Invoicing/CustomSettlementInvoiceCreation.cs new file mode 100644 index 000000000..640c67ac0 --- /dev/null +++ b/ReportImp/DiePerspektive/Invoicing/CustomSettlementInvoiceCreation.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Invoicing; +using BS.Shared; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using BS.Shared.Extensions; +using BS.Shared.Services; + +namespace DiePerspektive.Invoicing +{ + internal class CustomSettlementInvoiceCreation : SettlementInvoiceCreation + { + public override IList GetBillableServiceRecords(CostBearer2SupportConcept c2s) + { + return c2s.ServiceRecords.Where(IsServiceRecordBillable).ToList(); + } + + public override bool IsServiceRecordBillable(ServiceRecord iRecord) + { + if (!iRecord.ServiceDescription.ServiceCategory.Name.ToLower().Contains("fachleistung")) + { + return false; + } + return true; + } + + public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s) + { + var relDC = c2s.MapToNewDC(); + var hourlyRatesInSpanList = relDC.CostBearer.CostRatePeriods.GetSpans(CostRatePeriodType.HourlyRate, + si.AccountingPeriodStart.Value.Date, si.AccountingPeriodEnd.Value.Date).ToList(); + if (hourlyRatesInSpanList.Count > 3) + return false; + + var factorInSpanList = relDC.CostBearer.CostRatePeriods.GetSpans(CostRatePeriodType.RateFactor, + si.AccountingPeriodStart.Value.Date, si.AccountingPeriodEnd.Value.Date).ToList(); + if (factorInSpanList.Count > 1) + return false; + + + return true; + } + + public override void CalculateSettlementInvoiceApprovedAmounts(Settlement2DC si, SupportConceptCostBearerRelDC relDC, + Calculations calc) + { + si.ApprovedFLSWeekly = 0; + si.ApprovedFLS = 0; + foreach (var sp in relDC.ApprovalPeriodList) + { + if (sp.ServiceCategory == null || sp.ServiceCategory.Name.ToLower().Contains("fachleistung")) + { + si.ApprovedFLSWeekly += calc.GetApprovedHoursPerWeek(sp, relDC.CostBearer.CostRatePeriods) ?? 0m; + + decimal flsTotal = calc.GetApprovedHoursTotal(sp, relDC.CostBearer.CostRatePeriods) ?? 0m; + flsTotal = Math.Round(flsTotal, 2, MidpointRounding.AwayFromZero); + + si.ApprovedFLS += flsTotal; + } + } + + } + } +} diff --git a/ReportImp/DiePerspektive/Invoicing/DefaultInvoiceCreation.cs b/ReportImp/DiePerspektive/Invoicing/DefaultInvoiceCreation.cs index 9991acc08..3c30da384 100644 --- a/ReportImp/DiePerspektive/Invoicing/DefaultInvoiceCreation.cs +++ b/ReportImp/DiePerspektive/Invoicing/DefaultInvoiceCreation.cs @@ -13,7 +13,7 @@ using BS.Shared.Services; namespace DiePerspektive.Invoicing { - + public class DefaultInvoiceCreation : InvoiceCreation { diff --git a/ReportImp/Wichernhaus/Budgetnachweis.Designer.cs b/ReportImp/Wichernhaus/Budgetnachweis.Designer.cs new file mode 100644 index 000000000..50d49a70f --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis.Designer.cs @@ -0,0 +1,598 @@ +namespace Wichernhaus +{ + partial class Budgetnachweis + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Budgetnachweis)); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); + this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); + this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox(); + this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); + this.tableRechnungspositionen = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); + this.cellStart1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellEnd1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellHourlyRate1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellFLS1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.cellStart2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellEnd2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellHourlyRate2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellFLS2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); + this.cellStart3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellEnd3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellHourlyRate3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.cellFLS3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + ((System.ComponentModel.ISupportInitialize)(this.tableRechnungspositionen)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel16, + this.xrLabel10, + this.xrLabel7, + this.xrLabel14, + this.xrLabel15}); + this.Detail.HeightF = 278.3333F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel16 + // + this.xrLabel16.BackColor = System.Drawing.Color.Transparent; + this.xrLabel16.CanShrink = true; + this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(60.0001F, 10.00001F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(435.4167F, 23.24998F); + this.xrLabel16.StylePriority.UseBackColor = false; + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.Text = "Ambulant Betreutes Wohnen - Budgetnachweis"; + this.xrLabel16.WordWrap = false; + // + // xrLabel10 + // + this.xrLabel10.BackColor = System.Drawing.Color.Transparent; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(60F, 224.0828F); + 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(642F, 27.08333F); + this.xrLabel10.StylePriority.UseBackColor = false; + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Im Bewilligungszeitraum tatsächlich geleistete Fachleistungsstunden (FLS)"; + // + // xrLabel7 + // + this.xrLabel7.BackColor = System.Drawing.Color.Transparent; + this.xrLabel7.CanShrink = true; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(60F, 179.8749F); + this.xrLabel7.Multiline = true; + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel7.StylePriority.UseBackColor = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.Text = "Bewilligungszeitraum vom [AccountingPeriod]"; + this.xrLabel7.WordWrap = false; + // + // xrLabel14 + // + this.xrLabel14.BackColor = System.Drawing.Color.Transparent; + this.xrLabel14.CanShrink = true; + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(60F, 159.8749F); + this.xrLabel14.Multiline = true; + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel14.StylePriority.UseBackColor = false; + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.Text = "Aktenzeichen LWL: [CustomerReferenceNumber]"; + this.xrLabel14.WordWrap = false; + // + // xrLabel15 + // + this.xrLabel15.BackColor = System.Drawing.Color.Transparent; + this.xrLabel15.CanShrink = true; + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(60F, 139.8749F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel15.StylePriority.UseBackColor = false; + this.xrLabel15.StylePriority.UseFont = false; + this.xrLabel15.Text = "für [Salutation2] [CustomerName], geb. [CustomerBirthdayString]"; + this.xrLabel15.WordWrap = false; + // + // xrLine2 + // + this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(65.00015F, 274.3801F); + this.xrLine2.Name = "xrLine2"; + this.xrLine2.SizeF = new System.Drawing.SizeF(270F, 9.75F); + // + // xrLine1 + // + this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(65.00015F, 204.38F); + this.xrLine1.Name = "xrLine1"; + this.xrLine1.SizeF = new System.Drawing.SizeF(309.5687F, 9.749969F); + // + // xrLabel35 + // + this.xrLabel35.BackColor = System.Drawing.Color.Transparent; + this.xrLabel35.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel35.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold); + this.xrLabel35.LocationFloat = new DevExpress.Utils.PointFloat(65.00015F, 214.13F); + this.xrLabel35.Multiline = true; + this.xrLabel35.Name = "xrLabel35"; + this.xrLabel35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel35.SizeF = new System.Drawing.SizeF(236.697F, 17F); + this.xrLabel35.StylePriority.UseBackColor = false; + this.xrLabel35.StylePriority.UseBorders = false; + this.xrLabel35.StylePriority.UseFont = false; + this.xrLabel35.Text = "Stempel, Unterschrift"; + this.xrLabel35.WordWrap = false; + // + // xrLabel12 + // + this.xrLabel12.BackColor = System.Drawing.Color.Transparent; + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(65.00021F, 67.71322F); + this.xrLabel12.Multiline = true; + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(646.9999F, 120.3334F); + this.xrLabel12.StylePriority.UseBackColor = false; + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = resources.GetString("xrLabel12.Text"); + // + // xrCheckBox2 + // + this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(424.5832F, 9.999974F); + this.xrCheckBox2.Name = "xrCheckBox2"; + this.xrCheckBox2.SizeF = new System.Drawing.SizeF(211.0832F, 21.875F); + this.xrCheckBox2.StylePriority.UseFont = false; + this.xrCheckBox2.Text = " Die Betreuung dauert an."; + // + // xrCheckBox1 + // + this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(65.00015F, 9.999974F); + this.xrCheckBox1.Name = "xrCheckBox1"; + this.xrCheckBox1.SizeF = new System.Drawing.SizeF(359.5833F, 21.875F); + this.xrCheckBox1.StylePriority.UseFont = false; + this.xrCheckBox1.Text = " Die Betreuung wurde am beendet."; + // + // tableRechnungspositionen + // + this.tableRechnungspositionen.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.tableRechnungspositionen.LocationFloat = new DevExpress.Utils.PointFloat(60.0001F, 0F); + this.tableRechnungspositionen.Name = "tableRechnungspositionen"; + this.tableRechnungspositionen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); + this.tableRechnungspositionen.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2, + this.xrTableRow5, + this.xrTableRow6, + this.xrTableRow8}); + this.tableRechnungspositionen.SizeF = new System.Drawing.SizeF(641.9999F, 102F); + this.tableRechnungspositionen.StylePriority.UseBorders = false; + this.tableRechnungspositionen.StylePriority.UseFont = false; + this.tableRechnungspositionen.StylePriority.UsePadding = false; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2, + this.xrTableCell4, + this.xrTableCell13, + this.xrTableCell5, + this.xrTableCell14}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.0338469304739562D; + // + // xrTableCell2 + // + this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell2.Multiline = true; + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.Text = "Zeitraum von"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell2.Weight = 0.56074779116335471D; + // + // xrTableCell4 + // + this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.StylePriority.UseBorders = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.Text = "bis"; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + this.xrTableCell4.Weight = 0.56074776739576848D; + // + // xrTableCell13 + // + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.Text = "Vergütung pro Std."; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell13.Weight = 0.700934509358181D; + // + // xrTableCell5 + // + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.StylePriority.UseTextAlignment = false; + this.xrTableCell5.Text = "Anzahl FLS"; + this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell5.Weight = 0.51401872857292652D; + // + // xrTableCell14 + // + this.xrTableCell14.Multiline = true; + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.Text = "davon gesondert\r\nbewilligt"; + this.xrTableCell14.Weight = 0.663551203509769D; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.cellStart1, + this.cellEnd1, + this.cellHourlyRate1, + this.cellFLS1, + this.xrTableCell20}); + this.xrTableRow5.Name = "xrTableRow5"; + this.xrTableRow5.Weight = 0.49230806213045519D; + // + // cellStart1 + // + this.cellStart1.Name = "cellStart1"; + this.cellStart1.Weight = 0.56074779116335471D; + // + // cellEnd1 + // + this.cellEnd1.Name = "cellEnd1"; + this.cellEnd1.Weight = 0.56074776739576848D; + // + // cellHourlyRate1 + // + this.cellHourlyRate1.Name = "cellHourlyRate1"; + this.cellHourlyRate1.Weight = 0.700934509358181D; + // + // cellFLS1 + // + this.cellFLS1.Name = "cellFLS1"; + this.cellFLS1.Weight = 0.51401872857292652D; + // + // xrTableCell20 + // + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.Weight = 0.663551203509769D; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.cellStart2, + this.cellEnd2, + this.cellHourlyRate2, + this.cellFLS2, + this.xrTableCell21}); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.Weight = 0.4923080621304553D; + // + // cellStart2 + // + this.cellStart2.Name = "cellStart2"; + this.cellStart2.Weight = 0.56074779116335471D; + // + // cellEnd2 + // + this.cellEnd2.Name = "cellEnd2"; + this.cellEnd2.Weight = 0.56074776739576848D; + // + // cellHourlyRate2 + // + this.cellHourlyRate2.Name = "cellHourlyRate2"; + this.cellHourlyRate2.Weight = 0.700934509358181D; + // + // cellFLS2 + // + this.cellFLS2.Name = "cellFLS2"; + this.cellFLS2.Weight = 0.51401872857292652D; + // + // xrTableCell21 + // + this.xrTableCell21.Name = "xrTableCell21"; + this.xrTableCell21.Weight = 0.663551203509769D; + // + // xrTableRow8 + // + this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.cellStart3, + this.cellEnd3, + this.cellHourlyRate3, + this.cellFLS3, + this.xrTableCell29}); + this.xrTableRow8.Name = "xrTableRow8"; + this.xrTableRow8.Weight = 0.49230806213045525D; + // + // cellStart3 + // + this.cellStart3.Name = "cellStart3"; + this.cellStart3.Weight = 0.56074779116335471D; + // + // cellEnd3 + // + this.cellEnd3.Name = "cellEnd3"; + this.cellEnd3.Weight = 0.56074776739576848D; + // + // cellHourlyRate3 + // + this.cellHourlyRate3.Name = "cellHourlyRate3"; + this.cellHourlyRate3.Weight = 0.700934509358181D; + // + // cellFLS3 + // + this.cellFLS3.Name = "cellFLS3"; + this.cellFLS3.Weight = 0.51401872857292652D; + // + // xrTableCell29 + // + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.Weight = 0.663551203509769D; + // + // xrLabel17 + // + this.xrLabel17.BackColor = System.Drawing.Color.Transparent; + this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(65.00015F, 284.1301F); + this.xrLabel17.Multiline = true; + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(598.0811F, 27.08325F); + this.xrLabel17.StylePriority.UseBackColor = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.Text = "¹vom LWL gesondert bewilligte Leistungen zur Deckung eines einmaligen Bedarfs"; + // + // ruleRateFactorNull + // + this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; + this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.ruleRateFactorNull.Name = "ruleRateFactorNull"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 100F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 90.33334F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrRichText2, + this.xrLabel8, + this.lblAdresse}); + this.GroupHeader1.HeightF = 297.2498F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.StylePriority.UseFont = false; + // + // xrLabel8 + // + this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")}); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(531.1946F, 258.4164F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(204.9722F, 23F); + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "xrLabel8"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // lblAdresse + // + this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(60F, 143.3333F); + this.lblAdresse.Multiline = true; + this.lblAdresse.Name = "lblAdresse"; + this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAdresse.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.lblAdresse.SizeF = new System.Drawing.SizeF(376.3542F, 107.6665F); + this.lblAdresse.StylePriority.UseFont = false; + this.lblAdresse.Text = "Landschaftsverband Westfalen-Lippe\r\nBehindertenhilfe Westfalen\r\n\r\n48133 Münster\r\n" + + ""; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.tableRechnungspositionen}); + this.GroupFooter1.HeightF = 102F; + this.GroupFooter1.Name = "GroupFooter1"; + this.GroupFooter1.StylePriority.UseFont = false; + // + // GroupFooter2 + // + this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLine2, + this.xrLine1, + this.xrLabel35, + this.xrLabel12, + this.xrCheckBox2, + this.xrLabel17, + this.xrCheckBox1}); + this.GroupFooter2.HeightF = 311.2133F; + this.GroupFooter2.Level = 1; + this.GroupFooter2.Name = "GroupFooter2"; + this.GroupFooter2.StylePriority.UseFont = false; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); + // + // xrRichText2 + // + this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F); + this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(531.1946F, 0F); + this.xrRichText2.Name = "xrRichText2"; + this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); + this.xrRichText2.SizeF = new System.Drawing.SizeF(235.8053F, 165.5556F); + this.xrRichText2.StylePriority.UseFont = false; + // + // xrLabel1 + // + this.xrLabel1.BackColor = System.Drawing.Color.Transparent; + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(60F, 53.95833F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(642F, 66.25F); + this.xrLabel1.StylePriority.UseBackColor = false; + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.Text = "Sehr geehrte Damen und Herren,\r\n\r\nanbei der Budgetnachweis des Ambulant Betreuten" + + " Wohnens der Wichernhaus gGmbH"; + // + // Budgetnachweis + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.topMarginBand1, + this.bottomMarginBand1, + this.GroupHeader1, + this.GroupFooter1, + this.GroupFooter2}); + this.DataSource = this.bindingSource1; + this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; + this.Font = new System.Drawing.Font("Times New Roman", 12F); + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.ruleRateFactorNull}); + this.Margins = new System.Drawing.Printing.Margins(30, 30, 100, 90); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = System.Drawing.Printing.PaperKind.A4; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.tableRechnungspositionen)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRLabel lblAdresse; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRTable tableRechnungspositionen; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow5; + private DevExpress.XtraReports.UI.XRTableCell cellStart1; + private DevExpress.XtraReports.UI.XRTableCell cellEnd1; + private DevExpress.XtraReports.UI.XRTableCell cellHourlyRate1; + private DevExpress.XtraReports.UI.XRTableCell cellFLS1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell20; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell cellStart2; + private DevExpress.XtraReports.UI.XRTableCell cellEnd2; + private DevExpress.XtraReports.UI.XRTableCell cellHourlyRate2; + private DevExpress.XtraReports.UI.XRTableCell cellFLS2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell21; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow8; + private DevExpress.XtraReports.UI.XRTableCell cellStart3; + private DevExpress.XtraReports.UI.XRTableCell cellEnd3; + private DevExpress.XtraReports.UI.XRTableCell cellHourlyRate3; + private DevExpress.XtraReports.UI.XRTableCell cellFLS3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell29; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1; + private DevExpress.XtraReports.UI.XRLabel xrLabel35; + private DevExpress.XtraReports.UI.XRLine xrLine2; + private DevExpress.XtraReports.UI.XRLine xrLine1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter2; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRRichText xrRichText2; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + } +} diff --git a/ReportImp/Wichernhaus/Budgetnachweis.cs b/ReportImp/Wichernhaus/Budgetnachweis.cs new file mode 100644 index 000000000..3d5ef278b --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis.cs @@ -0,0 +1,253 @@ +using System; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report.ReportObjects; +using BeWo.Report; +using BS.Shared.Core; +using BS.Shared.DataContracts; +using DevExpress.XtraReports.UI; + +namespace Wichernhaus +{ + public partial class Budgetnachweis : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + public Budgetnachweis() + { + InitializeComponent(); + } + + public void SetReportDataSource(SettlementRO pRO) + { + if (pRO.RecipientOrganisation != "LWL" && !pRO.RecipientOrganisation.ToLower().Contains("westfalen-lippe")) + { + StringBuilder sb = new StringBuilder(); + + if (!String.IsNullOrEmpty(pRO.RecipientOrganisation)) + { + sb.AppendLine(pRO.RecipientOrganisation); + } + if (!String.IsNullOrEmpty(pRO.RecipientContactPerson)) + { + sb.AppendLine(pRO.RecipientContactPerson); + } + if (!String.IsNullOrEmpty(pRO.RecipientDivision)) + { + sb.AppendLine(pRO.RecipientDivision); + } + if (!String.IsNullOrEmpty(pRO.RecipientStreet)) + { + sb.AppendLine(pRO.RecipientStreet); + } + if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown)) + { + sb.AppendLine(pRO.RecipientPostCodeAndTown); + } + lblAdresse.Text = sb.ToString(); + } + + + xrCheckBox2.Checked = true; + DateTime? terminationDate = null; + + if (pRO.CostBearer2SupportConceptOid > 0) + { + var c2s = DAOFactory.GenericDAO.LoadByID(pRO.CostBearer2SupportConceptOid); + + if (c2s.SupportConcept.Customer.TerminationDate.HasValue) + { + terminationDate = c2s.SupportConcept.Customer.TerminationDate; + xrCheckBox1.Text = String.Format(" Die Betreuung wurde am {0:dd.MM.yyyy} beendet.", + c2s.SupportConcept.Customer.TerminationDate); + xrCheckBox2.Checked = false; + xrCheckBox1.Checked = true; + } + } + + + + ErstelleRechnungspositionen(pRO, terminationDate); + + + + + + bindingSource1.DataSource = pRO; + } + + private void ErstelleRechnungspositionen(SettlementRO pRO, DateTime? terminationDate) + { + + if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count > 0 && pRO.InvoiceItems[0].ItemDescription != "Spitzabrechnung") + { + int rowIndex = 0; + foreach (var ii in pRO.InvoiceItems) + { + if (ii.UnitCount.HasValue && ii.UnitCount.Value > 0) + { + AddRechnungsposition(ii, rowIndex++); + } + } + //if (pRO.InvoiceItems.Count == 3) + //{ + // SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1); + // SetzeRechnungsTexte(pRO.InvoiceItems[1], cellStart2, cellEnd2, cellHourlyRate2, cellFLS2); + // SetzeRechnungsTexte(pRO.InvoiceItems[2], cellStart3, cellEnd3, cellHourlyRate3, cellFLS3); + //} + //else if (pRO.InvoiceItems.Count == 2) + //{ + // SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1); + // SetzeRechnungsTexte(pRO.InvoiceItems[1], cellStart2, cellEnd2, cellHourlyRate2, cellFLS2); + //} + //else + //{ + // SetzeRechnungsTexte(pRO.InvoiceItems[0], cellStart1, cellEnd1, cellHourlyRate1, cellFLS1); + //} + } + else + { + ErstelleStandardRechnungspositionen(pRO, terminationDate); + } + } + + private void AddRechnungsposition(InvoiceItemDC ii, int rowIndex) + { + XRTableRow newRow = null; + if (rowIndex > 2) + { + newRow = tableRechnungspositionen.InsertRowBelow(tableRechnungspositionen.Rows[tableRechnungspositionen.Rows.Count - 1]); + } + else + { + newRow = tableRechnungspositionen.Rows[rowIndex + 1]; + } + newRow.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodStart); + newRow.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodEnd); + newRow.Cells[2].Text = String.Format("{0:0.00}", ii.AmountPerUnit); + newRow.Cells[3].Text = String.Format("{0:0.00}", ii.UnitCount); + } + + private void SetzeRechnungsTexte(InvoiceItemDC ii, XRTableCell cellStart, XRTableCell cellEnd, XRTableCell cellHourlyRate, XRTableCell cellFLS) + { + cellStart.Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodStart); + cellEnd.Text = String.Format("{0:dd.MM.yyyy}", ii.ItemPeriodEnd); + cellHourlyRate.Text = String.Format("{0:c}", ii.AmountPerUnit); + cellFLS.Text = String.Format("{0:0.00}", ii.UnitCount); + } + + private void ErstelleStandardRechnungspositionen(SettlementRO pRO, DateTime? terminationDate) + { + + pRO.AccountingEndDateString = CorrectPossibleTerminationEndDate(pRO.AccountingEndDateString, terminationDate); + + if (pRO.DifferentHourlyRateCount == 3) + { + //Erbrachte Leistungen (FLS) - bis [HourlyRateOldEndDateString] à [HourlyRateOldString] € + + pRO.Abrechnungstext1 = String.Format("{0} bis {1}", + pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString); + + pRO.Abrechnungstext1 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3); + + //[AccountingStartDateString] - [HourlyRate3EndDateString] sind [RecordedFLSWithHourlyRate3String] Std. x [HourlyRate3String] € ="; + + pRO.Betrag1 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatz3 * (decimal)pRO.RateFactor * pRO.HourlyRate3); + + + pRO.Abrechnungstext2 = String.Format("{0} bis {1}", + pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString); + pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld); + + pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld); + + + pRO.Abrechnungstext3 = String.Format("{0} bis {1}", + pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString); + pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew); + + pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew); + + + + cellStart1.Text = pRO.AccountingStartDateString; + cellEnd1.Text = pRO.HourlyRate3EndDateString; + cellHourlyRate1.Text = pRO.HourlyRate3String; + cellFLS1.Text = pRO.RecordedFLSWithHourlyRate3String; + + cellStart2.Text = pRO.HourlyRateOldStartDateString; + cellEnd2.Text = pRO.HourlyRateOldEndDateString; + cellHourlyRate2.Text = pRO.HourlyRateOldString; + cellFLS2.Text = pRO.RecordedFLSWithOldHourlyRateString; + + cellStart3.Text = pRO.HourlyRateNewStartDateString; + cellEnd3.Text = pRO.AccountingEndDateString; + cellHourlyRate3.Text = pRO.HourlyRateNewString; + cellFLS3.Text = pRO.RecordedFLSWithNewHourlyRateString; + } + else if (pRO.DifferentHourlyRateCount == 2) + { + + pRO.Abrechnungstext2 = String.Format("{0} bis {1}", + pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString); + pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld); + + pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld); + + + pRO.Abrechnungstext3 = String.Format("{0} bis {1}", + pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString); + pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew); + + pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew); + + + cellStart1.Text = pRO.AccountingStartDateString; + cellEnd1.Text = pRO.HourlyRateOldEndDateString; + cellHourlyRate1.Text = pRO.HourlyRateOldString; + cellFLS1.Text = pRO.RecordedFLSWithOldHourlyRateString; + + cellStart2.Text = pRO.HourlyRateNewStartDateString; + cellEnd2.Text = pRO.AccountingEndDateString; + cellHourlyRate2.Text = pRO.HourlyRateNewString; + cellFLS2.Text = pRO.RecordedFLSWithNewHourlyRateString; + } + else + { + cellStart1.Text = pRO.AccountingStartDateString; + cellEnd1.Text = pRO.AccountingEndDateString; + cellHourlyRate1.Text = pRO.HourlyRateNewString; + cellFLS1.Text = pRO.RecordedFLSWithNewHourlyRateString; + + pRO.Abrechnungstext3 = String.Format("{0} bis {1}", + pRO.AccountingStartDateString, pRO.AccountingEndDateString); + pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}", + pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew); + + pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew); + } + } + + private string CorrectPossibleTerminationEndDate(string dateString, DateTime? terminationDate) + { + if (terminationDate.HasValue) + { + DateTime dt = DateTime.MinValue; + if (DateTime.TryParse(dateString, out dt)) + { + if (terminationDate < dt) + { + return String.Format("{0:dd.MM.yyyy}", terminationDate); + } + } + + } + + return dateString; + } + } +} diff --git a/ReportImp/Wichernhaus/Budgetnachweis.resx b/ReportImp/Wichernhaus/Budgetnachweis.resx new file mode 100644 index 000000000..7ac8db9cb --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis.resx @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Hiermit wird erklärt, dass die Verpflichtungen aus der Leistungs-, Prüfungs- und Vergütungsvereinbarung nach §§ 75 ff. SGB X II eingehalten wurden und alle hier gemachten Angaben anhand der vorgehaltenen Quittierungsbelege sowie der Betreuungsdokumentation jederzeit nachgewiesen werden können. + +Mit freundlichen Grüßen + + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMA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gBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABzAGwAMgA3ADUAXABzAGwAbQB1AGwAdAAxAFwAcwBhADIAMAAwAHsAXABmADEAXABmAHMAMQA4AFwAYwBmADAAIABBAG4AcwBwAHIAZQBjAGgAcABhAHIAdABuAGUAcgA6ACAARgAuACAAQwBvAGwAbABlAHQAfQBcAGwAYQBuAGcANwBcAGwAYQBuAGcAZgBlADcAXABmAHMAMgAyAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A + + + 17, 17 + + \ No newline at end of file diff --git a/ReportImp/Wichernhaus/Budgetnachweis2.Designer.cs b/ReportImp/Wichernhaus/Budgetnachweis2.Designer.cs new file mode 100644 index 000000000..fe9aebd63 --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis2.Designer.cs @@ -0,0 +1,341 @@ +namespace Wichernhaus +{ + partial class Budgetnachweis2 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Budgetnachweis2)); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel(); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblAktenzeichen = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrCheckBox2 = new DevExpress.XtraReports.UI.XRCheckBox(); + this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); + this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPanel1, + this.xrLabel12, + this.xrCheckBox2, + this.xrCheckBox1}); + this.Detail.HeightF = 444.7082F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrPanel1 + // + this.xrPanel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel15, + this.lblAktenzeichen, + this.xrLabel7, + this.xrLabel10, + this.xrLabel3, + this.xrLabel9}); + this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrPanel1.Name = "xrPanel1"; + this.xrPanel1.SizeF = new System.Drawing.SizeF(673.3192F, 179.1617F); + this.xrPanel1.StylePriority.UseBorders = false; + // + // xrLabel15 + // + this.xrLabel15.BackColor = System.Drawing.Color.Transparent; + this.xrLabel15.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel15.CanShrink = true; + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 29.99999F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel15.StylePriority.UseBackColor = false; + this.xrLabel15.StylePriority.UseBorders = false; + this.xrLabel15.StylePriority.UseFont = false; + this.xrLabel15.StylePriority.UsePadding = false; + this.xrLabel15.Text = "[CustomerName], [CustomerStreet], [CustomerPostalCode] [CustomerTown]"; + this.xrLabel15.WordWrap = false; + // + // lblAktenzeichen + // + this.lblAktenzeichen.BackColor = System.Drawing.Color.Transparent; + this.lblAktenzeichen.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.lblAktenzeichen.CanShrink = true; + this.lblAktenzeichen.LocationFloat = new DevExpress.Utils.PointFloat(10F, 65F); + this.lblAktenzeichen.Multiline = true; + this.lblAktenzeichen.Name = "lblAktenzeichen"; + this.lblAktenzeichen.SizeF = new System.Drawing.SizeF(650F, 20F); + this.lblAktenzeichen.StylePriority.UseBackColor = false; + this.lblAktenzeichen.StylePriority.UseBorders = false; + this.lblAktenzeichen.StylePriority.UseFont = false; + this.lblAktenzeichen.StylePriority.UsePadding = false; + this.lblAktenzeichen.Text = "Aktenzeichen: [CustomerReferenceNumber] Geburtsdatum: [CustomerBirthdayStr" + + "ing]"; + this.lblAktenzeichen.WordWrap = false; + // + // xrLabel7 + // + this.xrLabel7.BackColor = System.Drawing.Color.Transparent; + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel7.CanShrink = true; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(10F, 100F); + this.xrLabel7.Multiline = true; + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel7.StylePriority.UseBackColor = false; + this.xrLabel7.StylePriority.UseBorders = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.StylePriority.UsePadding = false; + this.xrLabel7.Text = "Bewilligungszeitraum von [AccountingPeriod]"; + this.xrLabel7.WordWrap = false; + // + // xrLabel10 + // + this.xrLabel10.BackColor = System.Drawing.Color.Transparent; + this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(10F, 135F); + this.xrLabel10.Multiline = true; + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.SizeF = new System.Drawing.SizeF(551.3751F, 27.08333F); + this.xrLabel10.StylePriority.UseBackColor = false; + this.xrLabel10.StylePriority.UseBorders = false; + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.StylePriority.UsePadding = false; + this.xrLabel10.Text = "Tatsächlich geleistete Fachleistungsstunden im Bewilligungszeitraum lt. Anlage:"; + // + // xrLabel3 + // + this.xrLabel3.BackColor = System.Drawing.Color.Transparent; + this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel3.BorderWidth = 2F; + this.xrLabel3.CanShrink = true; + this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "RecordedFLSTotal", "{0:0.00}")}); + this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(561.38F, 132F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(98.62469F, 27.08333F); + this.xrLabel3.StylePriority.UseBackColor = false; + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UseBorderWidth = false; + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrLabel3.WordWrap = false; + // + // xrLabel9 + // + this.xrLabel9.BackColor = System.Drawing.Color.Transparent; + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel9.CanShrink = true; + this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(10.0001F, 9.999974F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.SizeF = new System.Drawing.SizeF(650F, 20F); + this.xrLabel9.StylePriority.UseBackColor = false; + this.xrLabel9.StylePriority.UseBorders = false; + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.StylePriority.UsePadding = false; + this.xrLabel9.Text = "Leistungsberechtigte/r:"; + this.xrLabel9.WordWrap = false; + // + // xrLabel12 + // + this.xrLabel12.BackColor = System.Drawing.Color.Transparent; + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 267.0832F); + this.xrLabel12.Multiline = true; + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(695.3123F, 177.625F); + this.xrLabel12.StylePriority.UseBackColor = false; + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.StylePriority.UseTextAlignment = false; + this.xrLabel12.Text = resources.GetString("xrLabel12.Text"); + this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopJustify; + // + // xrCheckBox2 + // + this.xrCheckBox2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 226.0367F); + this.xrCheckBox2.Name = "xrCheckBox2"; + this.xrCheckBox2.SizeF = new System.Drawing.SizeF(211.0832F, 21.875F); + this.xrCheckBox2.StylePriority.UseFont = false; + this.xrCheckBox2.Text = " Die Betreuung dauert an."; + // + // xrCheckBox1 + // + this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 192.7034F); + this.xrCheckBox1.Name = "xrCheckBox1"; + this.xrCheckBox1.SizeF = new System.Drawing.SizeF(493.5575F, 21.875F); + this.xrCheckBox1.StylePriority.UseFont = false; + this.xrCheckBox1.Text = " Die Betreuung wurde beendet am"; + // + // ruleRateFactorNull + // + this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?"; + this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.ruleRateFactorNull.Name = "ruleRateFactorNull"; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 50F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 50F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // lblAdresse + // + this.lblAdresse.LocationFloat = new DevExpress.Utils.PointFloat(0F, 161.8959F); + this.lblAdresse.Multiline = true; + this.lblAdresse.Name = "lblAdresse"; + this.lblAdresse.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.lblAdresse.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.lblAdresse.SizeF = new System.Drawing.SizeF(329.9999F, 81.58333F); + this.lblAdresse.StylePriority.UseFont = false; + this.lblAdresse.Text = "Landschaftsverband Westfalen- Lippe\r\nLWL- Inklusionsamt Soziale Teilhabe\r\n48133 M" + + "ünster\r\n"; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrRichText2, + this.xrLabel8, + this.xrLabel6, + this.lblAdresse}); + this.GroupHeader1.HeightF = 316.2917F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.StylePriority.UseFont = false; + // + // xrLabel8 + // + this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 276.2917F); + this.xrLabel8.Multiline = true; + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink; + this.xrLabel8.SizeF = new System.Drawing.SizeF(673.319F, 40.00003F); + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.StylePriority.UseTextAlignment = false; + this.xrLabel8.Text = "Budgetnachweis\r\nüber die Abrechnung von Fachleistungsstunden im Rahmen der Eingli" + + "ederungshilfe"; + this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel6 + // + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate", "Bochum, {0}")}); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(458.6595F, 223.4792F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(186.6738F, 20.00001F); + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); + // + // xrRichText2 + // + this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F); + this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(413.3468F, 0F); + this.xrRichText2.Name = "xrRichText2"; + this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); + this.xrRichText2.SizeF = new System.Drawing.SizeF(264.972F, 165.5556F); + this.xrRichText2.StylePriority.UseFont = false; + // + // Budgetnachweis + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.topMarginBand1, + this.bottomMarginBand1, + this.GroupHeader1}); + this.DataSource = this.bindingSource1; + this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung"; + this.Font = new System.Drawing.Font("Times New Roman", 12F); + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.ruleRateFactorNull}); + this.Margins = new System.Drawing.Printing.Margins(80, 30, 50, 50); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = System.Drawing.Printing.PaperKind.A4; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox2; + private DevExpress.XtraReports.UI.XRCheckBox xrCheckBox1; + private DevExpress.XtraReports.UI.XRLabel lblAdresse; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRPanel xrPanel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel lblAktenzeichen; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRRichText xrRichText2; + } +} diff --git a/ReportImp/Wichernhaus/Budgetnachweis2.cs b/ReportImp/Wichernhaus/Budgetnachweis2.cs new file mode 100644 index 000000000..41e5fd4ae --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis2.cs @@ -0,0 +1,69 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report.ReportObjects; +using BeWo.Report; +using BS.Shared.DataContracts; +using DevExpress.XtraReports.UI; + +namespace Wichernhaus +{ + public partial class Budgetnachweis2 : DevExpress.XtraReports.UI.XtraReport//, IBeWoReport + { + public Budgetnachweis2() + { + InitializeComponent(); + } + + public void SetReportDataSource(SettlementRO pRO) + { + if (pRO.RecipientOrganisation != "LWL" && !pRO.RecipientOrganisation.ToLower().Contains("westfalen-lippe")) + { + StringBuilder sb = new StringBuilder(); + + if (!String.IsNullOrEmpty(pRO.RecipientOrganisation)) + { + sb.AppendLine(pRO.RecipientOrganisation); + } + if (!String.IsNullOrEmpty(pRO.RecipientContactPerson)) + { + sb.AppendLine(pRO.RecipientContactPerson); + } + if (!String.IsNullOrEmpty(pRO.RecipientDivision)) + { + sb.AppendLine(pRO.RecipientDivision); + } + if (!String.IsNullOrEmpty(pRO.RecipientStreet)) + { + sb.AppendLine(pRO.RecipientStreet); + } + if (!String.IsNullOrEmpty(pRO.RecipientPostCodeAndTown)) + { + sb.AppendLine(pRO.RecipientPostCodeAndTown); + } + lblAdresse.Text = sb.ToString(); + } + + xrCheckBox2.Checked = true; + + if (pRO.CostBearer2SupportConceptOid > 0) + { + var c2s = DAOFactory.GenericDAO.LoadByID(pRO.CostBearer2SupportConceptOid); + + if (c2s.SupportConcept.Customer.TerminationDate.HasValue) + { + xrCheckBox1.Text = String.Format(" Die Betreuung wurde beendet am {0:dd.MM.yyyy}", + c2s.SupportConcept.Customer.TerminationDate); + xrCheckBox2.Checked = false; + xrCheckBox1.Checked = true; + } + } + + bindingSource1.DataSource = pRO; + } + + } +} diff --git a/ReportImp/Wichernhaus/Budgetnachweis2.resx b/ReportImp/Wichernhaus/Budgetnachweis2.resx new file mode 100644 index 000000000..8ac1c26c0 --- /dev/null +++ b/ReportImp/Wichernhaus/Budgetnachweis2.resx @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Hiermit wird erklärt, dass die Verpflichtungen aus den Vereinbarungen nach §§ 75 ff. SGB XII bzw. §§ 125 ff. SGB IX eingehalten wurden und alle hier gemachten Angaben je Betreuungskontakt anhand der Quittierungsbelege sowie der Betreuungsdokumentation jederzeit nachgewiesen werden können. Diese Unterlagen sind 5 Jahre aufzubewahren und auf Verlangen des Sozialhilfeträgers bzw. des Trägers der Eingliederungshilfe vorzulegen (§ 2 Abs.1 der Vergütungsvereinbarung). + +Mit freundlichen Grüßen + + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdw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pAGMAaABlAHIAbgBoAGEAdQBzAC4AYwBvAG0AIgAgAH0AfQB7AFwAZgBsAGQAcgBzAGwAdAB7AFwAdQBsAFwAZgAxAFwAZgBzADEAOABcAGMAZgAyACAAYgBlAHQAcgBlAHUAdABlAHMAdwBvAGgAbgBlAG4AQAB3AGkAYwBoAGUAcgBuAGgAYQB1AHMALgBjAG8AbQB9AH0AfQBcAGYAMQBcAGYAcwAyADQAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAXABzAGwAMgA3ADUAXABzAGwAbQB1AGwAdAAxAFwAcwBhADIAMAAwAHsAXABmADEAXABmAHMAMQA4AFwAYwBmADAAIABBAG4AcwBwAHIAZQBjAGgAcABhAHIAdABuAGUAcgA6ACAARgAuACAAQwBvAGwAbABlAHQAfQBcAGwAYQBuAGcANwBcAGwAYQBuAGcAZgBlADcAXABmAHMAMgAyAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A + + + 17, 17 + + \ No newline at end of file diff --git a/ReportImp/Wichernhaus/CustomReportCreator.cs b/ReportImp/Wichernhaus/CustomReportCreator.cs new file mode 100644 index 000000000..07472e6de --- /dev/null +++ b/ReportImp/Wichernhaus/CustomReportCreator.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Report; +using BeWo.Report.ReportObjects; +using DevExpress.XtraReports.Design; +using DevExpress.XtraReports.UI; + +namespace Wichernhaus +{ + public class CustomReportCreator : DefaultReportCreator + { + public override XtraReport CreateSettlementReport(string dcId, long? invoiceBaseOid) + { + return base.CreateSettlementReport(dcId, invoiceBaseOid, true); + } + + } +} diff --git a/ReportImp/Wichernhaus/Invoicing/CustomInvoiceCreation.cs b/ReportImp/Wichernhaus/Invoicing/CustomInvoiceCreation.cs index 94835a1ca..15423d8fa 100644 --- a/ReportImp/Wichernhaus/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/Wichernhaus/Invoicing/CustomInvoiceCreation.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace BetreuungsserviceFuerAlltagUndWohnen.Invoicing +namespace Wichernhaus.Invoicing { public class CustomInvoiceCreation : InvoiceCreation { @@ -16,8 +16,8 @@ namespace BetreuungsserviceFuerAlltagUndWohnen.Invoicing { var ii = base.CreateInvoiceItem(iServiceRecord, scap, calc); - if (ii.ServiceRecord.ServiceDescription.Name.ToLower().Contains("fehlkontakt")) - ii.UnitCount *= 0.8m; + //if (ii.ServiceRecord.ServiceDescription.Name.ToLower().Contains("fehlkontakt")) + // ii.UnitCount *= 0.8m; return ii; } diff --git a/ReportImp/Wichernhaus/Invoicing/CustomInvoiceFactory.cs b/ReportImp/Wichernhaus/Invoicing/CustomInvoiceFactory.cs index e62038c19..fd1178828 100644 --- a/ReportImp/Wichernhaus/Invoicing/CustomInvoiceFactory.cs +++ b/ReportImp/Wichernhaus/Invoicing/CustomInvoiceFactory.cs @@ -6,7 +6,7 @@ using BeWo.Service.Invoicing; using BS.Shared.DataContracts; using BS.Shared.DataContracts.Compact; -namespace BetreuungsserviceFuerAlltagUndWohnen.Invoicing +namespace Wichernhaus.Invoicing { public class CustomInvoiceFactory : InvoiceFactory { @@ -16,6 +16,11 @@ namespace BetreuungsserviceFuerAlltagUndWohnen.Invoicing return new CustomInvoiceCreation(); } + public override SettlementInvoiceCreation CreateSettlementInvoiceCreator(string costbearerId, string tenant, CostBearer2SupportConcept lCb2Sc) + { + return base.CreateSettlementInvoiceCreator(costbearerId, tenant, lCb2Sc); + } + } } diff --git a/ReportImp/Wichernhaus/Invoicing/CustomSettlementInvoiceCreation.cs b/ReportImp/Wichernhaus/Invoicing/CustomSettlementInvoiceCreation.cs new file mode 100644 index 000000000..9189e4988 --- /dev/null +++ b/ReportImp/Wichernhaus/Invoicing/CustomSettlementInvoiceCreation.cs @@ -0,0 +1,25 @@ +using BeWo.Data.Entities; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Invoicing; +using BeWo.Service.Plugins; +using BS.Shared; +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; +using System.Text; +using System.Threading.Tasks; + +namespace Wichernhaus.Invoicing +{ + public class CustomSettlementInvoiceCreation : SettlementInvoiceCreation + { + public override bool CheckMaxApprovedHours() + { + return false; + } + } +} diff --git a/ReportImp/Wichernhaus/Wichernhaus.csproj b/ReportImp/Wichernhaus/Wichernhaus.csproj index fa4b08237..97660ee22 100644 --- a/ReportImp/Wichernhaus/Wichernhaus.csproj +++ b/ReportImp/Wichernhaus/Wichernhaus.csproj @@ -62,8 +62,16 @@ + + Component + + + Budgetnachweis.cs + + + Component @@ -77,8 +85,18 @@ Quittierungsbeleg.cs + + Component + + + Budgetnachweis2.cs + + + Budgetnachweis.cs + Designer + KassenbuchReport.cs Designer @@ -88,6 +106,10 @@ Quittierungsbeleg.cs Designer + + Budgetnachweis2.cs + Designer + diff --git a/Service/Plugins/ServiceRecordStatisticFactory.cs b/Service/Plugins/ServiceRecordStatisticFactory.cs index bf55d6385..7737c3c71 100644 --- a/Service/Plugins/ServiceRecordStatisticFactory.cs +++ b/Service/Plugins/ServiceRecordStatisticFactory.cs @@ -319,7 +319,7 @@ namespace BeWo.Service.Plugins else { var srDc = MapToServiceRecordDCForStatistic(sr); - minutesProvidedRounded = calc.GetBillableDurationInMinutes(srDc); + minutesProvidedRounded = calc.GetBillableDurationInMinutes(srDc, false); } diff --git a/Service/ServiceImplementations/EmployeeServiceImp.cs b/Service/ServiceImplementations/EmployeeServiceImp.cs index 8ad0a257a..b4fb1ce43 100644 --- a/Service/ServiceImplementations/EmployeeServiceImp.cs +++ b/Service/ServiceImplementations/EmployeeServiceImp.cs @@ -1513,8 +1513,8 @@ namespace BeWo.Service.ServiceImplementations } } - if (customerOid.HasValue) - GetDistanceForVertreterEmployees(customerOid.Value, ref list, allEmps); + //if (customerOid.HasValue) + // GetDistanceForVertreterEmployees(customerOid.Value, ref list, allEmps); return list; } diff --git a/Shared/Services/Calculations.cs b/Shared/Services/Calculations.cs index a8e7ea449..e7aea8fd9 100644 --- a/Shared/Services/Calculations.cs +++ b/Shared/Services/Calculations.cs @@ -932,7 +932,7 @@ namespace BS.Shared.Services if (hourlyRate == null) hourlyRate = this.GetHourlyRatePeriodForServiceRecord(record); - decimal rdMinutes = this.GetBillableDurationInMinutes(record); + decimal rdMinutes = this.GetBillableDurationInMinutes(record, true); data.UnitCount = rdMinutes / 60m; @@ -965,7 +965,7 @@ namespace BS.Shared.Services public virtual decimal? GetBillableAmount(ServiceRecordDC record) { - var rdMinutes = this.GetBillableDurationInMinutes(record); + var rdMinutes = this.GetBillableDurationInMinutes(record, false); var hourlyRate = this.GetHourlyRatePeriodForServiceRecord(record); decimal amount = 0; if (hourlyRate != null && hourlyRate.CostRateValue.HasValue) @@ -981,6 +981,11 @@ namespace BS.Shared.Services } public virtual decimal GetBillableDurationInMinutes(ServiceRecordDC record) + { + return GetBillableDurationInMinutes(record, false); + } + + public virtual decimal GetBillableDurationInMinutes(ServiceRecordDC record, bool useProzentAbrechenbar) { if (!record.ServiceDescription.Category.IsBillable) { @@ -993,8 +998,21 @@ namespace BS.Shared.Services { prozent = record.ServiceDescription.ProzentBudget.Value; } - rdMinutes *= (prozent / 100); + + if (useProzentAbrechenbar) + { + if (record.ServiceDescription.ProzentAbrechnung.HasValue) + { + prozent = record.ServiceDescription.ProzentAbrechnung.Value; + } + else + { + prozent = record.ServiceDescription.Category.Percentage; + } + } + rdMinutes *= (prozent / 100); + if (record.GroupEmployeeCount.HasValue) rdMinutes /= record.GroupEmployeeCount.Value; @@ -1009,6 +1027,27 @@ namespace BS.Shared.Services // } // decimal rdMinutes = record.RoundedDuration; + // var prozent = record.ServiceDescription.Category.ProzentBudget ?? record.ServiceDescription.Category.Percentage; + // if (record.ServiceDescription.ProzentBudget.HasValue) + // { + // prozent = record.ServiceDescription.ProzentBudget.Value; + // } + // rdMinutes *= (prozent / 100); + + // if (record.GroupEmployeeCount.HasValue) + // rdMinutes /= record.GroupEmployeeCount.Value; + + // return rdMinutes; + //} + + //public virtual decimal GetBillableDurationInMinutes(ServiceRecordDC record) + //{ + // if (!record.ServiceDescription.Category.IsBillable) + // { + // return 0; + // } + // decimal rdMinutes = record.RoundedDuration; + // decimal prozent = record.ServiceDescription.Category.ProzentBudget ?? record.ServiceDescription.Category.Percentage; // if (record.ServiceDescription.ProzentBudget.HasValue) // { @@ -1024,7 +1063,7 @@ namespace BS.Shared.Services public virtual decimal GetBillableDurationInMinutes(List records) { - return records.Sum(i => GetBillableDurationInMinutes(i)); + return records.Sum(i => GetBillableDurationInMinutes(i, true)); } public virtual decimal GetDurationInMinutesForBillableAmount(ServiceRecordDC record, decimal amount) @@ -1112,7 +1151,7 @@ namespace BS.Shared.Services if (absenceSpan != null) { - var rd = this.GetBillableDurationInMinutes(iRecord); + var rd = this.GetBillableDurationInMinutes(iRecord, false); if (absenceTimes[absenceSpan] == 0) { @@ -1214,11 +1253,11 @@ namespace BS.Shared.Services records.Remove(iRecord); } - hoursNotBillableNotApproved += this.GetBillableDurationInMinutes(iRecord) / 60m; + hoursNotBillableNotApproved += this.GetBillableDurationInMinutes(iRecord, false) / 60m; continue; } - var oldDuration = this.GetBillableDurationInMinutes(iRecord); + var oldDuration = this.GetBillableDurationInMinutes(iRecord, false); iRecord.RoundedDuration = this.GetDurationInMinutesForBillableAmount(iRecord, approvedAmountCounter); iRecord.End = iRecord.Start.Value.AddMinutes(Convert.ToInt32(iRecord.RoundedDuration)); @@ -1243,7 +1282,7 @@ namespace BS.Shared.Services if (!iRecord.Start.Value.InBetween(span, true)) { - hoursOutOfSpan += this.GetBillableDurationInMinutes(iRecord) / 60m; + hoursOutOfSpan += this.GetBillableDurationInMinutes(iRecord, true) / 60m; } } From 7df44093c81b7ddf42b03e9b77d79c4342d016a4 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 4 Apr 2023 10:10:10 +0200 Subject: [PATCH 2/8] =?UTF-8?q?MH:=20Autismus=20K=C3=B6ln=20Bonn=20Spitzab?= =?UTF-8?q?rechnung=20Mailadressen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReportImp/AutismusKoelnBonn/SettlementReport.Designer.cs | 4 ++-- ReportImp/AutismusKoelnBonn/SettlementReport.resx | 4 ++-- ReportImp/AutismusKoelnBonn/SettlementReport2.resx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ReportImp/AutismusKoelnBonn/SettlementReport.Designer.cs b/ReportImp/AutismusKoelnBonn/SettlementReport.Designer.cs index d8761535b..fdd0db2db 100644 --- a/ReportImp/AutismusKoelnBonn/SettlementReport.Designer.cs +++ b/ReportImp/AutismusKoelnBonn/SettlementReport.Designer.cs @@ -431,10 +431,10 @@ namespace AutismusKoelnBonn.Alt // lblTeamKoeln // this.lblTeamKoeln.Font = new System.Drawing.Font("Arial", 8F); - this.lblTeamKoeln.LocationFloat = new DevExpress.Utils.PointFloat(471.0138F, 111.5F); + this.lblTeamKoeln.LocationFloat = new DevExpress.Utils.PointFloat(475.444F, 111.5F); this.lblTeamKoeln.Name = "lblTeamKoeln"; this.lblTeamKoeln.SerializableRtfString = resources.GetString("lblTeamKoeln.SerializableRtfString"); - this.lblTeamKoeln.SizeF = new System.Drawing.SizeF(229.972F, 97.00002F); + this.lblTeamKoeln.SizeF = new System.Drawing.SizeF(225.5418F, 97.00002F); this.lblTeamKoeln.StylePriority.UseFont = false; // // lblTeamMerkenich diff --git a/ReportImp/AutismusKoelnBonn/SettlementReport.resx b/ReportImp/AutismusKoelnBonn/SettlementReport.resx index 0b9b53db7..8243ddcd9 100644 --- a/ReportImp/AutismusKoelnBonn/SettlementReport.resx +++ b/ReportImp/AutismusKoelnBonn/SettlementReport.resx @@ -130,10 +130,10 @@ ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABs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bgBcAHEAbABcAHMAbAAyADUAOABcAHMAbABtAHUAbAB0ADEAXABzAGEAMQA2ADAAewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABmAHMAMgAyAFwAYwBmADEAIABtAG8AdgBlAGEAdQB0AC0AYgBvAG4AbgAuAGQAZQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A diff --git a/ReportImp/AutismusKoelnBonn/SettlementReport2.resx b/ReportImp/AutismusKoelnBonn/SettlementReport2.resx index 567072683..de51aafe1 100644 --- a/ReportImp/AutismusKoelnBonn/SettlementReport2.resx +++ b/ReportImp/AutismusKoelnBonn/SettlementReport2.resx @@ -136,7 +136,7 @@ ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAI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AOQAgAC0AIAA1ADAAfQBcAGwAYQBuAGcAMQAwADMAMwBcAGwAYQBuAGcAZgBlADEAMAAzADMAXABmAHMAMgAyAFwAYwBmADEAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGwAYQBuAGcAMQAwADMAMwBcAGwAYQBuAGcAZgBlADEAMAAzADMAXABmAHMAMgAyAFwAYwBmADEAIAB3AHcAdwAuAG0AbwB2AGUAQQBVAFQALQBrAG8AZQBsAG4ALgBkAGUAfQBcAGwAYQBuAGcAMQAwADMAMwBcAGwAYQBuAGcAZgBlADEAMAAzADMAXABmAHMAMgAyAFwAYwBmADEAXABwAGEAcgBcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXABmAHMAMgAyAFwAYwBmADEAIABsAC4AbQBlAGMAawBpAG4AZwBAAG0AbwB2AGUAYQB1AHQALQBrAG8AZQBsAG4ALgBkAGUAfQBcAGwAYQBuAGcAMQAwADMAMwBcAGwAYQBuAGcAZgBlADEAMAAzADMAXABmADEAXABmAHMAMgA0AFwAYwBmADEAXABwAGEAcgB9AA== From d04439268d068918fd4db0dc15588d486faacf18 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 4 Apr 2023 15:32:10 +0200 Subject: [PATCH 3/8] MH: Mobile Leistungsnachweis --- ReportImp/MobileEV/CustomReportCreator.cs | 2 + .../MobileEV/Leistungsnachweis.Designer.cs | 965 ++++++++++++++++++ ReportImp/MobileEV/Leistungsnachweis.cs | 99 ++ ReportImp/MobileEV/Leistungsnachweis.resx | 123 +++ ReportImp/MobileEV/MobileEV.csproj | 10 + 5 files changed, 1199 insertions(+) create mode 100644 ReportImp/MobileEV/Leistungsnachweis.Designer.cs create mode 100644 ReportImp/MobileEV/Leistungsnachweis.cs create mode 100644 ReportImp/MobileEV/Leistungsnachweis.resx diff --git a/ReportImp/MobileEV/CustomReportCreator.cs b/ReportImp/MobileEV/CustomReportCreator.cs index 5875b539a..d937f79ee 100644 --- a/ReportImp/MobileEV/CustomReportCreator.cs +++ b/ReportImp/MobileEV/CustomReportCreator.cs @@ -83,6 +83,8 @@ namespace MobileEV if (report == null) report = new Quittierungsbeleg(); + //if (report == null) + // report = new Leistungsnachweis(); report.SetReportDataSource(ro); return report as XtraReport; diff --git a/ReportImp/MobileEV/Leistungsnachweis.Designer.cs b/ReportImp/MobileEV/Leistungsnachweis.Designer.cs new file mode 100644 index 000000000..2fc0582fd --- /dev/null +++ b/ReportImp/MobileEV/Leistungsnachweis.Designer.cs @@ -0,0 +1,965 @@ +using BeWo.Report.ReportObjects; +namespace MobileEV +{ + partial class Leistungsnachweis + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); + this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule(); + this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.lblGesamtLabel1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblStundensatz1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblSumme1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.lblGesamtLabel2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblStundensatz2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblSumme2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); + this.lblGesamtLabel3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblStundensatz3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblSumme3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.lblGesamtLabel4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblStundensatz4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.lblSumme4 = new DevExpress.XtraReports.UI.XRTableCell(); + this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldHours = new DevExpress.XtraReports.UI.CalculatedField(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Expanded = false; + this.Detail.HeightF = 0F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupHeader1}); + this.DetailReport.DataMember = "Services"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable2}); + this.Detail1.HeightF = 22F; + this.Detail1.Name = "Detail1"; + this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTable2 + // + this.xrTable2.BorderColor = System.Drawing.Color.Black; + this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable2.SizeF = new System.Drawing.SizeF(1099F, 22F); + this.xrTable2.StylePriority.UseFont = false; + this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2, + this.xrTableCell10, + this.xrTableCell12, + this.xrTableCell13, + this.xrTableCell14}); + this.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 = 0.82499883949919872D; + // + // xrTableCell2 + // + this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5", "{0:dd.MM.yy}")}); + this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell2.StylePriority.UseBorders = false; + this.xrTableCell2.StylePriority.UseFont = false; + this.xrTableCell2.StylePriority.UsePadding = false; + this.xrTableCell2.StylePriority.UseTextAlignment = false; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell2.Weight = 0.12356294766504963D; + // + // xrTableCell10 + // + this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.MM.yyyy}")}); + this.xrTableCell10.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell10.StylePriority.UseBorders = false; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UsePadding = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell10.Weight = 0.12356295150834998D; + // + // xrTableCell12 + // + this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceDescription", "{0:HH:mm\' Uhr\'}")}); + this.xrTableCell12.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell12.Multiline = true; + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell12.StylePriority.UseBorders = false; + this.xrTableCell12.StylePriority.UseFont = false; + this.xrTableCell12.StylePriority.UsePadding = false; + this.xrTableCell12.StylePriority.UseTextAlignment = false; + this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell12.Weight = 0.12356296866413657D; + // + // xrTableCell13 + // + this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategory", "{0:0.00}")}); + this.xrTableCell13.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell13.StylePriority.UseBorders = false; + this.xrTableCell13.StylePriority.UseFont = false; + this.xrTableCell13.StylePriority.UsePadding = false; + this.xrTableCell13.StylePriority.UseTextAlignment = false; + this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell13.Weight = 0.12356297724202993D; + // + // xrTableCell14 + // + this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldHours")}); + this.xrTableCell14.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell14.StylePriority.UseBorders = false; + this.xrTableCell14.StylePriority.UseFont = false; + this.xrTableCell14.StylePriority.UsePadding = false; + this.xrTableCell14.StylePriority.UseTextAlignment = false; + this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell14.Weight = 0.12356289124187374D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable1}); + this.GroupHeader1.HeightF = 36.66669F; + this.GroupHeader1.Name = "GroupHeader1"; + this.GroupHeader1.RepeatEveryPage = true; + // + // xrTable1 + // + this.xrTable1.BorderColor = System.Drawing.Color.Black; + this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9}); + this.xrTable1.SizeF = new System.Drawing.SizeF(1099F, 36.66669F); + this.xrTable1.StylePriority.UseFont = false; + this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell33, + this.xrTableCell32, + this.xrTableCell34, + this.xrTableCell35, + this.xrTableCell36}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow9.Weight = 1D; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell33.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UsePadding = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell33.Weight = 0.12356294766504963D; + // + // xrTableCell32 + // + this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell32.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell32.Multiline = true; + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell32.StylePriority.UseBorders = false; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UsePadding = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.Text = "Leistungstag"; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell32.Weight = 0.12356295150834998D; + // + // xrTableCell34 + // + this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell34.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell34.Multiline = true; + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell34.StylePriority.UseBorders = false; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UsePadding = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.Text = "Leistung"; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell34.Weight = 0.12356294721940334D; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell35.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UsePadding = false; + this.xrTableCell35.StylePriority.UseTextAlignment = false; + this.xrTableCell35.Text = "Stundensatz"; + this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell35.Weight = 0.12356294721940332D; + // + // xrTableCell36 + // + this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell36.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.StylePriority.UseFont = false; + this.xrTableCell36.StylePriority.UsePadding = false; + this.xrTableCell36.StylePriority.UseTextAlignment = false; + this.xrTableCell36.Text = "Stunden"; + this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableCell36.Weight = 0.12356294270923357D; + // + // 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.xrLabel6, + this.xrLabel5, + this.xrLabel27, + this.xrLabel28, + this.xrLabel26, + this.xrLabel25}); + this.ReportHeader.HeightF = 75.20834F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel6 + // + this.xrLabel6.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel6.ForeColor = System.Drawing.Color.Black; + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(106.4583F, 40.00003F); + this.xrLabel6.Multiline = true; + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(265.1387F, 20F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UseForeColor = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.Text = "[StartDate!dd.MM.yyyy] - [EndDate!dd.MM.yyyy]"; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel5 + // + this.xrLabel5.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel5.ForeColor = System.Drawing.Color.Black; + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 40.00003F); + this.xrLabel5.Multiline = true; + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(106.4582F, 20F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.StylePriority.UseForeColor = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "Zeitraum:"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel27 + // + this.xrLabel27.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel27.ForeColor = System.Drawing.Color.Black; + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00001F); + this.xrLabel27.Multiline = true; + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel27.SizeF = new System.Drawing.SizeF(106.4582F, 20F); + this.xrLabel27.StylePriority.UseFont = false; + this.xrLabel27.StylePriority.UseForeColor = false; + this.xrLabel27.StylePriority.UseTextAlignment = false; + this.xrLabel27.Text = "Aktenzeichen:"; + this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel28 + // + this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel28.BorderWidth = 2F; + this.xrLabel28.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel28.ForeColor = System.Drawing.Color.Black; + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(106.4582F, 20.00001F); + this.xrLabel28.Multiline = true; + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(265.1387F, 20F); + this.xrLabel28.StylePriority.UseBorders = false; + this.xrLabel28.StylePriority.UseBorderWidth = false; + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.StylePriority.UseForeColor = false; + this.xrLabel28.StylePriority.UseTextAlignment = false; + this.xrLabel28.Text = "[ReferenceNumber]"; + this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel26 + // + this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel26.BorderWidth = 2F; + this.xrLabel26.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel26.ForeColor = System.Drawing.Color.Black; + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(106.4583F, 0F); + this.xrLabel26.Multiline = true; + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel26.SizeF = new System.Drawing.SizeF(265.1387F, 20F); + this.xrLabel26.StylePriority.UseBorders = false; + this.xrLabel26.StylePriority.UseBorderWidth = false; + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.StylePriority.UseForeColor = false; + this.xrLabel26.StylePriority.UseTextAlignment = false; + this.xrLabel26.Text = "[CustomerLastName]"; + this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel25 + // + this.xrLabel25.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel25.ForeColor = System.Drawing.Color.Black; + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 0F); + this.xrLabel25.Multiline = true; + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(106.4582F, 20F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.StylePriority.UseForeColor = false; + this.xrLabel25.StylePriority.UseTextAlignment = false; + this.xrLabel25.Text = "Familienname:"; + this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // formattingRuleServiceDesc + // + this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleServiceDesc.DataMember = "ServicesDouble"; + this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc"; + // + // formattingRuleCostBearer + // + this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleCostBearer.DataMember = "ServicesDouble"; + this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleCostBearer.Name = "formattingRuleCostBearer"; + // + // formattingRuleEmployeeName + // + this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]"; + this.formattingRuleEmployeeName.DataMember = "ServicesDouble"; + this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False; + this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName"; + // + // topMarginBand1 + // + this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2}); + this.topMarginBand1.HeightF = 69.79166F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // xrLabel2 + // + this.xrLabel2.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel2.ForeColor = System.Drawing.Color.Black; + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(6.357829E-05F, 29.99999F); + this.xrLabel2.Multiline = true; + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(435.1387F, 20F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseForeColor = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Leistungsverzeichnis"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 80.90678F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable3}); + this.GroupFooter1.HeightF = 175.5895F; + this.GroupFooter1.KeepTogether = true; + this.GroupFooter1.Name = "GroupFooter1"; + // + // xrTable3 + // + this.xrTable3.BorderColor = System.Drawing.Color.Black; + this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 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.xrTableRow1, + this.xrTableRow2, + this.xrTableRow3, + this.xrTableRow4}); + this.xrTable3.SizeF = new System.Drawing.SizeF(1099F, 88F); + this.xrTable3.StylePriority.UseFont = false; + this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.lblGesamtLabel1, + this.xrTableCell3, + this.xrTableCell4, + this.lblStundensatz1, + this.lblSumme1}); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow1.Weight = 0.82499883949919872D; + // + // lblGesamtLabel1 + // + this.lblGesamtLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblGesamtLabel1.Font = new System.Drawing.Font("Arial", 10F); + this.lblGesamtLabel1.Name = "lblGesamtLabel1"; + this.lblGesamtLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblGesamtLabel1.StylePriority.UseBorders = false; + this.lblGesamtLabel1.StylePriority.UseFont = false; + this.lblGesamtLabel1.StylePriority.UsePadding = false; + this.lblGesamtLabel1.StylePriority.UseTextAlignment = false; + this.lblGesamtLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblGesamtLabel1.Weight = 0.12356294766504963D; + // + // xrTableCell3 + // + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell3.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell3.Multiline = true; + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.StylePriority.UsePadding = false; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell3.Weight = 0.12356295150834998D; + // + // xrTableCell4 + // + this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell4.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell4.Multiline = true; + this.xrTableCell4.Name = "xrTableCell4"; + this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell4.StylePriority.UseBorders = false; + this.xrTableCell4.StylePriority.UseFont = false; + this.xrTableCell4.StylePriority.UsePadding = false; + this.xrTableCell4.StylePriority.UseTextAlignment = false; + this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell4.Weight = 0.12356296866413657D; + // + // lblStundensatz1 + // + this.lblStundensatz1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblStundensatz1.Font = new System.Drawing.Font("Arial", 10F); + this.lblStundensatz1.Name = "lblStundensatz1"; + this.lblStundensatz1.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblStundensatz1.StylePriority.UseBorders = false; + this.lblStundensatz1.StylePriority.UseFont = false; + this.lblStundensatz1.StylePriority.UsePadding = false; + this.lblStundensatz1.StylePriority.UseTextAlignment = false; + this.lblStundensatz1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblStundensatz1.Weight = 0.12356297724202993D; + // + // lblSumme1 + // + this.lblSumme1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSumme1.Font = new System.Drawing.Font("Arial", 10F); + this.lblSumme1.Name = "lblSumme1"; + this.lblSumme1.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblSumme1.StylePriority.UseBorders = false; + this.lblSumme1.StylePriority.UseFont = false; + this.lblSumme1.StylePriority.UsePadding = false; + this.lblSumme1.StylePriority.UseTextAlignment = false; + this.lblSumme1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblSumme1.Weight = 0.12356289124187374D; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.lblGesamtLabel2, + this.xrTableCell8, + this.xrTableCell9, + this.lblStundensatz2, + this.lblSumme2}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 0.82499883949919872D; + // + // lblGesamtLabel2 + // + this.lblGesamtLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblGesamtLabel2.Font = new System.Drawing.Font("Arial", 10F); + this.lblGesamtLabel2.Name = "lblGesamtLabel2"; + this.lblGesamtLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblGesamtLabel2.StylePriority.UseBorders = false; + this.lblGesamtLabel2.StylePriority.UseFont = false; + this.lblGesamtLabel2.StylePriority.UsePadding = false; + this.lblGesamtLabel2.StylePriority.UseTextAlignment = false; + this.lblGesamtLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblGesamtLabel2.Weight = 0.12356294766504963D; + // + // xrTableCell8 + // + this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell8.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell8.StylePriority.UseBorders = false; + this.xrTableCell8.StylePriority.UseFont = false; + this.xrTableCell8.StylePriority.UsePadding = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell8.Weight = 0.12356295150834998D; + // + // xrTableCell9 + // + this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell9.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell9.StylePriority.UseBorders = false; + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UsePadding = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell9.Weight = 0.12356296866413657D; + // + // lblStundensatz2 + // + this.lblStundensatz2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblStundensatz2.Font = new System.Drawing.Font("Arial", 10F); + this.lblStundensatz2.Name = "lblStundensatz2"; + this.lblStundensatz2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblStundensatz2.StylePriority.UseBorders = false; + this.lblStundensatz2.StylePriority.UseFont = false; + this.lblStundensatz2.StylePriority.UsePadding = false; + this.lblStundensatz2.StylePriority.UseTextAlignment = false; + this.lblStundensatz2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblStundensatz2.Weight = 0.12356297724202993D; + // + // lblSumme2 + // + this.lblSumme2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSumme2.Font = new System.Drawing.Font("Arial", 10F); + this.lblSumme2.Name = "lblSumme2"; + this.lblSumme2.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblSumme2.StylePriority.UseBorders = false; + this.lblSumme2.StylePriority.UseFont = false; + this.lblSumme2.StylePriority.UsePadding = false; + this.lblSumme2.StylePriority.UseTextAlignment = false; + this.lblSumme2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblSumme2.Weight = 0.12356289124187374D; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.lblGesamtLabel3, + this.xrTableCell17, + this.xrTableCell18, + this.lblStundensatz3, + this.lblSumme3}); + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 0.82499883949919872D; + // + // lblGesamtLabel3 + // + this.lblGesamtLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblGesamtLabel3.Font = new System.Drawing.Font("Arial", 10F); + this.lblGesamtLabel3.Name = "lblGesamtLabel3"; + this.lblGesamtLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblGesamtLabel3.StylePriority.UseBorders = false; + this.lblGesamtLabel3.StylePriority.UseFont = false; + this.lblGesamtLabel3.StylePriority.UsePadding = false; + this.lblGesamtLabel3.StylePriority.UseTextAlignment = false; + this.lblGesamtLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblGesamtLabel3.Weight = 0.12356294766504963D; + // + // xrTableCell17 + // + this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell17.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell17.StylePriority.UseBorders = false; + this.xrTableCell17.StylePriority.UseFont = false; + this.xrTableCell17.StylePriority.UsePadding = false; + this.xrTableCell17.StylePriority.UseTextAlignment = false; + this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell17.Weight = 0.12356295150834998D; + // + // xrTableCell18 + // + this.xrTableCell18.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell18.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell18.StylePriority.UseBorders = false; + this.xrTableCell18.StylePriority.UseFont = false; + this.xrTableCell18.StylePriority.UsePadding = false; + this.xrTableCell18.StylePriority.UseTextAlignment = false; + this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell18.Weight = 0.12356296866413657D; + // + // lblStundensatz3 + // + this.lblStundensatz3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblStundensatz3.Font = new System.Drawing.Font("Arial", 10F); + this.lblStundensatz3.Name = "lblStundensatz3"; + this.lblStundensatz3.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblStundensatz3.StylePriority.UseBorders = false; + this.lblStundensatz3.StylePriority.UseFont = false; + this.lblStundensatz3.StylePriority.UsePadding = false; + this.lblStundensatz3.StylePriority.UseTextAlignment = false; + this.lblStundensatz3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblStundensatz3.Weight = 0.12356297724202993D; + // + // lblSumme3 + // + this.lblSumme3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSumme3.Font = new System.Drawing.Font("Arial", 10F); + this.lblSumme3.Name = "lblSumme3"; + this.lblSumme3.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblSumme3.StylePriority.UseBorders = false; + this.lblSumme3.StylePriority.UseFont = false; + this.lblSumme3.StylePriority.UsePadding = false; + this.lblSumme3.StylePriority.UseTextAlignment = false; + this.lblSumme3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblSumme3.Weight = 0.12356289124187374D; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.lblGesamtLabel4, + this.xrTableCell22, + this.xrTableCell23, + this.lblStundensatz4, + this.lblSumme4}); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Weight = 0.82499883949919872D; + // + // lblGesamtLabel4 + // + this.lblGesamtLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblGesamtLabel4.Font = new System.Drawing.Font("Arial", 10F); + this.lblGesamtLabel4.Name = "lblGesamtLabel4"; + this.lblGesamtLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblGesamtLabel4.StylePriority.UseBorders = false; + this.lblGesamtLabel4.StylePriority.UseFont = false; + this.lblGesamtLabel4.StylePriority.UsePadding = false; + this.lblGesamtLabel4.StylePriority.UseTextAlignment = false; + this.lblGesamtLabel4.Text = "Gesamt Summe"; + this.lblGesamtLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblGesamtLabel4.Weight = 0.12356294766504963D; + // + // xrTableCell22 + // + this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell22.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell22.StylePriority.UseBorders = false; + this.xrTableCell22.StylePriority.UseFont = false; + this.xrTableCell22.StylePriority.UsePadding = false; + this.xrTableCell22.StylePriority.UseTextAlignment = false; + this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell22.Weight = 0.12356295150834998D; + // + // xrTableCell23 + // + this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell23.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell23.Name = "xrTableCell23"; + this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.xrTableCell23.StylePriority.UseBorders = false; + this.xrTableCell23.StylePriority.UseFont = false; + this.xrTableCell23.StylePriority.UsePadding = false; + this.xrTableCell23.StylePriority.UseTextAlignment = false; + this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell23.Weight = 0.12356296866413657D; + // + // lblStundensatz4 + // + this.lblStundensatz4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblStundensatz4.Font = new System.Drawing.Font("Arial", 10F); + this.lblStundensatz4.Name = "lblStundensatz4"; + this.lblStundensatz4.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblStundensatz4.StylePriority.UseBorders = false; + this.lblStundensatz4.StylePriority.UseFont = false; + this.lblStundensatz4.StylePriority.UsePadding = false; + this.lblStundensatz4.StylePriority.UseTextAlignment = false; + this.lblStundensatz4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblStundensatz4.Weight = 0.12356297724202993D; + // + // lblSumme4 + // + this.lblSumme4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.lblSumme4.Font = new System.Drawing.Font("Arial", 10F); + this.lblSumme4.Name = "lblSumme4"; + this.lblSumme4.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F); + this.lblSumme4.StylePriority.UseBorders = false; + this.lblSumme4.StylePriority.UseFont = false; + this.lblSumme4.StylePriority.UsePadding = false; + this.lblSumme4.StylePriority.UseTextAlignment = false; + this.lblSumme4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblSumme4.Weight = 0.12356289124187374D; + // + // fieldKontaktArt + // + this.fieldKontaktArt.DataMember = "Services"; + this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')"; + this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.fieldKontaktArt.Name = "fieldKontaktArt"; + // + // fieldHours + // + this.fieldHours.DataMember = "Services"; + this.fieldHours.Expression = "[Minutes] / 60"; + this.fieldHours.Name = "fieldHours"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // Leistungsnachweis + // + 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.fieldHours}); + this.DataSource = this.bindingSource1; + this.Font = new System.Drawing.Font("Arial", 10F); + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.formattingRuleStartDate, + this.formattingRuleServiceDesc, + this.formattingRuleCostBearer, + this.formattingRuleEmployeeName}); + this.Margins = new System.Drawing.Printing.Margins(36, 34, 70, 81); + this.PageHeight = 827; + this.PageWidth = 1169; + this.PaperKind = System.Drawing.Printing.PaperKind.A4Rotated; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.GroupHeaderBand GroupHeader1; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel26; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRTable xrTable1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell33; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell32; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell34; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell35; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; + private DevExpress.XtraReports.UI.XRTable xrTable2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.CalculatedField fieldHours; + private DevExpress.XtraReports.UI.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; + private DevExpress.XtraReports.UI.XRTableCell lblGesamtLabel1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; + private DevExpress.XtraReports.UI.XRTableCell lblStundensatz1; + private DevExpress.XtraReports.UI.XRTableCell lblSumme1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell lblGesamtLabel2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell lblStundensatz2; + private DevExpress.XtraReports.UI.XRTableCell lblSumme2; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow3; + private DevExpress.XtraReports.UI.XRTableCell lblGesamtLabel3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell17; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; + private DevExpress.XtraReports.UI.XRTableCell lblStundensatz3; + private DevExpress.XtraReports.UI.XRTableCell lblSumme3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow4; + private DevExpress.XtraReports.UI.XRTableCell lblGesamtLabel4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell22; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell23; + private DevExpress.XtraReports.UI.XRTableCell lblStundensatz4; + private DevExpress.XtraReports.UI.XRTableCell lblSumme4; + } +} diff --git a/ReportImp/MobileEV/Leistungsnachweis.cs b/ReportImp/MobileEV/Leistungsnachweis.cs new file mode 100644 index 000000000..435d052ba --- /dev/null +++ b/ReportImp/MobileEV/Leistungsnachweis.cs @@ -0,0 +1,99 @@ +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 BS.Shared.Core; +using DevExpress.XtraReports.UI; + +namespace MobileEV +{ + public partial class Leistungsnachweis : XtraReport, IBeWoReport + { + public Leistungsnachweis() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + + // Get calling method name + //StackTrace stackTrace = new StackTrace(); + //Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name); + + bool hatGruppen = false; + + //if (pRO == null) + // return; + + if (pRO.Services != null) + { + Dictionary> kategorieZuServices = new Dictionary>(); + Dictionary kategorieZuStunden = new Dictionary(); + var summeGesamt = 0.0m; + + pRO.Services = pRO.Services.OrderBy(s => s.ServiceCategory).ToList(); + + foreach (var service in pRO.Services) + { + if (!kategorieZuServices.ContainsKey(service.ServiceCategory)) + kategorieZuServices.Add(service.ServiceCategory, new List()); + if (!kategorieZuStunden.ContainsKey(service.ServiceCategory)) + kategorieZuStunden.Add(service.ServiceCategory, 0m); + + kategorieZuServices[service.ServiceCategory].Add(service); + kategorieZuStunden[service.ServiceCategory] += Convert.ToDecimal(service.Minutes / 60); + summeGesamt += Convert.ToDecimal(service.Minutes / 60); + } + + foreach (var kategorie in kategorieZuServices) + { + var stunden = 0d; + var counter = 1; + for (int i = 0; i < kategorie.Value.Count; i++) + { + var eintrag = kategorie.Value[i]; + eintrag.Notice5 = counter.ToString(); + counter++; + stunden += eintrag.Minutes / 60; + + //if (i == kategorie.Value.Count - 1) + // kategorie.Value.Add(new ServicesOverviewRO.ServiceDetail() + // { + // Notice5 = "Summe " + kategorie.Key, + + // }); + } + } + + lblSumme4.Text = string.Format("{0:0.00}", summeGesamt); + if (kategorieZuStunden.Count >= 1) + { + lblGesamtLabel1.Text = kategorieZuStunden.ElementAt(0).Key; + lblStundensatz1.Text = kategorieZuStunden.ElementAt(0).Key; + lblSumme1.Text = string.Format("{0:0.00}", kategorieZuStunden.ElementAt(0).Value); + } + if (kategorieZuStunden.Count >= 2) + { + lblGesamtLabel2.Text = kategorieZuStunden.ElementAt(1).Key; + lblStundensatz2.Text = kategorieZuStunden.ElementAt(1).Key; + lblSumme2.Text = string.Format("{0:0.00}", kategorieZuStunden.ElementAt(1).Value); + } + if (kategorieZuStunden.Count >= 3) + { + lblGesamtLabel3.Text = kategorieZuStunden.ElementAt(2).Key; + lblStundensatz3.Text = kategorieZuStunden.ElementAt(2).Key; + lblSumme3.Text = string.Format("{0:0.00}", kategorieZuStunden.ElementAt(2).Value); + } + + List servicesBillable = new List(); + } + + bindingSource1.DataSource = pRO; + } + } +} diff --git a/ReportImp/MobileEV/Leistungsnachweis.resx b/ReportImp/MobileEV/Leistungsnachweis.resx new file mode 100644 index 000000000..19e908bd3 --- /dev/null +++ b/ReportImp/MobileEV/Leistungsnachweis.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 21, 17 + + \ No newline at end of file diff --git a/ReportImp/MobileEV/MobileEV.csproj b/ReportImp/MobileEV/MobileEV.csproj index 4cbc1ef02..faee37855 100644 --- a/ReportImp/MobileEV/MobileEV.csproj +++ b/ReportImp/MobileEV/MobileEV.csproj @@ -50,6 +50,12 @@ + + Component + + + Leistungsnachweis.cs + Component @@ -107,6 +113,10 @@ + + Leistungsnachweis.cs + Designer + Taetigkeitsnachweis.cs Designer From 4490b74279a4ee7ba7e1cc283d89971dd5f90b6b Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 4 Apr 2023 15:41:36 +0200 Subject: [PATCH 4/8] MH: Hilfe Daheim Fehlkontakte --- .../Quittierungsbeleg.Designer.cs | 74 ++++++++++++------- .../Quittierungsbeleg.cs | 9 ++- .../SettlementReport.Designer.cs | 22 +++++- 3 files changed, 72 insertions(+), 33 deletions(-) diff --git a/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.Designer.cs b/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.Designer.cs index d8586190c..46310c5c1 100644 --- a/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.Designer.cs +++ b/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.Designer.cs @@ -62,8 +62,10 @@ namespace HilfeDaheimHandInHand this.lblMitOhne20Prozent = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell49 = 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.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); @@ -116,14 +118,13 @@ namespace HilfeDaheimHandInHand this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -231,7 +232,7 @@ namespace HilfeDaheimHandInHand // xrTableCell2 // this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldKontaktArt")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")}); this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.StylePriority.UseFont = false; @@ -534,6 +535,10 @@ namespace HilfeDaheimHandInHand this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrTableCell49.Weight = 0.44692737430167606D; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // // formattingRuleStartDate // this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; @@ -555,6 +560,14 @@ namespace HilfeDaheimHandInHand this.ReportHeader.HeightF = 117.5F; this.ReportHeader.Name = "ReportHeader"; // + // xrPictureBox3 + // + this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image"))); + this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(666.0001F, 0F); + this.xrPictureBox3.Name = "xrPictureBox3"; + this.xrPictureBox3.SizeF = new System.Drawing.SizeF(81.00003F, 67.37499F); + this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + // // xrLabel7 // this.xrLabel7.BackColor = System.Drawing.Color.Gainsboro; @@ -710,6 +723,7 @@ namespace HilfeDaheimHandInHand // GroupFooter1 // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, this.xrLabel18, this.xrPictureBox2, this.lblUnterschriftKlient, @@ -728,7 +742,7 @@ namespace HilfeDaheimHandInHand this.xrLabel1, this.xrPictureBox1, this.xrLabel17}); - this.GroupFooter1.HeightF = 270F; + this.GroupFooter1.HeightF = 289.7917F; this.GroupFooter1.KeepTogether = true; this.GroupFooter1.Name = "GroupFooter1"; // @@ -736,7 +750,7 @@ namespace HilfeDaheimHandInHand // this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate", "{0:dd.MM.yyyy,}")}); - this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(129.4998F, 227F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(129.4998F, 244.7083F); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel18.SizeF = new System.Drawing.SizeF(100F, 23F); @@ -746,7 +760,7 @@ namespace HilfeDaheimHandInHand // this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Tag", null, "CustomerSignature")}); - this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(230F, 227F); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(230F, 244.7083F); this.xrPictureBox2.Name = "xrPictureBox2"; this.xrPictureBox2.SizeF = new System.Drawing.SizeF(100F, 23F); this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; @@ -756,7 +770,7 @@ namespace HilfeDaheimHandInHand // this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top; this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 10F); - this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(94.99999F, 250F); + this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(94.99998F, 267.7083F); this.lblUnterschriftKlient.Name = "lblUnterschriftKlient"; this.lblUnterschriftKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.lblUnterschriftKlient.SizeF = new System.Drawing.SizeF(271.8472F, 20F); @@ -772,7 +786,7 @@ namespace HilfeDaheimHandInHand // this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.Top; this.lblUnterschriftMitarbeiter.Font = new System.Drawing.Font("Arial", 10F); - this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 250F); + this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 267.7083F); this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter"; this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(336.6944F, 19.99998F); @@ -791,7 +805,7 @@ namespace HilfeDaheimHandInHand | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrTableAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(170F, 79.99997F); + this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(170F, 97.70832F); this.xrTableAbwesenheiten.Name = "xrTableAbwesenheiten"; this.xrTableAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableAbwesenheiten.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { @@ -1002,7 +1016,7 @@ namespace HilfeDaheimHandInHand | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.lblHatAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F); - this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 130F); + this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 147.7083F); this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten"; this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.lblHatAbwesenheiten.SizeF = new System.Drawing.SizeF(30F, 30F); @@ -1019,7 +1033,7 @@ namespace HilfeDaheimHandInHand | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.lblHatGruppen.Font = new System.Drawing.Font("Arial", 10F); - this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 79.99997F); + this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 97.70832F); this.lblHatGruppen.Name = "lblHatGruppen"; this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.lblHatGruppen.SizeF = new System.Drawing.SizeF(30F, 30F); @@ -1033,7 +1047,7 @@ namespace HilfeDaheimHandInHand // xrRichText2 // this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F); - this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 130F); + this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 147.7083F); this.xrRichText2.Name = "xrRichText2"; this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); this.xrRichText2.SizeF = new System.Drawing.SizeF(264.972F, 68.05556F); @@ -1042,7 +1056,7 @@ namespace HilfeDaheimHandInHand // xrRichText1 // this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F); - this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 79.99997F); + this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4723F, 97.70832F); this.xrRichText1.Name = "xrRichText1"; this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString"); this.xrRichText1.SizeF = new System.Drawing.SizeF(264.9721F, 50F); @@ -1051,7 +1065,7 @@ namespace HilfeDaheimHandInHand // xrLabel15 // this.xrLabel15.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Underline); - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 79.99997F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 97.70832F); this.xrLabel15.Multiline = true; this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); @@ -1162,7 +1176,7 @@ namespace HilfeDaheimHandInHand // this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Tag", null, "EmployeeSignature")}); - this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(535.6389F, 227F); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(535.6389F, 244.7083F); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Scripts.OnBeforePrint = "xrPictureBox1_BeforePrint"; this.xrPictureBox1.SizeF = new System.Drawing.SizeF(100F, 23F); @@ -1173,7 +1187,7 @@ namespace HilfeDaheimHandInHand // this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeSignatureDate", "{0:dd.MM.yyyy,}")}); - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 227F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 244.7083F); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel17.SizeF = new System.Drawing.SizeF(100F, 23F); @@ -1186,17 +1200,20 @@ namespace HilfeDaheimHandInHand this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // - // bindingSource1 + // xrLabel2 // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // - // xrPictureBox3 - // - this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image"))); - this.xrPictureBox3.LocationFloat = new DevExpress.Utils.PointFloat(666.0001F, 0F); - this.xrPictureBox3.Name = "xrPictureBox3"; - this.xrPictureBox3.SizeF = new System.Drawing.SizeF(81.00003F, 67.37499F); - this.xrPictureBox3.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrLabel2.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(7.947286E-06F, 59.99997F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(320F, 20F); + this.xrLabel2.StylePriority.UseBackColor = false; + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UsePadding = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "F = Fehlkontakt"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // Quittierungsbeleg // @@ -1223,10 +1240,10 @@ namespace HilfeDaheimHandInHand this.Version = "17.1"; ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -1320,5 +1337,6 @@ namespace HilfeDaheimHandInHand private DevExpress.XtraReports.UI.XRLabel xrLabel18; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; } } diff --git a/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.cs b/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.cs index 81e433409..0e16cc2ec 100644 --- a/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.cs +++ b/ReportImp/HilfeDaheimHandInHand/Quittierungsbeleg.cs @@ -35,8 +35,15 @@ namespace HilfeDaheimHandInHand foreach (var sd in pRO.Services) { - if (sd.IsBillable) + if (sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt")) { + if (sd.ServiceDescription.ToLower().Contains("fehlkontakt")) + sd.Notice5 = "F"; + else if (sd.IsGroup) + sd.Notice5 = "GR"; + else if (!sd.IsGroup) + sd.Notice5 = "E"; + ServicesOverviewRO.CreateSignatureString(sd); if (sd.IsGroup) { diff --git a/ReportImp/HilfeDaheimHandInHand/SettlementReport.Designer.cs b/ReportImp/HilfeDaheimHandInHand/SettlementReport.Designer.cs index 1c66c69c7..d3b5b09bd 100644 --- a/ReportImp/HilfeDaheimHandInHand/SettlementReport.Designer.cs +++ b/ReportImp/HilfeDaheimHandInHand/SettlementReport.Designer.cs @@ -67,6 +67,7 @@ namespace HilfeDaheimHandInHand this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel(); @@ -88,7 +89,7 @@ namespace HilfeDaheimHandInHand this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.AnspruchMinusEigenbeteiligung = new DevExpress.XtraReports.UI.CalculatedField(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); @@ -606,9 +607,14 @@ namespace HilfeDaheimHandInHand this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.xrTableCell23.Weight = 0.21616984089967392D; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); + // // GroupFooter1 // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel30, this.xrLabel42, this.xrLabel40, this.xrLabel39, @@ -629,7 +635,7 @@ namespace HilfeDaheimHandInHand this.xrLabel4, this.xrLabel3}); this.GroupFooter1.Font = new System.Drawing.Font("Verdana", 10F); - this.GroupFooter1.HeightF = 345.7848F; + this.GroupFooter1.HeightF = 383.2848F; this.GroupFooter1.Name = "GroupFooter1"; this.GroupFooter1.StylePriority.UseFont = false; // @@ -954,9 +960,16 @@ namespace HilfeDaheimHandInHand this.AnspruchMinusEigenbeteiligung.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; this.AnspruchMinusEigenbeteiligung.Name = "AnspruchMinusEigenbeteiligung"; // - // bindingSource1 + // xrLabel30 // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO); + this.xrLabel30.CanShrink = true; + this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FehlkontakteString")}); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(0F, 360.2847F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(724.5001F, 23F); + this.xrLabel30.Text = "xrLabel30"; // // Spitzabrechnung // @@ -1047,5 +1060,6 @@ namespace HilfeDaheimHandInHand private DevExpress.XtraReports.UI.XRLabel xrLabel12; private DevExpress.XtraReports.UI.XRLabel xrLabel41; private DevExpress.XtraReports.UI.XRLabel xrLabel42; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; } } From 0f259777b57572422692a8b94472810aeb11dfd4 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 4 Apr 2023 16:04:07 +0200 Subject: [PATCH 5/8] MH: KCM Datumsunterschrift entfernt --- .../KcmGmbH/Quittierungsbeleg.Designer.cs | 123 ++++------------- .../QuittierungsbelegAssistenz.Designer.cs | 129 +++++------------- 2 files changed, 63 insertions(+), 189 deletions(-) diff --git a/ReportImp/KcmGmbH/Quittierungsbeleg.Designer.cs b/ReportImp/KcmGmbH/Quittierungsbeleg.Designer.cs index dec42100f..5aa3377b6 100644 --- a/ReportImp/KcmGmbH/Quittierungsbeleg.Designer.cs +++ b/ReportImp/KcmGmbH/Quittierungsbeleg.Designer.cs @@ -42,8 +42,6 @@ namespace KcmGmbH this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); - this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -51,14 +49,12 @@ namespace KcmGmbH this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell8 = 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.xrTableCell49 = 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(); @@ -78,6 +74,7 @@ namespace KcmGmbH this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel(); @@ -117,7 +114,6 @@ namespace KcmGmbH this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -165,7 +161,7 @@ namespace KcmGmbH 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(735F, 25F); + this.xrTable3.SizeF = new System.Drawing.SizeF(747F, 25F); this.xrTable3.StylePriority.UseFont = false; this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // @@ -177,8 +173,7 @@ namespace KcmGmbH this.xrTableCell10, this.xrTableCell2, this.xrTableCell15, - this.xrTableCell12, - this.xrTableCell50}); + this.xrTableCell12}); this.xrTableRow6.Name = "xrTableRow6"; this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -258,30 +253,6 @@ namespace KcmGmbH this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell12.Weight = 0.15151514971144259D; // - // xrTableCell50 - // - this.xrTableCell50.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.picSignature}); - 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.MiddleLeft; - this.xrTableCell50.Weight = 0.27777777580325391D; - // - // picSignature - // - this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")}); - this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(1.000002F, 1.000002F); - this.picSignature.Name = "picSignature"; - this.picSignature.SizeF = new System.Drawing.SizeF(218F, 23F); - this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - this.picSignature.StylePriority.UseBorders = false; - this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint); - // // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -300,7 +271,7 @@ namespace KcmGmbH this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, this.xrTableRow1}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(735F, 40F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(747F, 40F); this.xrTableServiceRecords1.StylePriority.UseBackColor = false; this.xrTableServiceRecords1.StylePriority.UseBorders = false; this.xrTableServiceRecords1.StylePriority.UseFont = false; @@ -312,8 +283,7 @@ namespace KcmGmbH this.xrTableCell3, this.xrTableCell4, this.xrTableCell11, - this.xrTableCell9, - this.xrTableCell48}); + this.xrTableCell9}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -381,20 +351,6 @@ namespace KcmGmbH this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.xrTableCell9.Weight = 0.33519553072625696D; // - // xrTableCell48 - // - this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell48.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell48.Multiline = true; - this.xrTableCell48.Name = "xrTableCell48"; - this.xrTableCell48.StylePriority.UseBorders = false; - this.xrTableCell48.StylePriority.UseFont = false; - this.xrTableCell48.StylePriority.UseTextAlignment = false; - this.xrTableCell48.Text = "Unterschrift"; - this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; - this.xrTableCell48.Weight = 0.6145251396648046D; - // // xrTableRow1 // this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { @@ -402,8 +358,7 @@ namespace KcmGmbH this.xrTableCell8, this.xrTableCell5, this.xrTableCell6, - this.xrTableCell7, - this.xrTableCell49}); + this.xrTableCell7}); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Weight = 0.48945783132530118D; // @@ -474,20 +429,6 @@ namespace KcmGmbH this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrTableCell7.Weight = 0.335195530726257D; // - // xrTableCell49 - // - this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell49.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell49.Multiline = true; - this.xrTableCell49.Name = "xrTableCell49"; - this.xrTableCell49.StylePriority.UseBorders = false; - this.xrTableCell49.StylePriority.UseFont = false; - this.xrTableCell49.StylePriority.UseTextAlignment = false; - this.xrTableCell49.Text = "Klientin / Klient"; - this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell49.Weight = 0.61452513966480449D; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); @@ -529,7 +470,7 @@ namespace KcmGmbH this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel14.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(395F, 89.5F); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(406.9956F, 89.49998F); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel14.SizeF = new System.Drawing.SizeF(180F, 30.50002F); @@ -546,7 +487,7 @@ namespace KcmGmbH this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")}); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(575F, 89.5F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(586.9955F, 89.49998F); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel16.SizeF = new System.Drawing.SizeF(160.0044F, 30.50002F); @@ -564,7 +505,7 @@ namespace KcmGmbH | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel7.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(395.0001F, 120F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(406.9956F, 120F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel7.SizeF = new System.Drawing.SizeF(179.9999F, 30.50001F); @@ -580,7 +521,7 @@ namespace KcmGmbH // this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(575F, 120F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(586.9955F, 120F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel8.SizeF = new System.Drawing.SizeF(160.0042F, 30.50001F); @@ -730,6 +671,20 @@ namespace KcmGmbH this.GroupFooter1.KeepTogether = true; this.GroupFooter1.Name = "GroupFooter1"; // + // xrLabel19 + // + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(320F, 20F); + this.xrLabel19.StylePriority.UseBackColor = false; + this.xrLabel19.StylePriority.UseBorders = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UsePadding = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + this.xrLabel19.Text = "F = Fehlkontakt"; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel17 // this.xrLabel17.BackColor = System.Drawing.Color.Transparent; @@ -1132,17 +1087,17 @@ namespace KcmGmbH // this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro; this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(515F, 0F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(355.3689F, 0F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(220F, 22F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(217.5728F, 22F); this.xrLabel10.StylePriority.UseBackColor = false; this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UsePadding = false; this.xrLabel10.StylePriority.UseTextAlignment = false; this.xrLabel10.Text = "Fachleistungen in Minuten"; - this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel9 // @@ -1151,7 +1106,7 @@ namespace KcmGmbH this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(245F, 0F); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel9.SizeF = new System.Drawing.SizeF(150F, 21.99999F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(110.3689F, 21.99999F); this.xrLabel9.StylePriority.UseBackColor = false; this.xrLabel9.StylePriority.UseBorders = false; this.xrLabel9.StylePriority.UseFont = false; @@ -1165,10 +1120,10 @@ namespace KcmGmbH this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")}); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(395F, 0F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(572.9418F, 0F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(120F, 21.99999F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(174.0582F, 21.99999F); this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseBorders = false; this.xrLabel1.StylePriority.UseFont = false; @@ -1183,20 +1138,6 @@ namespace KcmGmbH this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // - // xrLabel19 - // - this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); - this.xrLabel19.Name = "xrLabel19"; - this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel19.SizeF = new System.Drawing.SizeF(320F, 20F); - this.xrLabel19.StylePriority.UseBackColor = false; - this.xrLabel19.StylePriority.UseBorders = false; - this.xrLabel19.StylePriority.UseFont = false; - this.xrLabel19.StylePriority.UsePadding = false; - this.xrLabel19.StylePriority.UseTextAlignment = false; - this.xrLabel19.Text = "F = Fehlkontakt"; - this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // // Quittierungsbeleg // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -1251,14 +1192,12 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell48; private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell49; private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRLabel xrLabel3; private DevExpress.XtraReports.UI.XRLabel xrLabel7; @@ -1273,7 +1212,6 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell50; private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt; private DevExpress.XtraReports.UI.XRLabel xrLabel11; @@ -1310,7 +1248,6 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; private DevExpress.XtraReports.UI.XRLabel xrLabel14; private DevExpress.XtraReports.UI.XRLabel xrLabel16; - private DevExpress.XtraReports.UI.XRPictureBox picSignature; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRLabel xrLabel17; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; diff --git a/ReportImp/KcmGmbH/QuittierungsbelegAssistenz.Designer.cs b/ReportImp/KcmGmbH/QuittierungsbelegAssistenz.Designer.cs index a113957df..953fcdbc1 100644 --- a/ReportImp/KcmGmbH/QuittierungsbelegAssistenz.Designer.cs +++ b/ReportImp/KcmGmbH/QuittierungsbelegAssistenz.Designer.cs @@ -42,8 +42,6 @@ namespace KcmGmbH this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); - this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -51,14 +49,12 @@ namespace KcmGmbH this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell8 = 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.xrTableCell49 = 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(); @@ -78,6 +74,7 @@ namespace KcmGmbH this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox(); this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel(); @@ -116,7 +113,6 @@ namespace KcmGmbH this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); @@ -164,7 +160,7 @@ namespace KcmGmbH 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(735F, 25F); + this.xrTable3.SizeF = new System.Drawing.SizeF(747F, 25F); this.xrTable3.StylePriority.UseFont = false; this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // @@ -176,8 +172,7 @@ namespace KcmGmbH this.xrTableCell10, this.xrTableCell2, this.xrTableCell15, - this.xrTableCell12, - this.xrTableCell50}); + this.xrTableCell12}); this.xrTableRow6.Name = "xrTableRow6"; this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -257,30 +252,6 @@ namespace KcmGmbH this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell12.Weight = 0.15151514971144259D; // - // xrTableCell50 - // - this.xrTableCell50.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.picSignature}); - 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.MiddleLeft; - this.xrTableCell50.Weight = 0.27777777580325391D; - // - // picSignature - // - this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")}); - this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(1.000002F, 1.000002F); - this.picSignature.Name = "picSignature"; - this.picSignature.SizeF = new System.Drawing.SizeF(218F, 23F); - this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; - this.picSignature.StylePriority.UseBorders = false; - this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint); - // // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -299,7 +270,7 @@ namespace KcmGmbH this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, this.xrTableRow1}); - this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(735F, 40F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(747F, 40F); this.xrTableServiceRecords1.StylePriority.UseBackColor = false; this.xrTableServiceRecords1.StylePriority.UseBorders = false; this.xrTableServiceRecords1.StylePriority.UseFont = false; @@ -311,8 +282,7 @@ namespace KcmGmbH this.xrTableCell3, this.xrTableCell4, this.xrTableCell11, - this.xrTableCell9, - this.xrTableCell48}); + this.xrTableCell9}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -380,20 +350,6 @@ namespace KcmGmbH this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.xrTableCell9.Weight = 0.33519553072625696D; // - // xrTableCell48 - // - this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell48.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell48.Multiline = true; - this.xrTableCell48.Name = "xrTableCell48"; - this.xrTableCell48.StylePriority.UseBorders = false; - this.xrTableCell48.StylePriority.UseFont = false; - this.xrTableCell48.StylePriority.UseTextAlignment = false; - this.xrTableCell48.Text = "Unterschrift"; - this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; - this.xrTableCell48.Weight = 0.6145251396648046D; - // // xrTableRow1 // this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { @@ -401,8 +357,7 @@ namespace KcmGmbH this.xrTableCell8, this.xrTableCell5, this.xrTableCell6, - this.xrTableCell7, - this.xrTableCell49}); + this.xrTableCell7}); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Weight = 0.48945783132530118D; // @@ -472,20 +427,6 @@ namespace KcmGmbH this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrTableCell7.Weight = 0.335195530726257D; // - // xrTableCell49 - // - this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableCell49.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrTableCell49.Multiline = true; - this.xrTableCell49.Name = "xrTableCell49"; - this.xrTableCell49.StylePriority.UseBorders = false; - this.xrTableCell49.StylePriority.UseFont = false; - this.xrTableCell49.StylePriority.UseTextAlignment = false; - this.xrTableCell49.Text = "Klientin / Klient"; - this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; - this.xrTableCell49.Weight = 0.61452513966480449D; - // // bindingSource1 // this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); @@ -527,7 +468,7 @@ namespace KcmGmbH this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel14.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(395F, 89.5F); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(406.9956F, 89.49998F); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel14.SizeF = new System.Drawing.SizeF(180F, 30.50002F); @@ -544,7 +485,7 @@ namespace KcmGmbH this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")}); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(575F, 89.5F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(586.9956F, 89.49998F); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel16.SizeF = new System.Drawing.SizeF(160.0044F, 30.50002F); @@ -562,7 +503,7 @@ namespace KcmGmbH | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel7.Font = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(395.0001F, 120F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(406.9957F, 120F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel7.SizeF = new System.Drawing.SizeF(179.9999F, 30.50001F); @@ -578,7 +519,7 @@ namespace KcmGmbH // this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(575F, 120F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(586.9956F, 120F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel8.SizeF = new System.Drawing.SizeF(160.0042F, 30.50001F); @@ -727,6 +668,20 @@ namespace KcmGmbH this.GroupFooter1.KeepTogether = true; this.GroupFooter1.Name = "GroupFooter1"; // + // xrLabel11 + // + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 65.20831F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(320F, 20F); + this.xrLabel11.StylePriority.UseBackColor = false; + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.StylePriority.UsePadding = false; + this.xrLabel11.StylePriority.UseTextAlignment = false; + this.xrLabel11.Text = "F = Fehlkontakt"; + this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel18 // this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { @@ -1085,7 +1040,7 @@ namespace KcmGmbH // // xrLabel13 // - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.99998F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.20836F); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel13.SizeF = new System.Drawing.SizeF(320F, 20F); @@ -1099,7 +1054,7 @@ namespace KcmGmbH // // xrLabel12 // - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 19.99999F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25.20828F); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrLabel12.SizeF = new System.Drawing.SizeF(229.0278F, 20F); @@ -1115,26 +1070,26 @@ namespace KcmGmbH // this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro; this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(515F, 0F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(355.3689F, 0F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(220F, 22F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(217.5728F, 22F); this.xrLabel10.StylePriority.UseBackColor = false; this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UsePadding = false; this.xrLabel10.StylePriority.UseTextAlignment = false; this.xrLabel10.Text = "Assistenzleistungen in Minuten"; - this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel9 // this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Right; this.xrLabel9.Font = new System.Drawing.Font("Arial", 10F); - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(245F, 0F); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(202.9418F, 0F); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel9.SizeF = new System.Drawing.SizeF(150F, 21.99999F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(152.4272F, 21.99999F); this.xrLabel9.StylePriority.UseBackColor = false; this.xrLabel9.StylePriority.UseBorders = false; this.xrLabel9.StylePriority.UseFont = false; @@ -1148,10 +1103,10 @@ namespace KcmGmbH this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")}); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(395F, 0F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(572.9418F, 0F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(120F, 21.99999F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(174.058F, 21.99999F); this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseBorders = false; this.xrLabel1.StylePriority.UseFont = false; @@ -1166,20 +1121,6 @@ namespace KcmGmbH this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // - // xrLabel11 - // - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.99997F); - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(320F, 20F); - this.xrLabel11.StylePriority.UseBackColor = false; - this.xrLabel11.StylePriority.UseBorders = false; - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UsePadding = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "F = Fehlkontakt"; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // // QuittierungsbelegAssistenz // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -1234,14 +1175,12 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell4; private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell48; private DevExpress.XtraReports.UI.XRTableRow xrTableRow1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell49; private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; private DevExpress.XtraReports.UI.XRLabel xrLabel3; private DevExpress.XtraReports.UI.XRLabel xrLabel7; @@ -1256,7 +1195,6 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell50; private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt; private DevExpress.XtraReports.UI.XRLabel xrLabel10; @@ -1292,7 +1230,6 @@ namespace KcmGmbH private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; private DevExpress.XtraReports.UI.XRLabel xrLabel14; private DevExpress.XtraReports.UI.XRLabel xrLabel16; - private DevExpress.XtraReports.UI.XRPictureBox picSignature; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRLabel xrLabel18; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3; From 7c62e31cbda561adc559410c2aba59bb91bd00f9 Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Tue, 4 Apr 2023 19:30:03 +0200 Subject: [PATCH 6/8] =?UTF-8?q?MoK:=20Rechteabfrage=20beim=20Bearbeiten=20?= =?UTF-8?q?von=20Klientenstammdaten.=20Bug=20gefixt,=20der=20die=20Uhrzeit?= =?UTF-8?q?=20beim=20Bearbeiten=20von=20Terminen=20ver=C3=A4ndert,=20obwoh?= =?UTF-8?q?l=20dies=20nur=20bei=20ganzt=C3=A4gigen=20Terminen=20passieren?= =?UTF-8?q?=20darf.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FaC: try-catch um das Laden der Mitarbeiterbilder gebaut. Es löst bei mir eine Exception aus. --- BeWo/View/Detail/EmployeeView.xaml.cs | 22 ++++--- BeWoPlanerMobil/Controllers/MainController.cs | 3 +- .../Controllers/SchedulerController.cs | 4 +- BeWoPlanerMobil/Models/AbstractModel.cs | 2 + .../Scripts/view-scripts/scheduler.js | 7 ++- .../Views/Customer/Customer.cshtml | 62 ++++++++++--------- BeWoPlanerMobil/Views/Shared/_Layout.cshtml | 6 +- Service/Plugins/PluginLoader.cs | 4 +- 8 files changed, 63 insertions(+), 47 deletions(-) diff --git a/BeWo/View/Detail/EmployeeView.xaml.cs b/BeWo/View/Detail/EmployeeView.xaml.cs index c1decd0fc..8b0002443 100644 --- a/BeWo/View/Detail/EmployeeView.xaml.cs +++ b/BeWo/View/Detail/EmployeeView.xaml.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.ComponentModel; +using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.ServiceModel; @@ -148,14 +149,21 @@ namespace BeWo.View.Detail //Employee Image if (_ViewModel.EmployeeImage != null) { - using (var ms = new System.IO.MemoryStream(_ViewModel.EmployeeImage)) + try { - var image = new BitmapImage(); - image.BeginInit(); - image.CacheOption = BitmapCacheOption.OnLoad; // here - image.StreamSource = ms; - image.EndInit(); - Img.Source = image; + using (var ms = new MemoryStream(_ViewModel.EmployeeImage)) + { + var image = new BitmapImage(); + image.BeginInit(); + image.CacheOption = BitmapCacheOption.OnLoad; // here + image.StreamSource = ms; + image.EndInit(); + Img.Source = image; + } + } + catch(Exception exception) + { + } } diff --git a/BeWoPlanerMobil/Controllers/MainController.cs b/BeWoPlanerMobil/Controllers/MainController.cs index 49ea29297..e955d94ce 100644 --- a/BeWoPlanerMobil/Controllers/MainController.cs +++ b/BeWoPlanerMobil/Controllers/MainController.cs @@ -1888,11 +1888,10 @@ namespace BeWoPlanerMobil.Controllers else { records = Model.ServiceRecordTimeInterval == ServiceRecordTimeInterval.ZeitraumWaehlen || Model.ServiceRecordTimeInterval == ServiceRecordTimeInterval.Monatsauswahl ? - OperationsService.GetCustomerServiceRecordsWithStartEndDate(Model.SelectedSupportConcept.Customer.CustomerOid, Model.CostBearer2SupportConceptOid.Value, Model.SelectedZeitraum.StartDate.Value, Model.SelectedZeitraum.EndDate.Value) : + OperationsService.GetCustomerServiceRecordsCompactWithStartEndDate(Model.SelectedSupportConcept.Customer.CustomerOid, Model.CostBearer2SupportConceptOid.Value, Model.SelectedZeitraum.StartDate.Value, Model.SelectedZeitraum.EndDate.Value) : OperationsService.FindServiceRecordsForLastDays(Model.CostBearer2SupportConceptOid, Model.SelectedDayCount, Model.Employee.EmployeeOid.Value).ToList(); } - //records = OperationsService.FindServiceRecordsForLastDays(Model.CostBearer2SupportConceptOid < 1 ? null : Model.CostBearer2SupportConceptOid, dayCount, Model.Employee.EmployeeOid).ToList(); var recordsOhneDuplikate = new List(); foreach(var r in records.Where(r => !recordsOhneDuplikate.Any(a => a.GroupOid.HasValue && a.GroupOid.Value.Equals(r.GroupOid)))) diff --git a/BeWoPlanerMobil/Controllers/SchedulerController.cs b/BeWoPlanerMobil/Controllers/SchedulerController.cs index 75a9d7b14..c0694ed73 100644 --- a/BeWoPlanerMobil/Controllers/SchedulerController.cs +++ b/BeWoPlanerMobil/Controllers/SchedulerController.cs @@ -464,11 +464,11 @@ namespace BeWoPlanerMobil.Controllers if(Model.SelectedAppointment != null) { - // ToDo: Handelt es sich um einen Ganztagstermin, muss auf das Enddatum eine Minute addiert werden! - if(Model.SelectedAppointment.EndDate.HasValue) + if(Model.SelectedAppointment.AllDay && Model.SelectedAppointment.EndDate.HasValue) { Model.SelectedAppointment.EndDate = Model.SelectedAppointment.EndDate.Value.AddMinutes(1).AddDays(-1); } + Model.IsAllDay = Model.SelectedAppointment.AllDay; Model.IsPrivate = Model.SelectedAppointment.IsPrivate; Model.SelectedResources = Model.SelectedAppointment?.ResourceList ?? new List(); diff --git a/BeWoPlanerMobil/Models/AbstractModel.cs b/BeWoPlanerMobil/Models/AbstractModel.cs index d5066d6d1..fa2022647 100644 --- a/BeWoPlanerMobil/Models/AbstractModel.cs +++ b/BeWoPlanerMobil/Models/AbstractModel.cs @@ -141,5 +141,7 @@ namespace BeWoPlanerMobil.Models public static bool HasRightToDeleteReceiptSignatures => CheckRight(UserRightType.ConfirmationReceiptSignatures_Delete); public static bool HasRightToRateGoals => CheckRight(UserRightType.BewertenInZeiterfassung); + + public static bool HasRightToEditCustomers => CheckRight(UserRightType.CustomerView_Edit); } } \ No newline at end of file diff --git a/BeWoPlanerMobil/Scripts/view-scripts/scheduler.js b/BeWoPlanerMobil/Scripts/view-scripts/scheduler.js index d742ec445..9dda53ba8 100644 --- a/BeWoPlanerMobil/Scripts/view-scripts/scheduler.js +++ b/BeWoPlanerMobil/Scripts/view-scripts/scheduler.js @@ -67,9 +67,10 @@ function validateAppointmentForm() { var d = isAllDay ? false : endTime === undefined || endTime === null || !endTime.isValid(); if (a || b || c || d || isStartDateInputEmpty || isStartTimeInputEmpty || isEndTimeInputEmpty || isEndDateInputEmpty) { - hideSpinner(); + logInfo3("Datumsproblem!"); + showMessagePopupWithHtml("Fehler", ''); $("#scheduler-start-time, #scheduler-end-time").val(""); @@ -100,8 +101,8 @@ function validateAppointmentForm() { if(endDate.isBefore(startDate)) { hideSpinner(); - $("#messagePopup .modal-body").html(''); - showMessagePopup("Fehler"); + //$("#messagePopup .modal-body").html(''); + showMessagePopupWithHtml("Fehler", ''); return; } diff --git a/BeWoPlanerMobil/Views/Customer/Customer.cshtml b/BeWoPlanerMobil/Views/Customer/Customer.cshtml index 59cab0b6e..80a4fd182 100644 --- a/BeWoPlanerMobil/Views/Customer/Customer.cshtml +++ b/BeWoPlanerMobil/Views/Customer/Customer.cshtml @@ -101,6 +101,8 @@ { using(Html.BeginForm("UpdateCustomer", "Customer", FormMethod.Post, new { id = "stammdaten-form", @class = "needs-validation", novalidate="novalidate" })) { + var inputDisabled = !AbstractModel.HasRightToEditCustomers ? "disabled" : string.Empty; +
@@ -116,7 +118,7 @@ Vorname
- +
Dieses Feld darf nicht leer sein!
@@ -131,7 +133,7 @@ Nachname
- +
Dieses Feld darf nicht leer sein!
@@ -146,7 +148,7 @@ Geburtstag - +
@@ -170,9 +172,9 @@ var selectedNull = Model.SelectedJsonCustomer.CustomerSex is null ? "selected" : string.Empty; } - - + @@ -196,7 +198,7 @@ Adresszusatz
- + @@ -205,10 +207,10 @@
- Straße + Straße
- +
@@ -220,7 +222,7 @@ PLZ - + @@ -232,7 +234,7 @@ Ort - + @@ -253,7 +255,7 @@ Name - + @@ -262,10 +264,10 @@
- Straße + Straße
- +
@@ -277,7 +279,7 @@ PLZ - + @@ -289,7 +291,7 @@ Ort - + @@ -310,7 +312,7 @@ Handy - +
- +
- + @@ -356,7 +358,7 @@ Mail - +
- +
- -
- -
- + + @if(AbstractModel.HasRightToEditCustomers) + { +
+ +
+ } + +
-
+
@@ -398,7 +404,7 @@
-
Aktenzeichen pro Kostenträger
+
Aktenzeichen pro Kostenträger
@@ -406,7 +412,7 @@ - Kostenträger + Kostenträger Aktenzeichen diff --git a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml index 6eb5dcb3e..bfe71902e 100644 --- a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml +++ b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml @@ -59,7 +59,7 @@ - + @@ -354,7 +354,7 @@ { using(Html.BeginForm("RedirectToReportViewer", "Main", FormMethod.Post)) { -