changes for duration kasko value
This commit is contained in:
parent
18bd2d562f
commit
39bab51403
@ -59,7 +59,10 @@ export default function (this: ICalculationStore) {
|
||||
engineType = mapEngineType[engineTypeValue];
|
||||
}
|
||||
|
||||
const duration = this.getValue('leasingPeriod');
|
||||
let duration = this.getValue('leasingPeriod');
|
||||
if (duration < 12) {
|
||||
duration = 12;
|
||||
}
|
||||
const cost =
|
||||
this.getValue('leaseObjectPrice') - this.getValue('supplierDiscountRub');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user