Open JustSamuel opened 3 months ago
Bumped priority because of ticket #ABC-2409-448 and that I foresee more issues like this. Having fewer people in the minus might be a good start.
Not all users should be banned from purchasing when <-€20. Invoice users should not be disallowed from purchasing, also perhaps you want to distinguish: bought 2 meters of beer tonight and has never paid since they became a member and now is at -€20
What would you like?
When a user has a negative balance of > 20 they should be unable to buy anything until they top up. This can be combined with a warning / info message on both the POS and the Dashboard so that they don't go stealing.
Why is this needed?
No response
How could it be implemented?
Add an extra column to the user
defaulter
which if true acts likecanGoIntoDebt: false
but also allows us to notify the user.TODO
defaulter
columndefaulter
should be set to true if user has more than 20 euro negative balancedefaulters
are only allowed to topupdefaulter
statusRelated
#ABC-2409-448