Invoicing/InvoiceCreation.cs - CheckMaxApprovedAmount MIT Faktor, falls vorhanden
This commit is contained in:
@@ -612,6 +612,11 @@ namespace BeWo.Service.Invoicing
|
||||
ii.AmountTotal = ii.AmountPerUnit.Value*ii.UnitCount;
|
||||
ii.GrossAmountTotal = ii.AmountTotal;
|
||||
}
|
||||
if (ii.RateFactor.HasValue)
|
||||
{
|
||||
ii.AmountTotal *= (ii.RateFactor + 100) / 100;
|
||||
ii.GrossAmountTotal *= (ii.RateFactor + 100) / 100;
|
||||
}
|
||||
totalHours = sip.ApprovedHours.Value;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user