remove indAgent from load kp

This commit is contained in:
Chika 2021-05-26 14:39:48 +03:00
parent 0fb3b4be5a
commit b04bf9dacf
2 changed files with 3 additions and 1 deletions

View File

@ -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({

View File

@ -47,7 +47,7 @@ const mapKPtoValues: TValues<string> = {
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',