From 4414d39c508c243b7cbad878562705878502b72a Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Wed, 18 Oct 2023 09:15:35 -0400 Subject: [PATCH] Prettified --- .../add-vaps-modal-buttons.vue | 2 +- src/fmg-components/cart/cart.vue | 15 +++++++++------ src/layouts/payment-method/payment-method.vue | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue b/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue index 1ce076634..4240e3514 100644 --- a/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue +++ b/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue @@ -91,7 +91,7 @@ export default { answer.SubText = "+$" + this.wipersPrice; answers.push(answer); } - + if (this.showAddRainDefense) { const answer = getAnswer("RainDefenseModal", this.answersCmsData); answer.SubText = "+$" + this.rainDefensePrice; diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index f0ab45cf8..cca06cbca 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -12,7 +12,9 @@
- {{ currencyFormatter.format(packagePrice) }} + {{ + currencyFormatter.format(packagePrice) + }}
{ - subTotal += (lineItem.kitPrice ?? 0) + - (lineItem.laborAmount ?? 0) + - (lineItem.sellingPrice ?? 0); + subTotal += + (lineItem.kitPrice ?? 0) + + (lineItem.laborAmount ?? 0) + + (lineItem.sellingPrice ?? 0); }); return subTotal; diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index ca63145c3..731017d18 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -160,7 +160,7 @@ export default { const lineItems = store.getters.order.lineItems; const combinedLineItems = [...glassParts, ...lineItems.supportingItems, ...lineItems.vaps]; - + const taxedLineItems = await baseMixin.methods.dispatchStoreActionWithLogging( storeActions.TAX_ORDER_ITEMS_AND_SAVE_SERVER_DATA, {