From cfad47d4363d81737f20cc0685bdc9804f496b2f Mon Sep 17 00:00:00 2001 From: Chika Date: Wed, 6 Apr 2022 10:59:11 +0300 Subject: [PATCH] merge branch release/calc-89_government_purchases --- .../Effects/reactions/recalcWoRevisionReactions.ts | 3 ++- .../graphql/query/quote/fragments/quoteFieldsLite.graphql | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/stores/CalculationStore/Effects/reactions/recalcWoRevisionReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/recalcWoRevisionReactions.ts index 05dc842..ed55ef2 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/recalcWoRevisionReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/recalcWoRevisionReactions.ts @@ -76,7 +76,8 @@ const reactionEffects: IReactionEffect[] = [ quote.evo_recalc_limit > 0 && quote.evo_statuscode && quote.evo_statuscode.evo_id && - quote.evo_statuscode.evo_id === '2.3', + quote.evo_statuscode.evo_id === '2.3' && + !quote.evo_purchases_participation, ), ); calculationStore.setValue('quote', null); diff --git a/src/core/services/CrmService/graphql/query/quote/fragments/quoteFieldsLite.graphql b/src/core/services/CrmService/graphql/query/quote/fragments/quoteFieldsLite.graphql index 282a3ce..d9e5606 100644 --- a/src/core/services/CrmService/graphql/query/quote/fragments/quoteFieldsLite.graphql +++ b/src/core/services/CrmService/graphql/query/quote/fragments/quoteFieldsLite.graphql @@ -23,4 +23,5 @@ fragment quoteFieldsLite on quote { evo_req_telematic_accept evo_one_year_insurance evo_last_payment_perc + evo_purchases_participation }