From 0724dcadfbb18d8886310252aca78ebcb2da0ccf Mon Sep 17 00:00:00 2001 From: CarlNation <32103961+CarlNation@users.noreply.github.com> Date: Tue, 10 Oct 2023 06:54:47 -0400 Subject: [PATCH] CSR-1392 prettier prettier --- src/fmg-components/cart/cart.vue | 2 +- src/layouts/confirmation/confirmation.vue | 4 +++- src/layouts/payment-pia-return/payment-pia-return.vue | 9 +++++---- src/mixins/base-mixin.js | 8 +++++--- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index fcc30519c..3b454071c 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -7,7 +7,7 @@ @click="toggleClass()">
Amount Due${{amountDue}} + >${{ amountDue }}
diff --git a/src/layouts/confirmation/confirmation.vue b/src/layouts/confirmation/confirmation.vue index eeb6b5b3a..3691cf496 100644 --- a/src/layouts/confirmation/confirmation.vue +++ b/src/layouts/confirmation/confirmation.vue @@ -35,7 +35,9 @@
-
+
-
@@ -46,8 +45,10 @@ export default { await this.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE); await submitWorkOrder({ pageNameToLog: "payment-pia-return" }); this.$refs.loadingModal.isModalVisible = false; - this.$router.navigateWithoutSaving(this.navigationScenarios.PIA_SUCCESS, this.$route); - //this.$refs.confirm.click(); + this.$router.navigateWithoutSaving( + this.navigationScenarios.PIA_SUCCESS, + this.$route + ); } else { baseMixin.methods.dispatchStoreAction( storeActions.SAVE_PIA_ERROR_CODE, @@ -68,7 +69,7 @@ export default { }, components: { loadingModal, - Form + Form, }, }; diff --git a/src/mixins/base-mixin.js b/src/mixins/base-mixin.js index 12d642ffc..ec83c922e 100644 --- a/src/mixins/base-mixin.js +++ b/src/mixins/base-mixin.js @@ -121,9 +121,11 @@ export default { var amountDue = 0; const itemsClone = { ...lineItems }; delete itemsClone.serverData; - for(var propertyName in itemsClone) { - amountDue += this.getTotalPriceOfAllLineItemsAndChildParts(itemsClone[propertyName]); - } + for (var propertyName in itemsClone) { + amountDue += this.getTotalPriceOfAllLineItemsAndChildParts( + itemsClone[propertyName] + ); + } return amountDue; }, scrollToPageTop() {