GEWIS / sudosos-backend

SudoSOS is a Node.js-based Bar and POS system made for study association GEWIS.
https://sudosos.gewis.nl
GNU Affero General Public License v3.0
6 stars 3 forks source link

[Feature]: Soft-lock users with high fines #194

Open JustSamuel opened 3 months ago

JustSamuel commented 3 months ago

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 like canGoIntoDebt: false but also allows us to notify the user.

TODO

Related

#ABC-2409-448

JustSamuel commented 1 week 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.

rinkp commented 1 week ago

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