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 } }