Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo into master

This commit is contained in:
2023-07-11 12:42:26 +02:00

View File

@@ -280,8 +280,16 @@ namespace EvVereinF
}
if (sip.Notice == null && (aktuell1 || aktuell2 || aktuell3 || aktuell4 || aktuell5))
{
sip.InvoiceItemList[0].AmountTotal += cor;
sip.InvoiceItemList[0].GrossAmountTotal += cor;
if (sipSc.EndDate < invoicePeriod.StartDate) // Korrekturen an abgelaufenen HPs
{
sip.InvoiceItemList[0].AmountTotal = cor;
sip.InvoiceItemList[0].GrossAmountTotal = cor;
}
else
{
sip.InvoiceItemList[0].AmountTotal += cor;
sip.InvoiceItemList[0].GrossAmountTotal += cor;
}
sip.Notice = String.Format("{0:0.00}", cor);
sip.InvoiceItemList[0].UnitDescription = leistung;
}