From c7129edb73b86a1d4b808cf351b86849af5f8cd9 Mon Sep 17 00:00:00 2001 From: Chika Date: Fri, 21 Jan 2022 15:52:47 +0300 Subject: [PATCH] graphql: remove selectAccount query --- src/client/stores/CalculationStore/init/variables.ts | 1 - .../graphql/query/crm/options/getMainOptions.graphql | 9 --------- 2 files changed, 10 deletions(-) diff --git a/src/client/stores/CalculationStore/init/variables.ts b/src/client/stores/CalculationStore/init/variables.ts index 0419e37..5403838 100644 --- a/src/client/stores/CalculationStore/init/variables.ts +++ b/src/client/stores/CalculationStore/init/variables.ts @@ -10,7 +10,6 @@ export const mainOptionsVariables: supplier_legal_form: 100000001, dealer_account_type: [100000001], dealer_legal_form: 100000001, - account_account_type: [100000000], product_relation: [100000000], registration_product_type: 100000001, nsib_product_type: 100000002, diff --git a/src/core/graphql/query/crm/options/getMainOptions.graphql b/src/core/graphql/query/crm/options/getMainOptions.graphql index 4fcdab8..56b1de7 100644 --- a/src/core/graphql/query/crm/options/getMainOptions.graphql +++ b/src/core/graphql/query/crm/options/getMainOptions.graphql @@ -8,7 +8,6 @@ query GetMainOptions( $supplier_legal_form: Int $dealer_account_type: [Int!] $dealer_legal_form: Int - $account_account_type: [Int!] $product_relation: [Int!] $registration_product_type: Int $nsib_product_type: Int @@ -57,14 +56,6 @@ query GetMainOptions( selectLegalClientRegion: evo_regions(statecode: $statecode) { ...evo_region_fields } - selectAccount: accounts( - evo_account_type: $account_account_type - statecode: $statecode - ) { - name - accountid - evo_client_riskid - } selectBrand: evo_brands(statecode: $statecode) { evo_id evo_name