Moving away from getpaid for now.
[wolnelektury.git] / src / club / management / commands / send_receipts.py
index 69cc2f9..acf8bc4 100644 (file)
@@ -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()