From 0d72f9535087ffb2bfffcf0f8955005846471597 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Fri, 24 May 2024 10:33:04 -0400 Subject: [PATCH] CSR-2098 prettier --- .../payment-pia-return/payment-pia-return.vue | 14 +++++++++++--- src/store/index.js | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/layouts/payment-pia-return/payment-pia-return.vue b/src/layouts/payment-pia-return/payment-pia-return.vue index ddfab9d7f..dbea6493d 100644 --- a/src/layouts/payment-pia-return/payment-pia-return.vue +++ b/src/layouts/payment-pia-return/payment-pia-return.vue @@ -72,9 +72,13 @@ export default { async processPaypalResponse() { const token = getQuerystringParameter(queryStrings.TOKEN); const payerId = getQuerystringParameter(queryStrings.PAYERID); - + baseMixin.methods.dispatchStoreAction(storeActions.SAVE_PAYPAL_TOKEN, token, false); - baseMixin.methods.dispatchStoreAction(storeActions.SAVE_NEXTGEN_SETTLED_AMOUNT, this.getAmountDue(), false); + baseMixin.methods.dispatchStoreAction( + storeActions.SAVE_NEXTGEN_SETTLED_AMOUNT, + this.getAmountDue(), + false + ); await this.saveAndSubmitWorkOrder(); }, @@ -126,7 +130,11 @@ export default { }; baseMixin.methods.dispatchStoreAction(storeActions.SAVE_CCTOKEN, ccToken, false); - baseMixin.methods.dispatchStoreAction(storeActions.SAVE_NEXTGEN_SETTLED_AMOUNT, this.getAmountDue(), false); + baseMixin.methods.dispatchStoreAction( + storeActions.SAVE_NEXTGEN_SETTLED_AMOUNT, + this.getAmountDue(), + false + ); await this.saveAndSubmitWorkOrder(); } }, diff --git a/src/store/index.js b/src/store/index.js index 4c5e024c9..e550655ff 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1870,7 +1870,7 @@ export const actions = { saveNextGenSettledAmount(context, nextGenSettledAmount) { context.commit(storeMutations.UPDATE_NEXTGEN_SETTLED_AMOUNT, nextGenSettledAmount); }, - + savePaypalToken(context, ppToken) { context.commit(storeMutations.UPDATE_PAYPAL_TOKEN, ppToken); },