From 0e1821cf1e3345cc9ca8bb140132fe3fbce33601 Mon Sep 17 00:00:00 2001 From: HirschleM Date: Mon, 10 Aug 2026 16:45:44 +0200 Subject: [PATCH] MH: SBBMainzReports Bugfix Sammelrechnung Wegpauschalen --- .../SBBMainzReports/Invoicing/CustomInvoiceCreationQA.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ReportImp/SBBMainzReports/Invoicing/CustomInvoiceCreationQA.cs b/ReportImp/SBBMainzReports/Invoicing/CustomInvoiceCreationQA.cs index c6cf19b26..8c52fc3ad 100644 --- a/ReportImp/SBBMainzReports/Invoicing/CustomInvoiceCreationQA.cs +++ b/ReportImp/SBBMainzReports/Invoicing/CustomInvoiceCreationQA.cs @@ -83,6 +83,9 @@ namespace SBBMainzReports.Invoicing { bienen_ = true; } + else + bienen_ = false; + if (ShouldCreateFixedAmounts(serviceInvoicePeriod, supportConceptApprovalPeriod, cb2sc)) { CreateFixedAmounts(serviceInvoicePeriod, supportConceptApprovalPeriod, cb2sc); @@ -221,6 +224,7 @@ namespace SBBMainzReports.Invoicing BS.Shared.Services.Calculations calc) { var list = base.CreateInvoiceItems(serviceRecordsInPeriod, invoicePeriod, scap, calc); + InvoiceItem wg = null; if (list.Count > 0 && !bienen_) {