Base: change tax_savings & vat_reimbursement
This commit is contained in:
parent
7ac304fcc3
commit
1edd6e8a1a
@ -33,7 +33,8 @@ public class BaseCalculation
|
||||
var leaseContractSum = (requestBaseCalculation.lease_period - 2) * (decimal)monthlyPayment +
|
||||
initialPaymentSum +
|
||||
redemptionPaymentSum;
|
||||
var taxSavings = leaseContractSum * (decimal)(constants.VatValue / 1.2);
|
||||
var vat_reimbursement = leaseContractSum * (decimal)(constants.VatValue / 1.2);
|
||||
var tax_savings = leaseContractSum * (decimal)(0.25 / 1.2);
|
||||
|
||||
var schedule = Array<decimal>.Concat(
|
||||
new decimal[] { initialPaymentSum }
|
||||
@ -45,8 +46,8 @@ public class BaseCalculation
|
||||
return new ResponseBaseCalculation()
|
||||
{
|
||||
monthly_payment = (decimal)monthlyPayment,
|
||||
tax_savings = taxSavings,
|
||||
vat_reimbursement = taxSavings,
|
||||
tax_savings = tax_savings,
|
||||
vat_reimbursement = vat_reimbursement,
|
||||
schedule = schedule
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user