enforce max amount on sith account

This commit is contained in:
imperosol
2026-06-07 14:16:12 +02:00
parent 1957aa1fdb
commit f6f31af975
4 changed files with 92 additions and 11 deletions
+2
View File
@@ -503,6 +503,8 @@ SITH_ACCOUNT_INACTIVITY_DELTA = relativedelta(years=2)
SITH_ACCOUNT_DUMP_DELTA = timedelta(days=30)
"""timedelta between the warning mail and the actual account dump"""
SITH_ACCOUNT_MAX_MONEY = 250 # €
# Defines which product type is the refilling type,
# and thus increases the account amount
SITH_COUNTER_PRODUCTTYPE_REFILLING = env.int(