-
Create the Access Levels
-
Now create an user
-
Now you can create a product.
- Go to the "Produtos" URL in the navbar
- Click "Adicionar novo produto" button
- Fill the form with all the information needed and hit Salvar.
If you wish to edit an existing product:
- In the products' index, click the pencil button under a product card
- Alter the informations you wish and hit Salvar.
If you wish to delete a product:
- Go to the "Produtos" URL in the navbar
-
Finally, sell a product:
- Go to the "Produtos" URL in the navbar
- In the products' index, click the green button under a product card
- The product's details page will open. Hit the green button.
- Now, on the sale page, fill the information asked and hit the green button.
IMPORTANT:
- Only the access levels "admin" and "vendedor" can be selected on the "Vendedor" field
- Only the access level "cliente" can be selected on the "Cliente" field
- The Produto field displays the product ID
- The Quantidade field accepts a minimum of 1 and a maximum of the amount available for that product.
- After selling, the amount available for that product will be updated.
- If you wish to cancel the sale, just go to the index page for the Sales controller, and delete the sale you want to cancel. The product's amount available will be updated.
- Go to the "Produtos" URL in the navbar
-
Notifications
You must be signed in to change notification settings - Fork 0
mclaramarinho/LojaImpacta
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ASP.NET + Entity + SQL Server - This project was proposed as an assessment for the third week of the Impacta's Learning Program.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published