Form/Insurance: remove dgo & ns

This commit is contained in:
Chika 2022-07-08 15:19:22 +03:00
parent 632e35a89b
commit bccac3a620
3 changed files with 2 additions and 80 deletions

View File

@ -7,7 +7,7 @@ export const columns: ColumnsType<Risk> = [
{
key: 'riskName',
dataIndex: 'riskName',
title: 'Риск',
title: 'Риск Safe Finance',
width: '55%',
},
{

View File

@ -1,6 +1,6 @@
import type { BaseOption, Status } from 'Elements/types';
export type Keys = 'osago' | 'kasko' | 'dgo' | 'ns' | 'finGAP';
export type Keys = 'osago' | 'kasko' | 'finGAP';
export type RowValues = {
key: Keys;

View File

@ -48,52 +48,6 @@ export const defaultOptions: Insurance.RowOptions[] = [
},
],
},
{
key: 'dgo',
insured: [
{
label: 'ЛП',
value: 100_000_000,
},
{
label: 'ЛД',
value: 100_000_001,
},
],
insTerm: [
{
label: '12 месяцев',
value: 100_000_000,
},
{
label: 'Срок ДЛ',
value: 100_000_001,
},
],
},
{
key: 'ns',
insured: [
{
label: 'ЛП',
value: 100_000_000,
},
{
label: 'ЛД',
value: 100_000_001,
},
],
insTerm: [
{
label: '12 месяцев',
value: 100_000_000,
},
{
label: 'Срок ДЛ',
value: 100_000_001,
},
],
},
{
key: 'finGAP',
insured: [
@ -136,22 +90,6 @@ export const defaultValues: Insurance.RowValues[] = [
insCost: 0,
insTerm: null,
},
{
key: 'dgo',
policyType: 'ДГО',
insuranceCompany: null,
insured: null,
insCost: 0,
insTerm: null,
},
{
key: 'ns',
policyType: 'НС',
insuranceCompany: null,
insured: null,
insCost: 0,
insTerm: null,
},
{
key: 'finGAP',
policyType: 'Safe Finance',
@ -179,22 +117,6 @@ export const defaultStatuses: Insurance.RowStatuses[] = [
insured: 'Default',
policyType: 'Default',
},
{
key: 'dgo',
insuranceCompany: 'Disabled',
insured: 'Disabled',
insTerm: 'Disabled',
insCost: 'Default',
policyType: 'Default',
},
{
key: 'ns',
insuranceCompany: 'Disabled',
insured: 'Disabled',
insTerm: 'Disabled',
insCost: 'Default',
policyType: 'Default',
},
{
key: 'finGAP',
insCost: 'Disabled',