diff --git a/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts b/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts index 530af7c..03c0014 100644 --- a/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts +++ b/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts @@ -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');