ProIntegra: Bei Kontaktpauschale in Spitzabrechnung kein pausch. Faktor
This commit is contained in:
@@ -114,10 +114,6 @@ namespace ProIntegra.Invoicing
|
||||
if (ii.UnitCount > 0)
|
||||
{
|
||||
var unitCountBudget = Math.Round(ii.UnitCountBudget ?? ii.UnitCount ?? 0, 2, MidpointRounding.AwayFromZero);
|
||||
|
||||
if (flsBudgetGesamt < unitCountBudget && ii.ItemDescription != "Kontaktpauschale")
|
||||
unitCountBudget = flsBudgetGesamt;
|
||||
|
||||
ii.UnitCount = Math.Round(ii.UnitCount.Value, 2, MidpointRounding.AwayFromZero);
|
||||
|
||||
var relation = unitCountBudget / ii.UnitCount.Value;
|
||||
@@ -177,7 +173,7 @@ namespace ProIntegra.Invoicing
|
||||
UnitDescription = "Pauschale pro direktem Kontakt",
|
||||
AmountPerUnit = pauschale,
|
||||
AmountTotal = pauschale * unitCount,
|
||||
GrossAmountTotal = pauschale * unitCount * accountingPeriod.RateFactor,
|
||||
GrossAmountTotal = pauschale * unitCount,
|
||||
ItemPeriodStart = accountingPeriod.PeriodStart,
|
||||
ItemPeriodEnd = accountingPeriod.PeriodEnd,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user