CSR-1072
prettier
This commit is contained in:
parent
4e1caf8559
commit
3cfd9a1ca2
4 changed files with 11 additions and 10 deletions
|
|
@ -358,9 +358,7 @@ export default {
|
|||
customer.emailAddress
|
||||
);
|
||||
|
||||
return (
|
||||
serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs
|
||||
);
|
||||
return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs;
|
||||
},
|
||||
getPaymentMethodFromStore() {
|
||||
const piaType = store.getters.order.payment.piaType;
|
||||
|
|
|
|||
|
|
@ -347,12 +347,13 @@ export default {
|
|||
},
|
||||
getSelectedTimeSlotInfo() {
|
||||
const supportingItems = this.getSupportingItems();
|
||||
|
||||
|
||||
var isPremiumAppointment = false;
|
||||
if (supportingItems) {
|
||||
isPremiumAppointment =
|
||||
!!supportingItems.filter((lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE)
|
||||
.length > 0;
|
||||
isPremiumAppointment =
|
||||
!!supportingItems.filter(
|
||||
(lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE
|
||||
).length > 0;
|
||||
}
|
||||
|
||||
const selectedTimeSlotInfo = {
|
||||
|
|
@ -467,7 +468,7 @@ export default {
|
|||
if (!supportingItems) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added
|
||||
const removePremiumFeeIndex = supportingItems.findIndex(
|
||||
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ export default {
|
|||
);
|
||||
|
||||
const mobileFeePartPromise = getPricedMobileFeePart(serviceZipCode, "service-location");
|
||||
|
||||
|
||||
const shopProviderDataPromise = getShopProviderData(serviceZipCode); // shopQuestion.methods.loadInitialData(serviceZipCode);
|
||||
|
||||
// Settle promises and get results
|
||||
|
|
|
|||
|
|
@ -133,7 +133,9 @@ const routes = [
|
|||
.components.default();
|
||||
|
||||
if (!arePagePrerequisitesValid(nextComponent)) {
|
||||
console.log("Page Prereqs not valid for next component: " + nextComponent.default.name);
|
||||
console.log(
|
||||
"Page Prereqs not valid for next component: " + nextComponent.default.name
|
||||
);
|
||||
GoToFunnelStartOn404(next);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue