From fa16142627062189fcd0111561bde2f607fb9442 Mon Sep 17 00:00:00 2001 From: Sneha Date: Mon, 13 Nov 2023 16:16:06 +0530 Subject: [PATCH] Formatting --- src/fmg-components/cart/cart.vue | 2 +- .../promo-modal-question/promo-modal-question.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index 461a09e49..afb13c0e1 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -230,7 +230,7 @@ export default { (promoLineItem?.laborAmount ?? 0) + (promoLineItem?.sellingPrice ?? 0), salesTax: promoLineItem?.salesTax, - lineItems:[], + lineItems: [], }; promoLineItem.cartItemType = cartItem.cartItemType; 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 07ecdba09..91388396b 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 @@ -181,7 +181,7 @@ export default { this.displayInvalidPromoAlert = true; this.focusOnPromoInput(); this.resetModalButtonStyle(); - } else { + } else { const pricedLineItemsToTax = []; pricedLineItemsToTax.push(...promoCodeData.promoCode); const taxedLineItems = @@ -197,7 +197,7 @@ export default { serviceLocationState: store.getters.order.serviceLocation.state, serviceLocationZipCode: store.getters.order.serviceLocation.zipCode, - pricedLineItems:pricedLineItemsToTax, + pricedLineItems: pricedLineItemsToTax, }, "payment-method", false @@ -212,7 +212,7 @@ export default { taxedLineItems, this.availableVaps ); - + const getVaps = getVapsThatNeedToBeAddedToSatisfyPromos( promoCodeData.promoCode, taxedVaps, @@ -229,7 +229,7 @@ export default { type: "alert-success", isDismissible: true, }); - this.promoCode = ""; + this.promoCode = ""; } } else { this.displayInvalidPromoAlert = true;