diff --git a/src/store/index.js b/src/store/index.js index 8e981eeb1..7861206e3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -12,7 +12,11 @@ import { singleWindshieldCarIds } from "@/constants/single-windshield-carids"; import { fmgPageValues } from "@/router/router-constants/fmgPage-values"; import { deleteFunnelCookie } from "@/helpers/heritage-integration/cookie-helper.js"; import { deepEqual } from "@/helpers/object-helper"; -import { AppointmentTypeStrings, PREMIUM_FEE_PART_TYPE } from "@/constants/schedule-constants"; +import { + AppointmentTypeStrings, + PREMIUM_FEE_PART_TYPE, + RouteCodeFlags, +} from "@/constants/schedule-constants"; import { getQuerystringParameter } from "@/helpers/querystring-helper"; import { deepClone } from "@/helpers/object-helper"; import { queryStrings } from "@/constants/query-strings"; @@ -641,6 +645,9 @@ export const getters = { isDropOffAppointment: (state) => { return state.order.serviceLocation.appointmentType === AppointmentTypeStrings.DROP_OFF; }, + isOvernightDropOffAppointment: (state) => { + return state.order.schedule.routeCode?.includes(RouteCodeFlags.OVERNIGHT_DROP_OFF); + }, isRecalibrationOnOrder: (state) => { return getHasRecalibrationPart(state); },