mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-10-30 06:49:50 +01: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:
		| @@ -27,7 +27,7 @@ class Command(BaseCommand): | |||||||
|  |  | ||||||
|         if options['negative_amount'] == 0: |         if options['negative_amount'] == 0: | ||||||
|             # Don't log empty notes |             # Don't log empty notes | ||||||
|             options['negative_amount'] = 0.01 |             options['negative_amount'] = 1 | ||||||
|  |  | ||||||
|         notes = Note.objects.filter( |         notes = Note.objects.filter( | ||||||
|             Q(noteuser__user__memberships__date_end__gte= |             Q(noteuser__user__memberships__date_end__gte= | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user