Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The index page shows - up with a log - in on the top corner of the web - page. In the index page, a

The index page shows-up with a log-in on the top corner of the web-page.
In the index page, a random list of 10 most popular (most frequent purchased during the past 10 days) items is displayed.
Once a user logs-in, he/she is able to:
Place an order
Cancel order
If a user has not logged-in, he/she would not be able to place any order and should be redirected to the log-in page.
Once logged in, the manager can view the list of all un-processed orders. A manager would be able to:
Manage stock:
o Add item to stock
o Remove item from stock
o Modify (price, name, quantity) a product
The log-in id can be used to distinguish between a user and a manager.
Write code for each Views, Controller and Models.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions