Open nus-pe-bot opened 18 hours ago
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.
--
Bug Description
Able to add pill with expiry date before present date with no exception message
Actual output:
Expected output:
Pill added has expired! Please enter a new pill.
[original: nus-cs2113-AY2425S1/pe-interim#694] [original labels: severity.Low type.FunctionalityBug]