MH: AS Soziale Dienste mehrere Belege bei Rechnung

This commit is contained in:
2024-09-06 12:44:27 +02:00
parent eaa781a59d
commit 71bd2fa2c6

View File

@@ -61,12 +61,17 @@ namespace AsSozialeDienstleistungenEV
long cOid = iDC.InvoiceBase.SupportConceptCostBearerRelDc.SupportConcept.Customer.CustomerOid;
long oOid = iDC.InvoiceBase.RecipientOrganisationOid ?? 0;
var qb = CreateServiceOverviewSingleCustomerReport(cOid, month, year, oOid, 0, null, 1, DateTime.DaysInMonth(year, month));
qb.CreateDocument();
while (month <= iDC.InvoiceBase.AccountingPeriodEnd.Value.Month)
{
var qb = CreateServiceOverviewSingleCustomerReport(cOid, month, year, oOid, 0, null, 1, DateTime.DaysInMonth(year, month));
qb.CreateDocument();
seite1.Pages.AddRange(qb.Pages);
invoiceReport = seite1;
seite1.Pages.AddRange(qb.Pages);
invoiceReport = seite1;
month++;
}
}
else
{