Skip to content

Refactor: Filter staff orders by current date #51

@devstygian

Description

@devstygian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendTasks related to server, logic, APIenhancementNew feature or requestfrontendTasks related to UI, dashboard, designhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions