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
|
customer.emailAddress
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs;
|
||||||
serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
getPaymentMethodFromStore() {
|
getPaymentMethodFromStore() {
|
||||||
const piaType = store.getters.order.payment.piaType;
|
const piaType = store.getters.order.payment.piaType;
|
||||||
|
|
|
||||||
|
|
@ -347,12 +347,13 @@ export default {
|
||||||
},
|
},
|
||||||
getSelectedTimeSlotInfo() {
|
getSelectedTimeSlotInfo() {
|
||||||
const supportingItems = this.getSupportingItems();
|
const supportingItems = this.getSupportingItems();
|
||||||
|
|
||||||
var isPremiumAppointment = false;
|
var isPremiumAppointment = false;
|
||||||
if (supportingItems) {
|
if (supportingItems) {
|
||||||
isPremiumAppointment =
|
isPremiumAppointment =
|
||||||
!!supportingItems.filter((lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE)
|
!!supportingItems.filter(
|
||||||
.length > 0;
|
(lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE
|
||||||
|
).length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const selectedTimeSlotInfo = {
|
const selectedTimeSlotInfo = {
|
||||||
|
|
@ -467,7 +468,7 @@ export default {
|
||||||
if (!supportingItems) {
|
if (!supportingItems) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added
|
// 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(
|
const removePremiumFeeIndex = supportingItems.findIndex(
|
||||||
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,7 @@ export default {
|
||||||
);
|
);
|
||||||
|
|
||||||
const mobileFeePartPromise = getPricedMobileFeePart(serviceZipCode, "service-location");
|
const mobileFeePartPromise = getPricedMobileFeePart(serviceZipCode, "service-location");
|
||||||
|
|
||||||
const shopProviderDataPromise = getShopProviderData(serviceZipCode); // shopQuestion.methods.loadInitialData(serviceZipCode);
|
const shopProviderDataPromise = getShopProviderData(serviceZipCode); // shopQuestion.methods.loadInitialData(serviceZipCode);
|
||||||
|
|
||||||
// Settle promises and get results
|
// Settle promises and get results
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,9 @@ const routes = [
|
||||||
.components.default();
|
.components.default();
|
||||||
|
|
||||||
if (!arePagePrerequisitesValid(nextComponent)) {
|
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);
|
GoToFunnelStartOn404(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue