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

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

Create/Update order form #44

Open bhighlander opened 1 year ago

bhighlander commented 1 year ago

User Story:

As a user, I want the navbar to be displayed at the top of the Create/Edit Order page, and I want to be able to input an Order Name, Customer Phone, Customer Email, and Order Type, and have a button to create/edit the order.

Acceptance Criteria:

The navbar is displayed at the top of the Create/Edit Order page. The Order Name field, Customer Phone field, Customer Email field, and Order Type dropdown menu are displayed on the Create/Edit Order page. There is a Create/Edit Order button on the Create/Edit Order page. Clicking the Create/Edit Order button creates/edits an order with the inputted information.

Dependencies:

The navbar and button components are available and functional. The database and backend API support creating and editing orders with the inputted information.

Dev Notes:

The navbar component needs to be added to the Create/Edit Order page and positioned at the top of the page. The Order Name, Customer Phone, Customer Email, and Order Type fields need to be added to the Create/Edit Order page. The Create/Edit Order button needs to be added to the Create/Edit Order page. A function to create/edit orders with the inputted information needs to be implemented and linked to the Create/Edit Order button.