mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 07:18:25 +02:00
Restore payment edit form for volunteers
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -134,7 +134,7 @@
|
||||
</dt>
|
||||
<dd class="col-sm-6">
|
||||
Valide : {{ payment.valid|yesno }}
|
||||
{% if payment.valid is False %}
|
||||
{% if payment.valid is False or user.registration.is_volunteer %}
|
||||
{% if user.registration in payment.registrations.all or user.registration.is_coach or user.registration.is_volunteer %}
|
||||
<a href="{% url "registration:update_payment" pk=payment.pk %}" class="btn btn-secondary">
|
||||
<i class="fas fa-money-bill-wave"></i> {% trans "Update payment" %}
|
||||
|
Reference in New Issue
Block a user