NSS-Evening-E22 / pos-system-tech-giants

pos-system-tech-giants created by GitHub Classroom
0 stars 1 forks source link

Order details button #47

Closed bhighlander closed 1 year ago

bhighlander commented 1 year ago

User Story:

As a user, I want to view the details of an order by clicking on the "Details" button on the order card on the View Orders page.

Acceptance Criteria:

The "Details" button is displayed on each order card on the View Orders page. Clicking the "Details" button opens a new page displaying the details of the selected order. The page displays the Order Name, Customer Name, Order Type, Items, Quantity, Total Price, and any other relevant order information.

Dependencies:

The View Orders page and order card components are available and functional. The database and backend API support displaying order details.

Dev Notes:

The "Details" button component needs to be created and added to each order card on the View Orders page. A page component needs to be created to display the order details when the "Details" button is clicked. A function to display the order details and link the "Details" button to the modal or page needs to be implemented. The page needs to display the relevant order information and include a button to close or exit the modal or page.