CSR-1392 prettier
prettier
This commit is contained in:
parent
0d8ce72a3e
commit
0724dcadfb
4 changed files with 14 additions and 9 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
@click="toggleClass()">
|
@click="toggleClass()">
|
||||||
<div class="col d-flex justify-content-between">
|
<div class="col d-flex justify-content-between">
|
||||||
<span class="label">Amount Due</span
|
<span class="label">Amount Due</span
|
||||||
><span class="label amount-due">${{amountDue}}</span>
|
><span class="label amount-due">${{ amountDue }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="price-table">
|
<div class="price-table">
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,9 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="appoinmenttext" v-html="this.AppointmentWordingText"></div>
|
<div
|
||||||
|
class="appoinmenttext"
|
||||||
|
v-html="this.AppointmentWordingText"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="emailtext" v-html="this.ConfirmationEmailText"></div>
|
<div class="emailtext" v-html="this.ConfirmationEmailText"></div>
|
||||||
<navbar
|
<navbar
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
||||||
<div class="confirm" ref="confirm" @click="forwardButtonAction"></div>
|
|
||||||
<loadingModal notFullScreen ref="loadingModal" />
|
<loadingModal notFullScreen ref="loadingModal" />
|
||||||
</Form>
|
</Form>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -46,8 +45,10 @@ export default {
|
||||||
await this.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
|
await this.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
|
||||||
await submitWorkOrder({ pageNameToLog: "payment-pia-return" });
|
await submitWorkOrder({ pageNameToLog: "payment-pia-return" });
|
||||||
this.$refs.loadingModal.isModalVisible = false;
|
this.$refs.loadingModal.isModalVisible = false;
|
||||||
this.$router.navigateWithoutSaving(this.navigationScenarios.PIA_SUCCESS, this.$route);
|
this.$router.navigateWithoutSaving(
|
||||||
//this.$refs.confirm.click();
|
this.navigationScenarios.PIA_SUCCESS,
|
||||||
|
this.$route
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
baseMixin.methods.dispatchStoreAction(
|
baseMixin.methods.dispatchStoreAction(
|
||||||
storeActions.SAVE_PIA_ERROR_CODE,
|
storeActions.SAVE_PIA_ERROR_CODE,
|
||||||
|
|
@ -68,7 +69,7 @@ export default {
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
loadingModal,
|
loadingModal,
|
||||||
Form
|
Form,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -121,9 +121,11 @@ export default {
|
||||||
var amountDue = 0;
|
var amountDue = 0;
|
||||||
const itemsClone = { ...lineItems };
|
const itemsClone = { ...lineItems };
|
||||||
delete itemsClone.serverData;
|
delete itemsClone.serverData;
|
||||||
for(var propertyName in itemsClone) {
|
for (var propertyName in itemsClone) {
|
||||||
amountDue += this.getTotalPriceOfAllLineItemsAndChildParts(itemsClone[propertyName]);
|
amountDue += this.getTotalPriceOfAllLineItemsAndChildParts(
|
||||||
}
|
itemsClone[propertyName]
|
||||||
|
);
|
||||||
|
}
|
||||||
return amountDue;
|
return amountDue;
|
||||||
},
|
},
|
||||||
scrollToPageTop() {
|
scrollToPageTop() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue