Implement an Inventory System to backtrack drinks:
The main idea is to track, how many full and empty bottles and how many crates should be present.
This way it is possible to track down a missmatch between suspected and actual inventory.
E.g. if someone has forgotten to log buying new stock and returning deposit, or how many bottles are drunken without paying for them.
Could be implemented for every item, main need is for Spezi and Mate
To track:
- Full bottles
- Empty bottles
- Single/Empy crates
INTERN:
When a user buys a bottle via LabEats:
- One full bottle shall be declared empty.
EXTERN:
When someone buys stock from a local supermarket:
New function for buying stock:
-
User declares, how many crates and bottles he has bought.
-> could be connected to the item: E.g. 1 crate of Spezi == 1 empty crate + 20 full bottles
-
Bought crates and full bottles get added to the inventory.
-
User can declare, if he has returned empty crates/bottles
-
Crates and empty bottles get substracted from the inventory
-
User declares the amount of money paid, which is then transfered from the corresponding account.
-
Negative money could be paid too, if only empty crates/bottles were returned and the deposit was paid to the user.
Implement an Inventory System to backtrack drinks:
The main idea is to track, how many full and empty bottles and how many crates should be present.
This way it is possible to track down a missmatch between suspected and actual inventory.
E.g. if someone has forgotten to log buying new stock and returning deposit, or how many bottles are drunken without paying for them.
Could be implemented for every item, main need is for Spezi and Mate
To track:
INTERN:
When a user buys a bottle via LabEats:
EXTERN:
When someone buys stock from a local supermarket:
New function for buying stock:
User declares, how many crates and bottles he has bought.
-> could be connected to the item: E.g. 1 crate of Spezi == 1 empty crate + 20 full bottles
Bought crates and full bottles get added to the inventory.
User can declare, if he has returned empty crates/bottles
Crates and empty bottles get substracted from the inventory
User declares the amount of money paid, which is then transfered from the corresponding account.
Negative money could be paid too, if only empty crates/bottles were returned and the deposit was paid to the user.