From e6160d997f2eb91c08c73f947719bf4cf872a7df Mon Sep 17 00:00:00 2001 From: HirschleM Date: Fri, 7 Aug 2026 09:41:54 +0200 Subject: [PATCH] MH: Mittelpunkt CustomInvoiceCreation Kappung ohne Faktor SupportOID=170089 --- ReportImp/Mittelpunkt/Invoicing/CustomInvoiceCreation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReportImp/Mittelpunkt/Invoicing/CustomInvoiceCreation.cs b/ReportImp/Mittelpunkt/Invoicing/CustomInvoiceCreation.cs index 763710b69..354c963cc 100644 --- a/ReportImp/Mittelpunkt/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/Mittelpunkt/Invoicing/CustomInvoiceCreation.cs @@ -76,6 +76,8 @@ namespace Mittelpunkt.Invoicing var crpWithRateFactor = scap.CostBearer2SupportConcept.CostBearer.CostRatePeriods.FirstOrDefault(crp => crp.CostRateType == BS.Shared.CostRatePeriodType.RateFactor); var ratefactor = crpWithRateFactor != null ? (100 + crpWithRateFactor.CostRateValue.Value) / 100 : 1m; + if (!scap.CostBearer2SupportConcept.CostBearer.IsCalculatingWithFactor) + ratefactor = 1; var list = new List(); int week = 0;