Merge pull request #1830 from Safelite/feature/Digital/CSR-1957

CSR-1957
This commit is contained in:
hiteshkumar87 2024-04-22 18:31:03 +05:30 committed by GitHub
commit 40691b8ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
},