MH: AutismusKölnBonn Rechnungsnummern für Eigenanteilsrechnungen

This commit is contained in:
2023-05-09 14:21:10 +02:00
parent 8c7348ae01
commit 95fa948ccc

View File

@@ -25,7 +25,7 @@ namespace AutismusKoelnBonn.Invoicing
string next = String.Empty;
Customer c = null;
if (invoiceBase.Type == InvoiceType.General && invoiceBase.RecipientCustomerOid.HasValue)
if (invoiceBase.Type == InvoiceType.General && invoiceBase.RecipientCustomerOid.HasValue || invoiceBase.Type == InvoiceType.CustomerEquity && invoiceBase.RecipientCustomerOid.HasValue)
{
c = DAOFactory.GenericDAO.LoadByID<Customer>(invoiceBase.RecipientCustomerOid.Value);
}