diff --git a/ReportImp/MalteserJohanniterJohanneshaus/Invoicing/CollectiveInvoiceCreation.cs b/ReportImp/MalteserJohanniterJohanneshaus/Invoicing/CollectiveInvoiceCreation.cs index 52b6ac77f..1b2228af4 100644 --- a/ReportImp/MalteserJohanniterJohanneshaus/Invoicing/CollectiveInvoiceCreation.cs +++ b/ReportImp/MalteserJohanniterJohanneshaus/Invoicing/CollectiveInvoiceCreation.cs @@ -138,14 +138,8 @@ namespace MalteserJohanniterJohanneshaus.Invoicing if (scap.StartDate <= serviceInvoicePeriod.Start) start = serviceInvoicePeriod.Start.Value; else - start = (DateTime)scap.StartDate; //Einzugstag wird mit abgerechnet + start = (DateTime)scap.StartDate; - if (cb2sc.SupportConcept.Customer.TerminationDate.HasValue && - cb2sc.SupportConcept.Customer.TerminationDate.Value <= scap.EndDate.Value - && cb2sc.SupportConcept.Customer.TerminationDate >= scap.StartDate.Value) - { - ende = cb2sc.SupportConcept.Customer.TerminationDate.Value.AddDays(-1); //Auszugstag wird NICHT abgerechnet - } if (scap.EndDate >= serviceInvoicePeriod.End) ende = serviceInvoicePeriod.End.Value; else