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

index 1e1f4f5825cec6aec9d4c3dfda8c27cf56b5ffd4..7c897c0dfbf754948b4a0ab2244fefde80541137 100644 (file)
@@ -93,7 +93,7 @@ class Command(BaseCommand):
                     if payments_to:
                         payment_to = payments_to[0]
                         payment_to.online_paid = payment.online_paid
-                        payement_to.date_paid = payment.date_paid
+                        payment_to.date_paid = payment.date_paid
                         payments_to.save()
                         self.logger.logger.info('payment updated: ' + student.user.username + \
                                  ', mois:' + str(month) + \