-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description:
As a user of the Inventory Management Application, I want to be able to add a new product category to the system. This will allow me to better organize my products and make informed decisions about inventory management.
Acceptance Criteria:
- A "Add Category" page is added to the application UI.
- The "Add Category" page contains input fields for the category name.
- The user can submit the category information by clicking a "Save" button.
- If the user tries to submit the category without entering a name, an error message will be displayed prompting them to enter a name.
- After the user submits the category information, the new category is added to the Categories table.
- The user is redirected to the Categories table page.
- If there are any products assigned to the new category, they will be displayed in the "Number of Products" column on the Categories table, otherwise displays 0.
- The table data is persisted to a database backend.