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

index c6b953270e4e8a7d97853d7a784f8e6df9ed9c53..ce69eca18a6f5b8774215725fd6b42534f13412f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53
+Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f
index 7c897c0dfbf754948b4a0ab2244fefde80541137..f4bae30b11bc26887fcc6c9f400ea0e4f07ddef0 100644 (file)
@@ -94,7 +94,7 @@ class Command(BaseCommand):
                         payment_to = payments_to[0]
                         payment_to.online_paid = payment.online_paid
                         payment_to.date_paid = payment.date_paid
-                        payments_to.save()
+                        payment_to.save()
                         self.logger.logger.info('payment updated: ' + student.user.username + \
                                  ', mois:' + str(month) + \
                                  ', date de création:' + str(date_created) + \