From 61c62f1aff871f264a27b835ad2edaa5aa1c8169 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Thu, 30 Oct 2025 13:17:12 +0100 Subject: [PATCH] =?UTF-8?q?CaritasverbandOstvest/Invoicing/CustomInvoiceCr?= =?UTF-8?q?eation.cs=20-=20Fix=20f=C3=BCr=20Finanzauswertung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Invoicing/CustomInvoiceCreation.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ReportImp/CaritasverbandOstvest/Invoicing/CustomInvoiceCreation.cs b/ReportImp/CaritasverbandOstvest/Invoicing/CustomInvoiceCreation.cs index d4d35cc6b..14da2dd2b 100644 --- a/ReportImp/CaritasverbandOstvest/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/CaritasverbandOstvest/Invoicing/CustomInvoiceCreation.cs @@ -17,9 +17,9 @@ namespace CaritasOstvest.Invoicing { public class CustomInvoiceCreation : InvoiceCreation { - public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC supportConcept, List serviceRecords) - { - if (!supportConcept.IsDeleted && !supportConcept.IsArchived) // Standard, außer dass auch nicht bewilligte abgerechnet werden + public override ServiceInvoice CreateSingleInvoice(int invoiceCounter, CostBearer costBearer, DateTimeSpan invoicePeriod, CompactSupportConceptDC supportConcept, List serviceRecords) + { + if (supportConcept.IsApproved || !supportConcept.IsDeleted && !supportConcept.IsArchived) // Standard, außer dass auch nicht bewilligte abgerechnet werden { var invoice = new ServiceInvoice(); var supportConceptList = new List { supportConcept }; @@ -42,7 +42,7 @@ namespace CaritasOstvest.Invoicing return invoice; } - return null; - } - } + return null; + } + } }