Fehlkontakt-Erkennung für Spitzabrechung funktioniert jetzt auch richtig, wenn KT keinen pauschalen Faktor hat

This commit is contained in:
2024-06-03 20:24:22 +02:00
parent b44d9d2ac4
commit cbffa02600
3 changed files with 7 additions and 6 deletions

View File

@@ -908,10 +908,10 @@ namespace BeWo.Service.Invoicing
maxApprovedFls -= unitCountBudget;
if (unitCountBudget < ii.UnitCount)
{
ii.UnitCount = unitCountBudget;
}
//if (unitCountBudget < ii.UnitCount)
//{
// ii.UnitCount = unitCountBudget;
//}
if (ii.AmountPerUnit.HasValue)
{
if (!String.IsNullOrEmpty(ii.ItemDescription) && ii.ItemDescription == "Fehlkontakte" && ii.ProzentAbrechenbar.HasValue)