CASH-1790: remove obsolete method
This commit is contained in:
parent
59d4b42609
commit
ffb4156b14
1 changed files with 0 additions and 23 deletions
|
|
@ -1130,29 +1130,6 @@ export default {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getTimeSlotInfo() {
|
|
||||||
// Get the current date
|
|
||||||
const currentDate = getTodayDate();
|
|
||||||
|
|
||||||
// Add 10 days to the current date
|
|
||||||
currentDate.setDate(currentDate.getDate() + 10);
|
|
||||||
|
|
||||||
// Format the date as yyyy-mm-dd
|
|
||||||
const year = currentDate.getFullYear();
|
|
||||||
const month = String(currentDate.getMonth() + 1).padStart(2, "0");
|
|
||||||
const day = String(currentDate.getDate()).padStart(2, "0");
|
|
||||||
|
|
||||||
const formattedDate = `${year}-${month}-${day}`;
|
|
||||||
|
|
||||||
return {
|
|
||||||
date: formattedDate,
|
|
||||||
endTime: "12:00",
|
|
||||||
jobMaxMinutes: "180",
|
|
||||||
jobMinMinutes: "120",
|
|
||||||
routeCode: "3357I-03357-M-I*20988*AM",
|
|
||||||
startTime: "08:00",
|
|
||||||
};
|
|
||||||
},
|
|
||||||
onShopSelected(shopQuestionPopUpData) {
|
onShopSelected(shopQuestionPopUpData) {
|
||||||
this.resetWaitlist();
|
this.resetWaitlist();
|
||||||
this.preSelectedDate = null;
|
this.preSelectedDate = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue