{% extends 'page_simulateur.html.twig' %} {% block title %}Choix des critères{% endblock %} {% block style %} {% endblock %} {% block navAction %} Retour {% endblock %} {% block _beneficiaires_criteres_entry_widget %}
{{ form_widget(form.roles) }} X
{% if form.dateNaissance is defined %} {{ form_widget(form.dateNaissance) }} {% endif %} {% if form.codePostal is defined %} {{ form_widget(form.codePostal) }} {% endif %} {{ form_widget(form.criteresAvecValeur) }} {{ form_widget(form.variables) }}
{% endblock %} {% form_theme form _self %} {% block page %}
{{ form_start(form, {'isAjax' : true }) }}
{{ form_widget(form.dateEffet, {'label' : 'Date d\'effet'}) }}
Ajouter un bénéficiaire
{{ form_widget(form.submit) }}
{{ form_widget(form) }} {{ form_end(form) }}
{#
{% if packages|length > 0 %} {% for package in packages %} {{ package.libelle }} {% for key, resultat in resultatsPackages[package.id] %} {% if composantsPackages[package.id][key].idTypeComposant != 'Tarificateur' %}

{{ resultat.getResultatTotal() }}€

{% set coutTotal = coutTotal + resultat.getResultatTotal() %} {% endif %} {% endfor %}
{{ coutTotal }}€
{% endfor %} {% endif %}
#}
{% endblock %}