MH: AS Soziale Dienste mehrere Belege bei Rechnung
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user