CSR-1392 prettier

prettier
This commit is contained in:
CarlNation 2023-10-10 06:54:47 -04:00
parent 0d8ce72a3e
commit 0724dcadfb
4 changed files with 14 additions and 9 deletions

View file

@ -7,7 +7,7 @@
@click="toggleClass()">
<div class="col d-flex justify-content-between">
<span class="label">Amount Due</span
><span class="label amount-due">${{amountDue}}</span>
><span class="label amount-due">${{ amountDue }}</span>
</div>
</div>
<div class="price-table">

View file

@ -35,7 +35,9 @@
</button>
</div>
</div>
<div class="appoinmenttext" v-html="this.AppointmentWordingText"></div>
<div
class="appoinmenttext"
v-html="this.AppointmentWordingText"></div>
</div>
<div class="emailtext" v-html="this.ConfirmationEmailText"></div>
<navbar

View file

@ -1,6 +1,5 @@
<template>
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
<div class="confirm" ref="confirm" @click="forwardButtonAction"></div>
<loadingModal notFullScreen ref="loadingModal" />
</Form>
</template>
@ -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,
},
};
</script>

View file

@ -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() {