Inventory Control of Shopping site
Bamazon Repo -
Creation of a store for inventory and cost control.
BamazonCustomer.js
-
Prompts user with print out of all items available.
-
Asks the user for the quantity to be purchased.
-
If there is sufficient quantity then it will return a total of the purchase.
-
If there is an insufficient quantity then user will issued a message of insufficient quantity.
-
If puchase can be processed then the stock quantity will be updated and the sales quantity will updated.