The bartender should immediately be notified when an item is running low
A warning should be given when there are less than five items left of a certain type
Notes
After every update of the quantities in the inventory (stock) make a check if the item is running low.
If so notify the bartender about that. Probably it's good to add a new model for that, e.g. to store which information was already shown and the status of the notification.
Requirement
The bartender should immediately be notified when an item is running low
Notes
After every update of the quantities in the inventory (stock) make a check if the item is running low. If so notify the bartender about that. Probably it's good to add a new model for that, e.g. to store which information was already shown and the status of the notification.