fix no table insurance values
This commit is contained in:
parent
928c5966b1
commit
dbd03bd4e0
@ -127,19 +127,19 @@ export const prepareCalculationData = ({
|
||||
preparedValues.transportTaxGr = 0;
|
||||
|
||||
let insuranceKaskoRow = tables.tableInsurance.rows.find(
|
||||
x => x.policyType === 'КАСКО',
|
||||
x => x.policyType?.value === 'КАСКО',
|
||||
);
|
||||
|
||||
let insuranceNSRow = tables.tableInsurance.rows.find(
|
||||
x => x.policyType === 'НС',
|
||||
x => x.policyType?.value === 'НС',
|
||||
);
|
||||
|
||||
let insuranceDGORow = tables.tableInsurance.rows.find(
|
||||
x => x.policyType === 'ДГО',
|
||||
x => x.policyType?.value === 'ДГО',
|
||||
);
|
||||
|
||||
let insuranceOSAGORow = tables.tableInsurance.rows.find(
|
||||
x => x.policyType === 'ОСАГО',
|
||||
x => x.policyType?.value === 'ОСАГО',
|
||||
);
|
||||
|
||||
if (insuranceKaskoRow?.insured?.value === 100000001) {
|
||||
|
||||
Reference in New Issue
Block a user