From b04bf9dacfe5fc0f12f78cb822ad2e970dbc564e Mon Sep 17 00:00:00 2001 From: Chika Date: Wed, 26 May 2021 14:39:48 +0300 Subject: [PATCH] remove indAgent from load kp --- .../CalculationStore/Effects/reactions/loadKpReaction/index.ts | 2 ++ .../Effects/reactions/loadKpReaction/mapKpToValues.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts index caecce9..d70a361 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts @@ -56,6 +56,7 @@ const loadKpReaction: IReactionEffect = calculationStore => ({ recalcWithRevision, leaseObjectCount, calcType, + indAgent, } = calculationStore.values; calculationStore.setStatus('selectQuote', ElementStatus.Disabled); @@ -284,6 +285,7 @@ const loadKpReaction: IReactionEffect = calculationStore => ({ townRegistration, calcType, totalPayments: evo_sumpay_withnds, + indAgent, }); message.success({ diff --git a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/mapKpToValues.ts b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/mapKpToValues.ts index 41bc233..5c13a17 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/mapKpToValues.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/mapKpToValues.ts @@ -47,7 +47,7 @@ const mapKPtoValues: TValues = { dealerBroker: 'evo_dealer_broker_accountid', dealerBrokerRewardCondition: 'evo_dealer_broker_reward_conditionid', dealerBrokerRewardSumm: 'evo_dealer_broker_reward_total', - indAgent: 'evo_agent_accountid', + // indAgent: 'evo_agent_accountid', indAgentRewardCondition: 'evo_agent_reward_conditionid', indAgentRewardSumm: 'evo_agent_reward_total', calcDoubleAgent: 'evo_double_agent_accountid',