Merge pull request #2689 from Safelite/nation/CASH-1225
Nation/cash 1225
This commit is contained in:
commit
1d79c167ad
1 changed files with 3 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm" v-slot="{ meta }">
|
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
||||||
<loadingModal ref="loadingModal" />
|
<loadingModal ref="loadingModal" />
|
||||||
<div class="container-fluid page-container-grouped-styles page-schedule">
|
<div class="container-fluid page-container-grouped-styles page-schedule">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
|
|
@ -147,7 +147,7 @@
|
||||||
<navbar
|
<navbar
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
ref="navbar"
|
ref="navbar"
|
||||||
:isForwardActionDisabled="!meta.valid || isForwardActionDisabled"
|
:isForwardActionDisabled="isForwardActionDisabled"
|
||||||
@back-clicked="backButtonAction"
|
@back-clicked="backButtonAction"
|
||||||
@ForwardClicked="forwardButtonAction" />
|
@ForwardClicked="forwardButtonAction" />
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -743,17 +743,7 @@ export default {
|
||||||
return store.getters.order.policy.isNoComp;
|
return store.getters.order.policy.isNoComp;
|
||||||
},
|
},
|
||||||
isForwardActionDisabled() {
|
isForwardActionDisabled() {
|
||||||
if (
|
return !this.selectedTimeSlotInfo?.timeSlot?.routeCode || !this.appointmentType;
|
||||||
(this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
|
|
||||||
this.appointmentType === AppointmentTypeStrings.DROP_OFF) &&
|
|
||||||
!this.selectedTimeSlotInfo?.timeSlot?.date
|
|
||||||
) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
this.displayNoShopsAlert ||
|
|
||||||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
additionalButtonData() {
|
additionalButtonData() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue