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; + } } }