Form/Insurance: beautify

This commit is contained in:
Chika 2022-07-08 15:37:13 +03:00
parent 4546fa46b7
commit ae401a38a5
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export const columns: ColumnsType<Insurance.RowValues> = [
render: (_, record) => {
const Component = buildValueComponent(record.key, InputNumber, 'insCost');
return <Component min={0} max={MAX_INSURANCE} step={1000} precision={2} />;
return <Component min={0} max={MAX_INSURANCE} step={1000} precision={2} addonAfter="₽" />;
},
},
{

View File

@ -237,6 +237,7 @@ const props: Partial<ElementsProps> = {
max: MAX_FRANCHISE,
step: 10_000,
precision: 2,
addonAfter: '₽',
},
tbxInsAgeDrivers: {
// min: 18,