add map for load kp
This commit is contained in:
parent
2e2038ae92
commit
54869d28f3
108
src/client/stores/CalculationStore/Effects/lib/mapKPtoValues.ts
Normal file
108
src/client/stores/CalculationStore/Effects/lib/mapKPtoValues.ts
Normal file
@ -0,0 +1,108 @@
|
||||
import { TValues } from 'core/types/Calculation/Store/values';
|
||||
import { TCRMEntity } from 'core/types/Entities/crmEntities';
|
||||
|
||||
const mapKPtoValues: TValues<string> = {
|
||||
product: 'evo_baseproductid',
|
||||
clientRisk: 'evo_client_riskid',
|
||||
clientType: 'evo_client_typeid',
|
||||
leaseObjectPrice: 'evo_supplier_currency_price',
|
||||
supplierCurrency: 'transactioncurrencyid',
|
||||
supplierDiscountRub: 'evo_discount_supplier_currency',
|
||||
supplierDiscountPerc: 'evo_discount_perc',
|
||||
firstPaymentPerc: 'evo_first_payment_perc',
|
||||
lastPaymentRule: 'evo_last_payment_calc',
|
||||
lastPaymentPerc: 'evo_last_payment_perc',
|
||||
lastPaymentRub: 'evo_last_payment_rub',
|
||||
balanceHolder: 'evo_balance_holder',
|
||||
graphType: 'evo_graph_type',
|
||||
parmentsDecreasePercent: 'evo_payments_decrease_perc',
|
||||
seasonType: 'evo_seasons_type',
|
||||
highSeasonStart: 'evo_high_season',
|
||||
comissionPerc: 'evo_comission_perc',
|
||||
comissionRub: 'evo_comission_rub',
|
||||
saleBonus: 'evo_sale_bonus',
|
||||
leasingPeriod: 'evo_period',
|
||||
tarif: 'evo_tarifid',
|
||||
creditRate: 'evo_rate',
|
||||
rate: 'evo_rateid',
|
||||
IRR_Perc: 'evo_calc_irr',
|
||||
leaseObjectType: 'evo_leasingobject_typeid',
|
||||
deliveryTime: 'evo_delivery_time',
|
||||
brand: 'evo_brandid',
|
||||
model: 'evo_modelid',
|
||||
configuration: 'evo_equipmentid',
|
||||
leaseObjectYear: 'evo_year',
|
||||
engineType: 'evo_engine_type',
|
||||
leaseObjectCategory: 'evo_category',
|
||||
leaseObjectMotorPower: 'evo_power',
|
||||
engineVolume: 'evo_engine_volume',
|
||||
leaseObjectUseFor: 'evo_use_for',
|
||||
withTrailer: 'evo_trailer',
|
||||
leaseObjectUsed: 'evo_leasingobject_used',
|
||||
maxMass: 'evo_max_mass',
|
||||
countSeats: 'evo_seats',
|
||||
maxSpeed: 'evo_max_speed',
|
||||
dealer: 'evo_supplier_accountid',
|
||||
dealerPerson: 'evo_dealer_person_accountid',
|
||||
dealerRewardCondition: 'evo_dealer_reward_conditionid',
|
||||
dealerRewardSumm: 'evo_dealer_reward_total',
|
||||
dealerBroker: 'evo_dealer_broker_accountid',
|
||||
dealerBrokerRewardCondition: 'evo_dealer_broker_reward_conditionid',
|
||||
dealerBrokerRewardSumm: 'evo_dealer_broker_reward_total',
|
||||
indAgent: 'evo_agent_accountid',
|
||||
indAgentRewardCondition: 'evo_agent_reward_conditionid',
|
||||
indAgentRewardSumm: 'evo_agent_reward_total',
|
||||
calcDoubleAgent: 'evo_double_agent_accountid',
|
||||
calcDoubleAgentRewardCondition: 'evo_double_agent_reward_conditionid',
|
||||
calcDoubleAgentRewardSumm: 'evo_double_agent_reward_total',
|
||||
calcBroker: 'evo_broker_accountid',
|
||||
calcBrokerRewardCondition: 'evo_broker_reward_conditionid',
|
||||
calcBrokerRewardSum: 'evo_broker_reward_total',
|
||||
calcFinDepartment: 'evo_fin_department_accountid',
|
||||
finDepartmentRewardCondtion: 'evo_fin_department_reward_conditionid',
|
||||
finDepartmentRewardSumm: 'evo_fin_department_reward_total',
|
||||
GPSBrand: 'evo_gps_brandid',
|
||||
GPSModel: 'evo_gps_modelid',
|
||||
regionRegistration: 'evo_regionid',
|
||||
townRegistration: 'evo_townid',
|
||||
infuranceOPF: 'evo_ins_legal_form',
|
||||
insKaskoType: 'evo_insurance_type',
|
||||
insKaskoPriceLeasePeriod: 'evo_kasko_price_leasperiod',
|
||||
insDecentral: 'evo_insurance_decentral',
|
||||
insPeriod: 'evo_insurance_period',
|
||||
insFranchise: 'evo_franchise',
|
||||
insUnlimitDrivers: 'evo_unlimit_drivers',
|
||||
insAgeDrivers: 'evo_age_drivers',
|
||||
insExpDrivers: 'evo_exp_drivers',
|
||||
lastPaymentRedemption: 'evo_last_payment_redemption',
|
||||
priceWithDiscount: 'evo_price_with_discount',
|
||||
costIncrease: 'evo_cost_increace',
|
||||
insurance: 'evo_insurance',
|
||||
registrationQuote: 'evo_registration_quote',
|
||||
technicalCardQuote: 'evo_card_quote',
|
||||
NSIB: 'evo_nsib_quote',
|
||||
quoteName: 'evo_contact_name',
|
||||
quoteContactGender: 'evo_gender',
|
||||
quoteRedemptionGraph: 'evo_redemption_graph',
|
||||
maxPriceChange: 'evo_max_price_change',
|
||||
importerRewardPerc: 'evo_importer_reward_perc',
|
||||
importerRewardRub: 'evo_importer_reward_rub',
|
||||
// insuranceCompanyOSAGO: 'evo_osago_accountid',
|
||||
// insuranceCompanyKASKO: 'evo_kasko_accountid',
|
||||
// insuranceCompanyDGO: 'evo_kasko_accountid',
|
||||
// insuranceCompanyNS: 'evo_kasko_accountid',
|
||||
// insuredOSAGO: 'evo_osago_payer',
|
||||
// insuredKASKO: 'evo_kasko_payer',
|
||||
// insuredDGO: 'evo_kasko_payer',
|
||||
// insuredNS: 'evo_kasko_payer',
|
||||
// inscostOSAGO: 'evo_osago_price',
|
||||
// inscostKASKO: 'evo_kasko_price',
|
||||
// inscostDGO: 'evo_dgo_price',
|
||||
// inscostNS: 'evo_ns_price',
|
||||
// insTermKASKO: 'evo_first_insurance_period',
|
||||
// insTermDGO: 'evo_first_insurance_period',
|
||||
// insTermNS: 'evo_first_insurance_period',
|
||||
requirementTelematic: 'evo_req_telematic',
|
||||
};
|
||||
|
||||
export default mapKPtoValues;
|
||||
Reference in New Issue
Block a user