keelback-code / wwww

0 stars 1 forks source link

User Story - Stock Levels #15

Open keelback-code opened 2 years ago

keelback-code commented 2 years ago

As a staff member I can control stock levels so that I do not accidentally over or undersell a product.

Acceptance Criteria

User is unable to order minus amounts or more than stock level

Tasks

Stock_level line in database - removed Code (HTML and views.py) to control visual and actual ordering - done

keelback-code commented 2 years ago

Changed to custom product only so products are ordered on a case by case basis - changed code to reflect minimum of 1 and maximum of 10, no need for stock_level line in database as there is no advance stock.