Update quote.vue

Modifying the code in accordance with the new service package discount on all packages
This commit is contained in:
Sneha 2024-11-04 12:04:06 +05:30
parent e7e20f5f9f
commit 16ce4783c9

View file

@ -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(