mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2024-12-25 00:42:23 +00:00
Fix minimum amount for the send_mail_to_negative_balances script
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
0c7070aea1
commit
1e9d731715
@ -27,7 +27,7 @@ class Command(BaseCommand):
|
||||
|
||||
if options['negative_amount'] == 0:
|
||||
# Don't log empty notes
|
||||
options['negative_amount'] = 0.01
|
||||
options['negative_amount'] = 1
|
||||
|
||||
notes = Note.objects.filter(
|
||||
Q(noteuser__user__memberships__date_end__gte=
|
||||
|
Loading…
Reference in New Issue
Block a user