{% extends '@kohinos/block/onetransaction.html.twig' %} {# DISABLE ALL TRANSACTIONS IF USER HAS NO COTISATION VALID #} {# {% block blocktoggle %}{% if isCotisationValid(app.user) %}collapse{% endif %}{% endblock blocktoggle %} #} {# Cotisation obligatoire pour les prestataires #} {% set cotisation_required = KOH_ALLOW_COTISATION|default('false') == 'true' and KOH_COTISATION_PRESTATAIRE_MANDATORY|default('false') == 'true' and false == isCotisationValid(app.user) %} {% block blocktitle %} {{ 'Reconversion'|trans }} {% endblock blocktitle %} {% block blockcontent %} {% if not cotisation_required %}

{{'Solde de votre compte'|trans}} : {{ getCurrentPrestataire().emlcAccount.balance }}
{% if KOH_RECONVERSION_PRESTATAIRE is defined and KOH_RECONVERSION_PRESTATAIRE != '0' and KOH_RECONVERSION_PRESTATAIRE is not empty %} {{'Taux de reconversion'|trans}} : {{ getCurrentPrestataire().tauxreconversion ? getCurrentPrestataire().tauxreconversion : KOH_RECONVERSION_PRESTATAIRE}}% {% endif %}

{% set form = getReconversionForm(app.user) %} {{ form_start(form) }} {% if form.montant is defined %} {{ form_row(form.montant, { 'label': 'Montant à reconvertir : ' }) }} {% endif %} {% if form.reference is defined %} {{ form_row(form.reference) }} {% endif %} {{ form_end(form) }} {% else %}

Votre cotisation doit être renouvelėe avant de pouvoir faire cette opération !

{% endif %} {% endblock blockcontent %}