Merge remote-tracking branch 'origin/feature/CASH-1145' into feature/CASH-1145
This commit is contained in:
commit
1470d3e52f
1 changed files with 10 additions and 1 deletions
|
|
@ -1544,8 +1544,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