CSR-731 | Merge issues
This commit is contained in:
parent
2ae16d3f01
commit
cd192f0ad2
1 changed files with 0 additions and 43 deletions
|
|
@ -405,49 +405,6 @@ export const getters = {
|
||||||
applicationUser: (state) => state.applicationUser,
|
applicationUser: (state) => state.applicationUser,
|
||||||
order: (state) => state.order,
|
order: (state) => state.order,
|
||||||
payment: (state) => state.order.payment,
|
payment: (state) => state.order.payment,
|
||||||
experimentOrder: (state) => {
|
|
||||||
return {
|
|
||||||
funnelVehicleYear: state.order.vehicle.year,
|
|
||||||
funnelVehicleMake: state.order.vehicle.make,
|
|
||||||
funnelVehicleModel: state.order.vehicle.model,
|
|
||||||
funnelVehicleStyle: state.order.vehicle.style,
|
|
||||||
funnelIsRepair: state.order.damage.isRepair,
|
|
||||||
funnelNumberOfChips: state.order.damage.numberOfChips,
|
|
||||||
funnelCarId: state.order.vehicle.carId,
|
|
||||||
funnelServiceCity: state.order.serviceLocation.city,
|
|
||||||
funnelServiceState: state.order.serviceLocation.state,
|
|
||||||
funnelServiceZipCode: state.order.serviceLocation.zipCode,
|
|
||||||
funnelParentAccountNumber: state.order.accountNumber,
|
|
||||||
funnelIsCoverageVerified: state.order.payment.insuranceCoverage.isVerified,
|
|
||||||
funnelHasRecalibrationPart: getHasRecalibrationPart(state),
|
|
||||||
funnelSelectedMultiGlass: state.order.damage.glassToReplace?.length > 1,
|
|
||||||
funnelSelectedWindshieldGlass: getNonFalseValuesOfPropertyInArrayOfObjects(
|
|
||||||
state.order.damage.glassToReplace,
|
|
||||||
"glassLocation"
|
|
||||||
).includes(damageLocationsSelected.WINDSHIELD),
|
|
||||||
funnelSelectedBackGlass: getNonFalseValuesOfPropertyInArrayOfObjects(
|
|
||||||
state.order.damage.glassToReplace,
|
|
||||||
"glassLocation"
|
|
||||||
).includes(damageLocationsSelected.REAR),
|
|
||||||
funnelSelectedDriverSideGlass: getNonFalseValuesOfPropertyInArrayOfObjects(
|
|
||||||
state.order.damage.glassToReplace,
|
|
||||||
"glassLocation"
|
|
||||||
).includes(damageLocationsSelected.DRIVER),
|
|
||||||
funnelSelectedPassengerSideGlass: getNonFalseValuesOfPropertyInArrayOfObjects(
|
|
||||||
state.order.damage.glassToReplace,
|
|
||||||
"glassLocation"
|
|
||||||
).includes(damageLocationsSelected.PASSENGER),
|
|
||||||
return matchedEvent !== undefined ? matchedEvent.eventValue : undefined;
|
|
||||||
},
|
|
||||||
eventBus: (state) => state.applicationUser.eventBus,
|
|
||||||
damage: (state) => state.order.damage,
|
|
||||||
lineItems: (state) => state.order.lineItems,
|
|
||||||
pageData: (state) => (page) => {
|
|
||||||
return state.applicationUser.pageData[page];
|
|
||||||
},
|
|
||||||
applicationUser: (state) => state.applicationUser,
|
|
||||||
order: (state) => state.order,
|
|
||||||
payment: (state) => state.order.payment,
|
|
||||||
experimentOrder: (state) => {
|
experimentOrder: (state) => {
|
||||||
return {
|
return {
|
||||||
funnelVehicleYear: state.order.vehicle.year,
|
funnelVehicleYear: state.order.vehicle.year,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue