From: Guillaume Pellerin Date: Wed, 1 Dec 2021 13:53:12 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.5.1~25^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7784d69d2e4b0727540349b6659fac2c2fdc778e;p=teleforma.git bugfix --- diff --git a/lib/pdfannotator b/lib/pdfannotator index c6b95327..ce69eca1 160000 --- a/lib/pdfannotator +++ b/lib/pdfannotator @@ -1 +1 @@ -Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53 +Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f diff --git a/teleforma/management/commands/teleforma-copy-students.py b/teleforma/management/commands/teleforma-copy-students.py index d18438dd..2501506b 100644 --- a/teleforma/management/commands/teleforma-copy-students.py +++ b/teleforma/management/commands/teleforma-copy-students.py @@ -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()