From be65993f87f8e4e4baa60134e7017451262ddc33 Mon Sep 17 00:00:00 2001 From: Sneha Date: Fri, 9 Feb 2024 19:12:07 +0530 Subject: [PATCH] changes --- src/layouts/payment-method/payment-method.vue | 4 +--- .../promo-modal-question/promo-modal-question.vue | 6 +++++- src/layouts/quote/quote.vue | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 003d28b0d..ee0eee749 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -33,8 +33,7 @@ class="small mt-4" v-model="lineItems" :availableVaps="availableVaps" - :taxPromos="taxPromos" - :pageName="payment - method" + pageName="payment-method" modalWidgetName="PromoModalWidget" />
@@ -310,7 +309,6 @@ export default { return { lineItems: [], availableVaps: [], - taxPromos: true, paymentMethodInternalModel: this.getPaymentMethodFromStore(), inactivePromos: this.getInactivePromosFromStore(), }; diff --git a/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue b/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue index ede99df1a..589148ae3 100644 --- a/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue +++ b/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue @@ -101,7 +101,11 @@ export default { modalWidgetName: String, availableVaps: Object, pageName: String, - taxPromos: Boolean, + taxPromos: { + type: Boolean, + required: false, + default: true, + }, }, computed: { promoLinkText() { diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 257d953e7..d1640700f 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -45,6 +45,7 @@ :availableVaps="availableVaps" :availableLineItems="availableLineItems" pageName="quote" + :taxPromos="false" modalWidgetName="PromoModalWidget" />