nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Adding of expired pill #737

Open nus-pe-bot opened 18 hours ago

nus-pe-bot commented 18 hours ago

Bug Description

Able to add pill with expiry date before present date with no exception message

Actual output:

image.png

Expected output:

Pill added has expired! Please enter a new pill.


[original: nus-cs2113-AY2425S1/pe-interim#694] [original labels: severity.Low type.FunctionalityBug]

cxc0418 commented 2 hours ago

Team's Response

Thank you for highlighting the issue. The PILL (Pharmacy Inventory & Logistics Ledger) system is designed to be able to store items with various attributes. Even if the item has expired already, it still can be stored in the inventory.

Duplicate status (if any):

--