diff --git a/models/baseModels/PricingRule/PricingRule.ts b/models/baseModels/PricingRule/PricingRule.ts index f614f2ee..31888d6f 100644 --- a/models/baseModels/PricingRule/PricingRule.ts +++ b/models/baseModels/PricingRule/PricingRule.ts @@ -3,8 +3,6 @@ import { Money } from 'pesa'; import { PricingRuleItem } from '../PricingRuleItem/PricingRuleItem'; import { getIsDocEnabledColumn } from 'models/helpers'; import { - FiltersMap, - FormulaMap, HiddenMap, ListViewSettings, RequiredMap, @@ -54,8 +52,6 @@ export class PricingRule extends Doc { return this.discountType === 'Price Discount'; } - formulas: FormulaMap = {}; - validations: ValidationMap = { minQuantity: (value: DocValue) => { if (!value || !this.maxQuantity) { @@ -167,6 +163,4 @@ export class PricingRule extends Doc { recurseEvery: () => this.isDiscountTypeIsPriceDiscount || !this.isRecursive, recurseOver: () => this.isDiscountTypeIsPriceDiscount || !this.isRecursive, }; - - static filters: FiltersMap = {}; }