From bee3e1a3b79439778f95b0917682ee703d389d58 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 28 Nov 2023 15:27:28 +0100 Subject: [PATCH] MH: SuchtkrankenhilfeOstfriesland Invoicing --- .../Invoicing/CustomInvoiceCreation.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs b/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs index 28a1cca99..22dd08274 100644 --- a/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/SuchtkrankenhilfeOstfriesland/Invoicing/CustomInvoiceCreation.cs @@ -89,6 +89,7 @@ namespace SuchtkrankenhilfeOstfriesland.Invoicing { if (sr.ServiceDescription.CategoryName.ToLower().Contains("fls") && !sr.ServiceDescription.Name.ToLower().Contains("bürotermin")) { + // Bei Gruppenbuchungen muss die Pauschale durch die Teilnehmerzahl geteilt werden if (sr.GroupPersonCount.HasValue) counter = counter + (1m / Convert.ToDecimal(sr.GroupPersonCount.Value)); else @@ -97,7 +98,7 @@ namespace SuchtkrankenhilfeOstfriesland.Invoicing } } - // Bei Gruppenbuchungen muss die Pauschale durch die Teilnehmerzahl geteilt werden + if (counter > 0) { List toAdd = new List();