From 35b2560427b2669722ca5581084117f209e32eb4 Mon Sep 17 00:00:00 2001 From: Kojo Date: Tue, 24 Jun 2025 19:30:23 +0200 Subject: [PATCH] =?UTF-8?q?SoziotherapieInvoiceCreation:=20F=C3=BCr=20Grup?= =?UTF-8?q?pentermine=20Einheit=20von=2060=20auf=2090=20Minuten=20umgestel?= =?UTF-8?q?lt,=20Namen=20der=20Gruppen-Preise=20korrigiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Invoicing/SoziotherapieInvoiceCreation.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Service/Invoicing/SoziotherapieInvoiceCreation.cs b/Service/Invoicing/SoziotherapieInvoiceCreation.cs index 2862dcdc7..fffe8b3b8 100644 --- a/Service/Invoicing/SoziotherapieInvoiceCreation.cs +++ b/Service/Invoicing/SoziotherapieInvoiceCreation.cs @@ -79,9 +79,16 @@ namespace BeWo.Service.Invoicing var sozioLeistung = ii.ItemDescription.ToLower(); if (sozioLeistung.Contains("gruppe")) + { AktualisierePreis(ii, GetGruppenPreis(scap.CostBearer2SupportConcept, serviceRecord.Start.Value)); + + // 90 min-Einheiten bei Gruppen (statt 60 min) + ii.UnitCount = ii.UnitCount * 2 / 3; + } else + { AktualisierePreis(ii, GetEinzelPreis(scap.CostBearer2SupportConcept, serviceRecord.Start.Value)); + } ii.UnitDescription = ErmittleGPosNummer(serviceRecord, sozioLeistung); @@ -240,13 +247,13 @@ namespace BeWo.Service.Invoicing protected decimal GetGruppenPreis(CostBearer2SupportConcept c2s, DateTime dt) { - String preisName = "Gruppentherapie Primärkasse"; + String preisName = "Gruppenstunde Primärkasse"; if (c2s.CostBearer.Organisation.Function != null) { if (c2s.CostBearer.Organisation.Function.Value.Contains("Ersatzkasse")) { - preisName = "Gruppentherapie Ersatzkasse"; + preisName = "Gruppenstunde Ersatzkasse"; } }