From e8919c75501e766af04676b6afb57d569cad3778 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Fri, 23 Sep 2022 15:45:12 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20selectLeasingWithoutKasko?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Effects/reactions/otherReactions.ts | 10 +++++----- .../graphql/query/options/main_options.graphql | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts index 136764d..ef86699 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts @@ -850,12 +850,12 @@ const reactionEffects: IReactionEffect[] = [ }; }, effect: ({ - leasingPeriod, + leasingPeriod = 0, leaseObjectType, - plPriceRub, - discountRub, - addEquipmentPrice, - importProgram, + plPriceRub = 0, + discountRub = 0, + addEquipmentPrice = 0, + importProgram = 0, }) => { calculationStore.setFilter('selectLeasingWithoutKasko', options => options.filter( diff --git a/src/core/services/CrmService/graphql/query/options/main_options.graphql b/src/core/services/CrmService/graphql/query/options/main_options.graphql index 73d79d4..833e6c0 100644 --- a/src/core/services/CrmService/graphql/query/options/main_options.graphql +++ b/src/core/services/CrmService/graphql/query/options/main_options.graphql @@ -308,5 +308,7 @@ query GetMainOptions( evo_leasingobject_typeid } evo_visible_calc + evo_min_price + evo_max_price } }