From 3da9f81b62b5e4b9e2e288da993554bfbd2e597c Mon Sep 17 00:00:00 2001 From: akshayitzme Date: Tue, 20 Aug 2024 09:32:00 +0530 Subject: [PATCH] chore: code cleanup --- models/baseModels/PricingRule/PricingRule.ts | 6 ------ 1 file changed, 6 deletions(-) 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 = {}; }