fix default values

This commit is contained in:
Chika 2020-09-08 14:48:51 +03:00
parent 9aaa6df275
commit 18a2b0c34f

View File

@ -1,7 +1,6 @@
import { ValuesMap } from 'core/types/values';
const initialValues: any = {
recalcWthtRevision: false,
channel: 100000000,
recalcWithRevision: false,
contactGender: 100000000,
leaseObjectPrice: 1000000,
supplierCurrency: 'RUB',
@ -11,20 +10,20 @@ const initialValues: any = {
addEquipmentPrice: 0,
addEquipmentPayer: 100000000,
leasingPeriod: 12,
firstPaymentPerc: 0.25,
firstPaymentPerc: 25,
firstPaymentRub: 0,
lastPaymentPerc: 0.01,
lastPaymentPerc: 1,
lastPaymentRub: 10000,
lastPaymentRule: 100000001,
balanceHolder: 100000000,
graphType: 100000000,
parmentsDecreasePercent: 0.94,
parmentsDecreasePercent: 94,
seasonType: 100000000,
highSeasonStart: 100000000,
comissionPerc: 0,
comissionRub: 0,
saleBonus: 0.01,
IRR_Perc: 0.2,
saleBonus: 1.1,
IRR_Perc: 20,
deliveryTime: 100000000,
leaseObjectCount: 1,
withTrailer: 100000000,