Saurabh Schedule orders also can be rejected, in case what the customer ordered is already finished before the scheduled delivery time.
That's why we need a new STATUS for the restaurant to change it to Ready for Pickup and that's when the Delivery boy will get the notification.
The status will be like this: Accepted >> Ready for Pickup (Restaurant change this and that's when the Delivery boy gets the notification) >> Picked up >> Delivered.
Maybe we can show a message to the restaurant owner, to change to ready for pickup 5-10 minutes before, so the delivery boy can reach the restaurant.
For Delivery boy >> Accept >> Pickup >> Deliverd.
Maybe we can show the delivery boy there are orders but we will show Accept/Notification when the restaurant changes to "Ready for Pickup"
Thanks.