From f06f6609770afca143de085cfaa5d710d9334333 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Wed, 17 Sep 2025 15:24:25 +0200 Subject: [PATCH] =?UTF-8?q?LWLSettlementInvoiceCreation=20-=20zusammenfass?= =?UTF-8?q?en=20der=20Entgeltzeitr=C3=A4ume=20wieder=20reingenommen=20(LWL?= =?UTF-8?q?=20unhappy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Invoicing/LWLSettlementInvoiceCreation.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Service/Invoicing/LWLSettlementInvoiceCreation.cs b/Service/Invoicing/LWLSettlementInvoiceCreation.cs index 99cc6658f..e1eb2080e 100644 --- a/Service/Invoicing/LWLSettlementInvoiceCreation.cs +++ b/Service/Invoicing/LWLSettlementInvoiceCreation.cs @@ -259,7 +259,10 @@ namespace BeWo.Service.Invoicing foreach (var ap in apList) { IList list = null; - String key = String.Format("{0}_{1}_{2:ddMMyyy}", ap.AmountPerUnit, ap.RateFactor, ap.PeriodStartDate); + String key = String.Format("{0}_{1}", ap.AmountPerUnit, ap.RateFactor); + // AB, 17.09.2025 doch wieder zurück, der LWL hätte gerne Preise zusammengefasst, z.B. bei mehrern Bewilligungen in einem Preiszeitraum + // ein Kunde hat aber zweimal den gleichen Preis, da MUSS es getrennt werden. Wenn das Thema wird komplett neu aufdröseln + //String key = String.Format("{0}_{1}_{2:ddMMyyy}", ap.AmountPerUnit, ap.RateFactor, ap.PeriodStartDate); if (apsByHourlyRate.ContainsKey(key)) {