From 185f9a8d7185918623f8f4efd413ec05c3dab003 Mon Sep 17 00:00:00 2001 From: Kojo Date: Tue, 10 Feb 2026 18:14:41 +0100 Subject: [PATCH] =?UTF-8?q?SoziotherapieInvoiceCreation:=20halbst=C3=BCndi?= =?UTF-8?q?gen=20Einheiten=20anders=20abrechnen=20wird=20erstmal=20bei=20d?= =?UTF-8?q?er=20Diakonie=20Kleve=20getestet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Invoicing/SoziotherapieInvoiceCreation.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Service/Invoicing/SoziotherapieInvoiceCreation.cs b/Service/Invoicing/SoziotherapieInvoiceCreation.cs index 3f5b082e6..419e27565 100644 --- a/Service/Invoicing/SoziotherapieInvoiceCreation.cs +++ b/Service/Invoicing/SoziotherapieInvoiceCreation.cs @@ -13,7 +13,7 @@ namespace BeWo.Service.Invoicing [IDSpecificClass(Identifier = "Soziotherapie")] public class SoziotherapieInvoiceCreation : InvoiceCreation { - public SoziotherapieInvoiceCreation() : base() + public SoziotherapieInvoiceCreation() : base() { //Wichtig für Finanzauswertung. Hier sollen entweder nur die normalen Therapieeinheiten oder nur die Hausbesuchspauschale berechnet werden ErstelleTherapieeinheiten = true; @@ -326,5 +326,16 @@ namespace BeWo.Service.Invoicing return newlist; } + + protected void WandleInHalbstundenEinheit(InvoiceItem ii) + { + ii.UnitCount = ii.UnitCount * 2; + ii.AmountPerUnit = ii.AmountPerUnit / 2; + + // Preis der Halbstundeneinheit normalerweise halber Preis der Stundeneinheit, + // ein Cent mehr in Primärkassen-Vergütungsvereinbarung 24 + if (ii.AmountPerUnit.Value.Equals(40.85m)) + ii.AmountPerUnit += 0.01m; + } } }