generated from include-davis/Next.js-App-Router-Starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
No need to build the sidebar.
There will probably be more order statuses than just completed, not complete, and cancelled, so when you make the component, don't hardcode these statuses in. You should have all of the possible statuses in an array that the component renders based off of.
List view: (when there are no orders, just display a message that says "No orders to display"

Order detail view: (replace the "complete order" button with a "delete order" button and replace the "not complete" text with a dropdown that allows the user to choose an order status)

Metadata
Metadata
Assignees
Labels
No labels