diff --git a/models/helpers.ts b/models/helpers.ts index 81813b3d..80f8ab82 100644 --- a/models/helpers.ts +++ b/models/helpers.ts @@ -916,7 +916,7 @@ export function canApplyPricingRule( ) { return false; } - + if ( pricingRuleDoc.validTo && new Date(sinvDate.setHours(0, 0, 0, 0)).toISOString() > diff --git a/schemas/app/AccountingSettings.json b/schemas/app/AccountingSettings.json index 377bbde2..4493af67 100644 --- a/schemas/app/AccountingSettings.json +++ b/schemas/app/AccountingSettings.json @@ -122,7 +122,6 @@ "section": "Features" }, { - "fieldname": "enableCouponCode", "label": "Enable Coupon Code", "fieldtype": "Check",