fix: apply osago from quote
This commit is contained in:
parent
c3d36fbd5e
commit
85455b7319
@ -545,13 +545,12 @@ const loadKpReaction: IReactionEffect = calculationStore => ({
|
||||
if (!isNil(quoteValue)) row[rowFieldName] = quoteValue;
|
||||
});
|
||||
|
||||
//fix with Serega
|
||||
row['evo_id_elt_osago'] = quote.evo_id_elt_osago
|
||||
? parseInt(quote.evo_id_elt_osago)
|
||||
: undefined;
|
||||
if (quote.evo_id_elt_osago) {
|
||||
row['evo_id_elt_osago'] = parseInt(quote.evo_id_elt_osago);
|
||||
}
|
||||
|
||||
if (
|
||||
Object.keys(mapQuoteToELTOsago).length ===
|
||||
Object.keys(mapQuoteToELTOsago).length + 1 ===
|
||||
Object.keys(row).length
|
||||
) {
|
||||
ELTStore.addToCompanyRes('osago', osagoIndex, row);
|
||||
|
||||
Reference in New Issue
Block a user