Adrian73
First of all preparation time and driving time is out of the scope of this functionality.
===
Here are my thoughts for the initial release:
Admin can set a global setting "How many future dates to show" Example: "3"
The restaurant/admin will need to configure the pre-existing Open/Close time.
After the Open/Close time has been set, restaurant can opt in for "Allow customers to schedule the orders"
With this parameters, let's say the customer is placing an order from a Restaurant that is as such:
- Open today(Saturday) till 9pm
- Sunday it's closed
- Monday is 9am to 9pm
- Tuesday is 9am to 9pm
- Wednesday is 9am to 9pm... And so on...
Then in the Customer Application, the options will be for 3 active days. i.e Today(Saturday), Monday and Tuesday with the time as such:
9:00-9:30am
9:30-10:00am
10:00-10:30am... And so on...
30 mins difference in each time slots.
And when the order is placed the selected time will be attached with the order.
(Above things are the only way we can go, only minor alterations will be made to them)
Now let's say the order placing time is 9:00am and the order is scheduled for 1:00pm.
(Obviously Admin can see the order as soon as it is placed)
When will we show the restaurant the order?
Will we create a seperate section on the dashboard saying "Scheduled orders" and start blinking when the time reached near like 12:30pm we should start blinking the order? (Need suggestions for this)
====
Again, please donot suggest something like order pickup time or calculations with Google APIs, that's not in the scope of this module.