Commit d54d8555 by Julien Jorry

Add erro message for presta in reconversion block if has cotisation ended

parent 38a0b9eb
{% extends '@kohinos/block/onetransaction.html.twig' %} {% extends '@kohinos/block/onetransaction.html.twig' %}
{# DISABLE ALL TRANSACTIONS IF USER HAS NO COTISATION VALID #} {# DISABLE ALL TRANSACTIONS IF USER HAS NO COTISATION VALID #}
{% block blocktoggle %}{% if isCotisationValid(app.user) %}collapse{% endif %}{% endblock blocktoggle %} {# {% block blocktoggle %}{% if isCotisationValid(app.user) %}collapse{% endif %}{% endblock blocktoggle %} #}
{% block blocktitle %} {% block blocktitle %}
<i class="fa fa-external-link fa-external-link-alt mr-4"></i> {{ 'Reconversion'|trans }} <i class="fa fa-external-link fa-external-link-alt mr-4"></i> {{ 'Reconversion'|trans }}
...@@ -22,5 +22,7 @@ ...@@ -22,5 +22,7 @@
{{ form_row(form.reference) }} {{ form_row(form.reference) }}
{% endif %} {% endif %}
{{ form_end(form) }} {{ form_end(form) }}
{% else %}
<p class='text-danger'>Votre cotisation dout être renouvelėe avant de pouvoir faire cette opération !</p>
{% endif %} {% endif %}
{% endblock blockcontent %} {% endblock blockcontent %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment