From 16ce4783c9950c77d91a521accda65c6b3974b1a Mon Sep 17 00:00:00 2001 From: Sneha Date: Mon, 4 Nov 2024 12:04:06 +0530 Subject: [PATCH] Update quote.vue Modifying the code in accordance with the new service package discount on all packages --- src/layouts/quote/quote.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 8aedcc754..569d70ded 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -597,7 +597,7 @@ export default { }); } let price = 0; - if (tier.value == "TierTwo" && this.isServicePackageDiscountOnOrder) { + if (tier.additionalButtonData?.servicePackageDiscount && this.isServicePackageDiscountOnOrder) { lineItemsToPrice.push(...this.servicePackageDiscountParts); } price += baseMixin.methods.getTierOnePackagePrice(