From bbe4e158d978811ff1e9263b06d2b27301cca41c Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Mon, 21 Jun 2021 16:22:58 +0300 Subject: [PATCH] fix decimal x string convertion --- .../Effects/reactions/loadKpReaction/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts index fb51a95..276de1c 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts @@ -362,6 +362,12 @@ const loadKpReaction: IReactionEffect = calculationStore => ({ const quoteValue = get(quote, quoteFieldName); 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 ( Object.keys(mapQuoteToELTOsago).length === Object.keys(row).length