Description
Update the staff “View Orders” page to show only today’s orders.
Currently, orders from other dates (e.g., tomorrow) are also displayed, causing mixed data.
Also add a select option to update the food process/status.
Goal
Ensure staff only see relevant (today’s) orders and can easily update order status.
Tasks
- Add date filter (current date only)
- Update query to fetch today’s orders
- Add select option for food process/status
- Update status handling logic
- Test filtering and status update
Description
Update the staff “View Orders” page to show only today’s orders.
Currently, orders from other dates (e.g., tomorrow) are also displayed, causing mixed data.
Also add a select option to update the food process/status.
Goal
Ensure staff only see relevant (today’s) orders and can easily update order status.
Tasks