X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbc646e3eb996cb0134b6166be3055dbb642e1ca..c6537f136f4ec0230f5e7c71dd1abf9616151a47:/src/club/management/commands/send_receipts.py?ds=inline diff --git a/src/club/management/commands/send_receipts.py b/src/club/management/commands/send_receipts.py index 69cc2f98c..acf8bc417 100644 --- a/src/club/management/commands/send_receipts.py +++ b/src/club/management/commands/send_receipts.py @@ -39,7 +39,7 @@ class Command(BaseCommand): ) emails.update( Funding.objects.exclude(email='').filter( - payed_at__year=year + completed_at__year=year ).order_by('email').values_list( 'email', flat=True ).distinct()