This function must allow the administrator to manage data of food and categories.
UI:
Add new item to user menu:
Add tabs to manager view:
Create views:
Categories (List of all of the categories with add/edit/delete buttons);
Food (List of all of the food with add/edit/delete buttons);
Data Structure:
Edit
Remove category column from products;
Add
Create a category table:
Name - name of category;
Create a product category table:
Product_Id - the product which assigned to the category;
Category_Id - the category that is assigned;
Logic or Flow information:
Food&Category
When the admin visits a page with a list of food/category - he gets all the information about the food/category from database. Each element of the list he can edit and delete or add new elements.
Control system: food & categories (40h)
This function must allow the administrator to manage data of food and categories.
UI:
Add new item to user menu:
Add tabs to manager view:
Create views:
Data Structure:
Edit
Add
Create a category table:
Create a product category table:
Logic or Flow information:
Food&Category When the admin visits a page with a list of food/category - he gets all the information about the food/category from database. Each element of the list he can edit and delete or add new elements.