CSR-2098 prettier
This commit is contained in:
parent
eb8594903c
commit
0d72f95350
2 changed files with 12 additions and 4 deletions
|
|
@ -72,9 +72,13 @@ export default {
|
||||||
async processPaypalResponse() {
|
async processPaypalResponse() {
|
||||||
const token = getQuerystringParameter(queryStrings.TOKEN);
|
const token = getQuerystringParameter(queryStrings.TOKEN);
|
||||||
const payerId = getQuerystringParameter(queryStrings.PAYERID);
|
const payerId = getQuerystringParameter(queryStrings.PAYERID);
|
||||||
|
|
||||||
baseMixin.methods.dispatchStoreAction(storeActions.SAVE_PAYPAL_TOKEN, token, false);
|
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();
|
await this.saveAndSubmitWorkOrder();
|
||||||
},
|
},
|
||||||
|
|
@ -126,7 +130,11 @@ export default {
|
||||||
};
|
};
|
||||||
|
|
||||||
baseMixin.methods.dispatchStoreAction(storeActions.SAVE_CCTOKEN, ccToken, false);
|
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();
|
await this.saveAndSubmitWorkOrder();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1870,7 +1870,7 @@ export const actions = {
|
||||||
saveNextGenSettledAmount(context, nextGenSettledAmount) {
|
saveNextGenSettledAmount(context, nextGenSettledAmount) {
|
||||||
context.commit(storeMutations.UPDATE_NEXTGEN_SETTLED_AMOUNT, nextGenSettledAmount);
|
context.commit(storeMutations.UPDATE_NEXTGEN_SETTLED_AMOUNT, nextGenSettledAmount);
|
||||||
},
|
},
|
||||||
|
|
||||||
savePaypalToken(context, ppToken) {
|
savePaypalToken(context, ppToken) {
|
||||||
context.commit(storeMutations.UPDATE_PAYPAL_TOKEN, ppToken);
|
context.commit(storeMutations.UPDATE_PAYPAL_TOKEN, ppToken);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue