{% extends '@kohinos/common/layout.html.twig' %} {% block content %}

{{ "Modifier mes informations"|trans }} :

{{ form_start(form) }} {{ form_row(form.user) }} {{ form_row(form.geoloc) }} {{ form_row(form.groupe) }} {% if form.householdSize is defined %} {{ form_row(form.householdSize) }} {% endif %} {{ form_row(form.save) }} {{ form_end(form) }}

{% set allow_mlc = (KOH_ALLOW_MLC is defined and KOH_ALLOW_MLC|default('false') == 'true') %} {% set allow_ssa = (KOH_ALLOW_SSA is defined and KOH_ALLOW_SSA|default('false') == 'true') %} {# Affichage du compte MLC #} {% if allow_mlc and app.user.adherent is not null and app.user.adherent.emlcAccount.balance >= 0 %}

{{ "Mon ecompte"|trans }} :

  • {{(app.user.adherent.emlcAccount.balance)|number_format(2, '.', ',')}}
{% endif %} {# Affichage des comptes SSA #} {% if allow_ssa and app.user.adherent is not null %} {% set ssas = getAllSsa() %} {% for ssa in ssas %} {% if app.user.adherent.ssaEmlcAccount(ssa) != null and app.user.adherent.ssaEmlcAccount(ssa).balance > 0 %}

{{ "Solde %name%"|trans({'%name%': ssa.name}) }} :

  • {{(app.user.adherent.ssaEmlcAccount(ssa).balance)|number_format(2, '.', ',')}}
{% endif %} {% endfor %} {% endif %}
{% endblock %}