From c09644a30c4b47c56022b5c6556f3d868bc4cd81 Mon Sep 17 00:00:00 2001 From: HirschleM Date: Wed, 4 Mar 2026 15:53:42 +0100 Subject: [PATCH] MH: Diakonisches Werk Wesel Selbstzahler Faktor --- .../DiakonischesWerkWesel/DiakonischesWerkWesel.csproj | 2 ++ .../Invoicing/DefaultInvoiceCreation.cs | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ReportImp/DiakonischesWerkWesel/DiakonischesWerkWesel.csproj b/ReportImp/DiakonischesWerkWesel/DiakonischesWerkWesel.csproj index 902dc5391..9ef70f2d5 100644 --- a/ReportImp/DiakonischesWerkWesel/DiakonischesWerkWesel.csproj +++ b/ReportImp/DiakonischesWerkWesel/DiakonischesWerkWesel.csproj @@ -31,6 +31,7 @@ 4 + @@ -39,6 +40,7 @@ + diff --git a/ReportImp/DiakonischesWerkWesel/Invoicing/DefaultInvoiceCreation.cs b/ReportImp/DiakonischesWerkWesel/Invoicing/DefaultInvoiceCreation.cs index bfdba1d4d..6efa27deb 100644 --- a/ReportImp/DiakonischesWerkWesel/Invoicing/DefaultInvoiceCreation.cs +++ b/ReportImp/DiakonischesWerkWesel/Invoicing/DefaultInvoiceCreation.cs @@ -56,7 +56,15 @@ namespace DiakonischesWerkWesel.Invoicing public override IList CreateSummaryInvoiceItems(IList itemList, DateTimeSpan invoicePeriod, SupportConceptApprovalPeriod scap, Calculations calc) { - return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, true); + if (scap.CostBearer2SupportConcept.CostBearer.Organisation.Name.ToLower().Contains("selbstzahler")) + { + return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, false); + } + else + { + return base.CreateSummaryInvoiceItems(itemList, invoicePeriod, scap, calc, false, true); + } + } } }