diff --git a/src/client/Containers/Calculation/lib/elements/elementsProps.ts b/src/client/Containers/Calculation/lib/elements/elementsProps.ts index ec4fdf9..8a5a28b 100644 --- a/src/client/Containers/Calculation/lib/elements/elementsProps.ts +++ b/src/client/Containers/Calculation/lib/elements/elementsProps.ts @@ -110,7 +110,7 @@ const elementsProps: TElements = { tbxFirstPaymentPerc: { min: '0', max: '50', - precision: 2, + precision: 4, formatter: formatNumber, }, tbxFirstPaymentRub: { diff --git a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts index 48e06f0..c011395 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts @@ -1699,7 +1699,7 @@ const reactionEffects: IReactionEffect[] = [ ); break; } - case 100000002: { + case 100000001: { calculationStore.setStatus('tbxIRR_Perc', ElementStatus.Disabled); calculationStore.setStatus('tbxTotalPayments', ElementStatus.Default); break; diff --git a/src/client/stores/CalculationStore/config/initialOptions.ts b/src/client/stores/CalculationStore/config/initialOptions.ts index 8949ebd..b4326f9 100644 --- a/src/client/stores/CalculationStore/config/initialOptions.ts +++ b/src/client/stores/CalculationStore/config/initialOptions.ts @@ -376,7 +376,7 @@ const initialOptions: TElements = { }, { name: 'Суммы', - value: 100000002, + value: 100000001, }, ], radioObjectRegistration: [