From 944bf3edd2065563784fd6e41aa199f986dbad2d Mon Sep 17 00:00:00 2001 From: Alexandra Date: Fri, 20 Mar 2026 12:54:15 +0100 Subject: [PATCH] =?UTF-8?q?PsychosozialerTraegervereinReports/RechnungSons?= =?UTF-8?q?tige=20-=20Bugfix=20nach=20letzter=20=C3=84nderung,=20Faktor=20?= =?UTF-8?q?nicht=20doppelt=20aufrechnen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RechnungSonstige.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ReportImp/PsychosozialerTraegervereinReports/RechnungSonstige.cs b/ReportImp/PsychosozialerTraegervereinReports/RechnungSonstige.cs index 3b762d09d..e100a4951 100644 --- a/ReportImp/PsychosozialerTraegervereinReports/RechnungSonstige.cs +++ b/ReportImp/PsychosozialerTraegervereinReports/RechnungSonstige.cs @@ -29,27 +29,27 @@ namespace BeWo.PsychosozialerTraegervereinReports { foreach (var i in p.ServiceInvoiceItems) { - if (i.HourlyRate.HasValue) - { - hourlyRate = i.HourlyRate.Value; + //if (i.HourlyRate.HasValue) + //{ + // hourlyRate = i.HourlyRate.Value; - if (!String.IsNullOrEmpty(i.RateFactor)) - { - var rfStr = i.RateFactor.Replace("%", "").Replace(",00", "").Trim(); - int rfInt = 0; - Int32.TryParse(rfStr, out rfInt); - rateFactor = (100m + rfInt)/100m; + // if (!String.IsNullOrEmpty(i.RateFactor)) + // { + // var rfStr = i.RateFactor.Replace("%", "").Replace(",00", "").Trim(); + // int rfInt = 0; + // Int32.TryParse(rfStr, out rfInt); + // rateFactor = (100m + rfInt)/100m; - if (i.Hours.HasValue) - i.Hours= i.Hours.Value * rateFactor; + // if (i.Hours.HasValue) + // i.Hours= i.Hours.Value * rateFactor; - } - } + // } + //} } } } } - hours *= rateFactor; + //hours *= rateFactor; if (!String.IsNullOrEmpty(pRO.CustomerSalutation) && pRO.CustomerSalutation.ToLower() == "herr") pRO.CustomerSalutation = "Herrn";