ArcheTecklenburg/Invoicing/CollectiveInvoiceCreation.cs - keine Berücksichtigung von SCAP ohne Datum

This commit is contained in:
2025-04-10 13:59:50 +02:00
parent b997a284ff
commit e50fdf3272

View File

@@ -126,7 +126,7 @@ namespace ArcheTecklenburg.Invoicing
var data = calc.GetFixedBillingData(supportConceptApprovalPeriod, serviceInvoicePeriod.Start, serviceInvoicePeriod.End);
var scap = supportConceptApprovalPeriod;
if (scap != null && scap.ServiceCategory != null)
if (scap != null && scap.ServiceCategory != null && scap.StartDate.HasValue && scap.EndDate.HasValue)
{
IList<InvoiceItem> ergebnis = new List<InvoiceItem>();
var customer = cb2sc.SupportConcept.Customer;