1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 21:40:34 +02:00

Tournament.amount => Tournament.price

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-02-26 23:49:57 +01:00
parent de22a12e85
commit 0c45a88246
3 changed files with 5 additions and 5 deletions

View File

@ -247,7 +247,7 @@ class TeamDetailView(LoginRequiredMixin, FormMixin, ProcessFormView, DetailView)
domain = Site.objects.first().domain
for registration in self.object.participants.all():
if registration.is_student and self.object.participation.tournament.amount:
if registration.is_student and self.object.participation.tournament.price:
payment = Payment.objects.get(registrations=registration, final=False)
else:
payment = None