MH: Mittelpunkt CustomInvoiceCreation Kappung ohne Faktor
SupportOID=170089
This commit is contained in:
@@ -76,6 +76,8 @@ namespace Mittelpunkt.Invoicing
|
||||
|
||||
var crpWithRateFactor = scap.CostBearer2SupportConcept.CostBearer.CostRatePeriods.FirstOrDefault(crp => crp.CostRateType == BS.Shared.CostRatePeriodType.RateFactor);
|
||||
var ratefactor = crpWithRateFactor != null ? (100 + crpWithRateFactor.CostRateValue.Value) / 100 : 1m;
|
||||
if (!scap.CostBearer2SupportConcept.CostBearer.IsCalculatingWithFactor)
|
||||
ratefactor = 1;
|
||||
|
||||
var list = new List<InvoiceItem>();
|
||||
int week = 0;
|
||||
|
||||
Reference in New Issue
Block a user