Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Product #15

Open
thegenem0 opened this issue Mar 14, 2023 · 0 comments
Open

Add Product #15

thegenem0 opened this issue Mar 14, 2023 · 0 comments
Assignees
Labels

Comments

@thegenem0
Copy link
Contributor

thegenem0 commented Mar 14, 2023

Description:

As a user of the Inventory Management Application, I want to be able to add a new product to the system. This will allow me to keep my inventory up-to-date with accurate information.

Acceptance Criteria:

  • The user can click a "Add Product" button on the Products table page, which will redirect them to the Add Product page.
  • The Add Product page displays a form with the following fields: SKU, Product Name, Quantity, Category, Unit Price, Description, and Image (if available). Form Looks exactly like Edit Product #14
  • The user can fill out all required fields and submit the form by clicking a "Save" button.
  • If the user tries to submit the form without filling out all required fields, an error message will be displayed under the field in issue.
  • If the user tries to submit the form with a SKU that already exists in the database, an error message will be displayed.
  • After the user submits the form, they will be redirected to the Single Product View page for the newly added product.
  • The new product information will be added to the Products table and any other relevant parts of the application.
  • The user can cancel the adding process by clicking a "Cancel" button, which will show a dialog to confirm, upon selecting yes, user will be redirected to Products Table and no changes will be saved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants