1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-25 19:47:23 +02:00

Problème de membership fee

This commit is contained in:
Ehouarn
2025-05-29 23:15:33 +02:00
parent 70a57bf02d
commit 9eb6edb37d
2 changed files with 5 additions and 11 deletions

View File

@ -885,6 +885,7 @@ class WEIValidateRegistrationView(ProtectQuerysetMixin, ProtectedCreateView):
user=registration.user,
club=registration.wei,
date_start=registration.wei.date_start,
fee=registration.wei.membership_fee_paid if registration.user.profile.paid else registration.wei.membership_fee_unpaid,
# Add any fields needed for proper permission checking
registration=registration,
)