Skip to content

ASP.NET + Entity + SQL Server - This project was proposed as an assessment for the third week of the Impacta's Learning Program.

Notifications You must be signed in to change notification settings

mclaramarinho/LojaImpacta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

HOW TO USE THIS SYSTEM?

‼️ Whenever prompted for a "Senha de Cadastro", insert: 1Av1viX

  1. Create the Access Levels

    • Go to the "Niveis de acesso" URL in the Navbar image
    • Click "Criar novo nivel" image
    • Give the new access level a name and hit Create image
  2. Now create an user

    • Go to the "Usuarios" URL in the Navbar image

    • Click "Criar novo user" image

    • Fill the form with the necessary information and hit Create. image The user's access level can be selected in the dropdown menu. If you wish to attribute a non-existing level, you must create it first, then proceed with the account creation.

  3. Now you can create a product.

    • Go to the "Produtos" URL in the navbar image
    • Click "Adicionar novo produto" button image
    • Fill the form with all the information needed and hit Salvar. image

    If you wish to edit an existing product:

    • In the products' index, click the pencil button under a product card image
    • Alter the informations you wish and hit Salvar. image

    If you wish to delete a product:

    • In the products' index, click the trash button under a product card image
    • Confirm your action image
  4. Finally, sell a product:

    • Go to the "Produtos" URL in the navbar image
    • In the products' index, click the green button under a product card image
    • The product's details page will open. Hit the green button. image
    • Now, on the sale page, fill the information asked and hit the green button. image

    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.

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

No packages published