nus-cs2103-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Able to buy 0 quantity of goods, and results in the good appearing in inventory. #2399

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

If 0 good is bought, perhaps an error can be thrown, or at the very least, not allow the inventory to be updated with 0 amount - i would assume the inventory list refers to goods that have at least been in the company and then sold out.

image.png


[original: nus-cs2103-AY1920S2/pe-interim#2379]

PangJiaDa commented 4 years ago

Team's Response

Able to buy 0 quantity is a duplicate of original issue.

"i would assume the inventory list refers to goods that have at least been in the company and then sold out." Wrong assumption, clarified in DG that quantity 0 in the inventory is also used for reminder and reference.

image.png

Duplicate status (if any):

Duplicate of #2541