diff --git a/Components/Calculation/config/elements-components.ts b/Components/Calculation/config/elements-components.ts index 3ec064b..ad37b88 100644 --- a/Components/Calculation/config/elements-components.ts +++ b/Components/Calculation/config/elements-components.ts @@ -29,7 +29,7 @@ const components: Record< tbxSaleBonus: InputNumber, tbxFirstPaymentPerc: InputNumber, tbxFirstPaymentRub: InputNumber, - radioLastPaymentRule: Radio, + radioLastPaymentRule: Segmented, tbxLastPaymentPerc: InputNumber, tbxLastPaymentRub: InputNumber, tbxRedemptionPaymentSum: InputNumber, diff --git a/Components/Calculation/types/elements-props.ts b/Components/Calculation/types/elements-props.ts index 017a303..9f7b758 100644 --- a/Components/Calculation/types/elements-props.ts +++ b/Components/Calculation/types/elements-props.ts @@ -23,7 +23,7 @@ export interface ElementsProps { tbxSaleBonus: InputNumberProps; tbxFirstPaymentPerc: InputNumberProps; tbxFirstPaymentRub: InputNumberProps; - radioLastPaymentRule: RadioProps; + radioLastPaymentRule: SegmentedProps; tbxLastPaymentPerc: InputNumberProps; tbxLastPaymentRub: InputNumberProps; tbxRedemptionPaymentSum: InputNumberProps; diff --git a/config/default-options.ts b/config/default-options.ts index 3a0eb8a..e1dd706 100644 --- a/config/default-options.ts +++ b/config/default-options.ts @@ -12,7 +12,7 @@ const defaultOptions: Partial = { value: 100_000_000, }, { - label: 'в %', + label: 'в процентах', value: 100_000_001, }, ],