Merge branch 'release/2025.07.31' into feature/CASH-1145
This commit is contained in:
commit
042bcd43b9
1 changed files with 10 additions and 1 deletions
|
|
@ -1541,8 +1541,17 @@ export default {
|
||||||
},
|
},
|
||||||
updateTimeSlot(timeSlotObj) {
|
updateTimeSlot(timeSlotObj) {
|
||||||
this.selectedTimeSlotInfo = timeSlotObj;
|
this.selectedTimeSlotInfo = timeSlotObj;
|
||||||
if (this.appointmentType !== AppointmentTypeStrings.MOBILE) {
|
if (
|
||||||
|
this.appointmentType !== AppointmentTypeStrings.MOBILE &&
|
||||||
|
this.appointmentType !== null
|
||||||
|
) {
|
||||||
// update apptType based on routeCode to determine if it should be dropoff or inshop
|
// update apptType based on routeCode to determine if it should be dropoff or inshop
|
||||||
|
debugLog(`Updating appointment type based on route code.`);
|
||||||
|
debugLog(`Route code =`, timeSlotObj.timeSlot.routeCode);
|
||||||
|
debugLog(
|
||||||
|
`Parsed type = `,
|
||||||
|
this.getInShopOrDropOffApptType(timeSlotObj.timeSlot.routeCode)
|
||||||
|
);
|
||||||
this.appointmentType = this.getInShopOrDropOffApptType(
|
this.appointmentType = this.getInShopOrDropOffApptType(
|
||||||
timeSlotObj.timeSlot.routeCode
|
timeSlotObj.timeSlot.routeCode
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue