From c7be5b6962f80beefc300e2c68d54bb4f84eb8f9 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 22 Jan 2026 17:02:04 -0500 Subject: [PATCH] CASH-2096 redo previously lost changes from 1790 --- src/layouts/schedule/schedule.vue | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index f7c1ead18..d30fdf11c 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -1620,8 +1620,29 @@ export default { } else { this.includePricingByDayUpcharge = false; } + + // TODO: REMOVE AS PART OF CASH-1634 + // // do something to mark this as upcharge day or not... + // if (date.isPricingByDayUpchargeDay) { + // this.includePricingByDayUpcharge = true; + // } else { + // this.includePricingByDayUpcharge = false; + // } }, - updateTimeSlot(timeSlotObj) { + getEmptyTimeSlot() { + return { + timeSlot: { + date: null, + routeCode: null, + startTime: null, + endTime: null, + jobMaxMinutes: null, + jobMinMinutes: null, + }, + isPremiumAppointment: null, + }; + }, + updateTimeSlot(timeSlotObj) { debugger; // eslint-disable-line no-debugger if (!timeSlotObj?.routeCode) { this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF; this.selectedTimeSlotInfo = {