X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbc646e3eb996cb0134b6166be3055dbb642e1ca..ba83b8311a93602de7f733c9a9e183e3ebbb006c:/src/club/management/commands/send_receipts.py?ds=sidebyside 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()