Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayitzme committed Aug 20, 2024
1 parent acfc84d commit 5605426
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions models/baseModels/PricingRule/PricingRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Money } from 'pesa';
import { PricingRuleItem } from '../PricingRuleItem/PricingRuleItem';
import { getIsDocEnabledColumn } from 'models/helpers';
import {
FiltersMap,
FormulaMap,
HiddenMap,
ListViewSettings,
RequiredMap,
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -167,6 +163,4 @@ export class PricingRule extends Doc {
recurseEvery: () => this.isDiscountTypeIsPriceDiscount || !this.isRecursive,
recurseOver: () => this.isDiscountTypeIsPriceDiscount || !this.isRecursive,
};

static filters: FiltersMap = {};
}

0 comments on commit 5605426

Please sign in to comment.