tbxLeasingPeriod max

This commit is contained in:
Chika 2021-06-04 14:18:12 +03:00
parent f2c647a44d
commit 4d9cfb9ada

View File

@ -8,7 +8,7 @@ import {
validateEmail,
validateInn,
validateKpp,
validatePhone,
validatePhone
} from 'core/tools/validate';
import { ElementProps } from 'core/types/Calculation/components';
import { TElements } from 'core/types/Calculation/Store/elements';
@ -135,7 +135,7 @@ const elementsProps: TElements<ElementProps> = {
},
tbxLeasingPeriod: {
min: '7',
max: '60',
max: '90',
},
tbxParmentsDecreasePercent: {
min: '50',
@ -409,6 +409,7 @@ const elementsProps: TElements<ElementProps> = {
precision: 2,
formatter: formatNumber,
},
};
const resultElementsProps: TElements<ElementProps> = Object.assign(