]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 1 Dec 2021 13:53:12 +0000 (14:53 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 1 Dec 2021 13:53:12 +0000 (14:53 +0100)
lib/pdfannotator
teleforma/management/commands/teleforma-copy-students.py

index c6b953270e4e8a7d97853d7a784f8e6df9ed9c53..ce69eca18a6f5b8774215725fd6b42534f13412f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53
+Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f
index d18438ddf6e7b963b842d8aa4ac8c51c990a75bb..2501506bf58f6fd393f25e81bcbe2cb5e077ae94 100644 (file)
@@ -92,7 +92,7 @@ class Command(BaseCommand):
                 if date_paid:
                     if payments_to:
                         payment_to = payments_to[0]
-                        if date_paid != payment_to.date_paid and date_paid >= date_limit:
+                        if date_paid != payment_to.date_paid and date_paid >= self.date_limit:
                             payment_to.online_paid = payment.online_paid
                             payment_to.date_paid = payment.date_paid
                             payment_to.save()