remove field radioInsKaskoType
This commit is contained in:
parent
0d2682cc27
commit
5a73a9c8a3
@ -74,7 +74,6 @@ const components = wrapComponentsMap({
|
||||
selectFinDepartmentRewardCondtion: e.Select,
|
||||
tbxFinDepartmentRewardSumm: e.InputNumber,
|
||||
cbxInsDecentral: e.Switch,
|
||||
radioInsKaskoType: e.Radio,
|
||||
tbxInsFranchise: e.InputNumber,
|
||||
cbxInsUnlimitDrivers: e.Switch,
|
||||
tbxInsAgeDrivers: e.InputNumber,
|
||||
|
||||
@ -267,10 +267,6 @@ const props: Partial<ElementsProps> = {
|
||||
step: 0.1,
|
||||
precision: 2,
|
||||
},
|
||||
radioInsKaskoType: {
|
||||
optionType: 'button',
|
||||
buttonStyle: 'solid',
|
||||
},
|
||||
tbxInsFranchise: {
|
||||
min: 0,
|
||||
max: MAX_FRANCHISE,
|
||||
|
||||
@ -74,7 +74,6 @@ const titles: Record<ActionElements | ValuesElements, string> = {
|
||||
selectGPSModel: 'Модель GPS',
|
||||
selectRegionRegistration: 'Регион регистрации',
|
||||
selectTownRegistration: 'Город регистрации',
|
||||
radioInsKaskoType: 'Тип страхования КАСКО',
|
||||
cbxInsDecentral: 'Децентрализованное страхование',
|
||||
tbxInsFranchise: 'Франшиза',
|
||||
cbxInsUnlimitDrivers: 'Неограниченное число водителей',
|
||||
|
||||
@ -154,7 +154,6 @@ const types = wrapElementsTypes({
|
||||
radioLastPaymentRule: t.Options,
|
||||
radioGraphType: t.Options,
|
||||
radioDeliveryTime: t.Options,
|
||||
radioInsKaskoType: t.Options,
|
||||
selectRequirementTelematic: t.Options,
|
||||
radioQuoteContactGender: t.Options,
|
||||
radioCalcType: t.Options,
|
||||
|
||||
@ -80,7 +80,6 @@ const elementsToValues = wrapElementsMap({
|
||||
selectGPSModel: 'GPSModel',
|
||||
selectRegionRegistration: 'regionRegistration',
|
||||
selectTownRegistration: 'townRegistration',
|
||||
radioInsKaskoType: 'insKaskoType',
|
||||
cbxInsDecentral: 'insDecentral',
|
||||
tbxInsFranchise: 'insFranchise',
|
||||
cbxInsUnlimitDrivers: 'insUnlimitDrivers',
|
||||
|
||||
@ -276,17 +276,6 @@ const defaultOptions: CalculationOptions = {
|
||||
|
||||
selectLeaseObjectUseFor,
|
||||
|
||||
radioInsKaskoType: [
|
||||
{
|
||||
label: 'Полное',
|
||||
value: 100_000_000,
|
||||
},
|
||||
{
|
||||
label: 'Усеченное',
|
||||
value: 100_000_001,
|
||||
},
|
||||
],
|
||||
|
||||
radioQuoteContactGender: [
|
||||
{
|
||||
label: 'Мужской',
|
||||
|
||||
@ -31,7 +31,6 @@ const defaultStatuses: CalculationStatuses = {
|
||||
radioCalcType: 'Default',
|
||||
radioDeliveryTime: 'Default',
|
||||
radioGraphType: 'Default',
|
||||
radioInsKaskoType: 'Default',
|
||||
radioLastPaymentRule: 'Default',
|
||||
radioObjectRegistration: 'Default',
|
||||
radioQuoteContactGender: 'Default',
|
||||
|
||||
@ -60,7 +60,6 @@ const defaultValues: CalculationValues = {
|
||||
insExpDrivers: 0,
|
||||
insFranchise: 0,
|
||||
insKaskoPriceLeasePeriod: 0,
|
||||
insKaskoType: 100_000_000,
|
||||
insNSIB: null,
|
||||
insUnlimitDrivers: true,
|
||||
insurance: true,
|
||||
|
||||
@ -56,7 +56,6 @@ const ValuesSchema = z
|
||||
insDecentral: z.boolean(),
|
||||
insExpDrivers: z.number(),
|
||||
insFranchise: z.number(),
|
||||
insKaskoType: z.number().nullable(),
|
||||
insNSIB: z.string().nullable(),
|
||||
insUnlimitDrivers: z.boolean(),
|
||||
insurance: z.boolean(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user