schedule page updates
This commit is contained in:
parent
4afa129284
commit
4b3a866382
2 changed files with 6 additions and 9 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
cmsWidgetName="ChangeShopLink"
|
cmsWidgetName="ChangeShopLink"
|
||||||
justifyText="center"
|
justifyText="center"
|
||||||
class="mb-3 text-link-small"
|
class="mb-3 text-link-small"
|
||||||
marginTopSizeOverride="1" />
|
:marginTopSizeOverride="1" />
|
||||||
</template>
|
</template>
|
||||||
<div class="main-content-container">
|
<div class="main-content-container">
|
||||||
<locationAlerts
|
<locationAlerts
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
validationRules="date-required"
|
validationRules="date-required"
|
||||||
@date-clicked="openInshopTimeSlotsModal" />
|
@date-clicked="openInshopTimeSlotsModal" />
|
||||||
<siteFooter
|
<siteFooter
|
||||||
ref="siteFooter"
|
ref="navbar"
|
||||||
class="mt-5"
|
class="mt-5"
|
||||||
cmsWidgetName="SiteFooterWidget"
|
cmsWidgetName="SiteFooterWidget"
|
||||||
:isForwardActionDisabled="!meta.valid"
|
:isForwardActionDisabled="!meta.valid"
|
||||||
|
|
@ -51,7 +51,6 @@ import siteFooter from '@/iss-components/site-footer/site-footer.vue';
|
||||||
import textBlock from '@/digital-components/text-block/text-block.vue';
|
import textBlock from '@/digital-components/text-block/text-block.vue';
|
||||||
|
|
||||||
// Supporting files
|
// Supporting files
|
||||||
import baseMixin from '@/mixins/base-mixin.js';
|
|
||||||
import {
|
import {
|
||||||
calcDaysBetweenDates,
|
calcDaysBetweenDates,
|
||||||
convertDateStringToDate,
|
convertDateStringToDate,
|
||||||
|
|
@ -151,7 +150,7 @@ const getAvailableDates = async (
|
||||||
timeSlotsResponse = await useMainStore().getShopTimeSlots(
|
timeSlotsResponse = await useMainStore().getShopTimeSlots(
|
||||||
storeAction.payload.startDate,
|
storeAction.payload.startDate,
|
||||||
storeAction.payload.endDate,
|
storeAction.payload.endDate,
|
||||||
storeAction.payload.appointmentType,
|
storeAction.payload.shopAppointmentType,
|
||||||
storeAction.payload.providerNumber
|
storeAction.payload.providerNumber
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -249,7 +248,7 @@ export default {
|
||||||
return this.splitCopyOnCMSPlaceHolder(this.ChangeShopLinkText);
|
return this.splitCopyOnCMSPlaceHolder(this.ChangeShopLinkText);
|
||||||
},
|
},
|
||||||
appointmentType() {
|
appointmentType() {
|
||||||
return this.mainStore.order.serviceLocation.appointmentType;
|
return useMainStore().order.serviceLocation.appointmentType;
|
||||||
},
|
},
|
||||||
timeSlotsForSelectedDate() {
|
timeSlotsForSelectedDate() {
|
||||||
if (!this.selectedDate) {
|
if (!this.selectedDate) {
|
||||||
|
|
|
||||||
|
|
@ -695,7 +695,7 @@ export const useMainStore = defineStore({
|
||||||
endDate,
|
endDate,
|
||||||
shopAppointmentType,
|
shopAppointmentType,
|
||||||
applicationName: applicationConfig.APPLICATION_NAME,
|
applicationName: applicationConfig.APPLICATION_NAME,
|
||||||
parentAccountNumber: this.payment.parentAccountNumber,
|
parentAccountNumber: 167132, // this.payment.parentAccountNumber,
|
||||||
carId: vehicle.carId,
|
carId: vehicle.carId,
|
||||||
lineItems,
|
lineItems,
|
||||||
glassPieces,
|
glassPieces,
|
||||||
|
|
@ -709,9 +709,7 @@ export const useMainStore = defineStore({
|
||||||
hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers?.length,
|
hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers?.length,
|
||||||
hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers?.length,
|
hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers?.length,
|
||||||
hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers?.length,
|
hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers?.length,
|
||||||
hasManuallySelectedParts:
|
hasManuallySelectedParts: !!this.applicationUser.pageData['vehicle-parts']?.partsOrQuestions.length
|
||||||
!!this.applicationUser.pageData['vehicle-parts']?.partsOrQuestions
|
|
||||||
.length
|
|
||||||
},
|
},
|
||||||
vehicle: {
|
vehicle: {
|
||||||
year: vehicle.year,
|
year: vehicle.year,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue