nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Able to add expired cheese #2305

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

As owners of a cheese making/selling business, they should not be allowed to add expired cheese, aka cheese with expiry dates before the current date.

Steps to reproduce:

  1. addcheese t/Parmesan q/2 d/2021-03-12 e/2021-04-12

image.png


[original: nus-cs2103-AY2021S2/pe-interim#2305] [original labels: severity.Medium type.FeatureFlaw]

daniellau88 commented 3 years ago

Team's Response

The main purpose of CHIM is to help users manage their cheese inventory. For a home based cheese business that has just started, they might want to be able to enter past records (e.g. cheeses that has been sold) for book keeping purposes. Hence, we would allow cheeses to have expiry dates before today.

Duplicate status (if any):

--