{% extends '@AdminLTE/layout/mesodd-layout.html.twig' %} {% block page_title %} {% if is_granted('ROLE_FOCAL') and app.user.commune %} Soumission du PTA {% else %} {% trans %}validate.title{% endtrans %} {% endif %} {% endblock %} {% block page_content %} {{ form_start(form) }} {% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %} {% if is_granted('ROLE_MANAGER') or is_granted('ROLE_DDD') %} {% if is_granted('ROLE_MANAGER') %} {{ form_row(form.type) }} {% endif %} {{ form_row(form.entite) }} {% endif %} {{ form_row(form.programm) }} {{ form_row(form.action) }} {% endblock %} {% endembed %} {{ form_end(form) }} {% if action %} {% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %}
| {% trans %}basics.code{% endtrans %} | {% trans %}basics.name{% endtrans %} | {% trans %}basics.direction{% endtrans %} | {% trans %}basics.amount{% endtrans %} | {% for activity in activities %} |
|---|---|---|---|---|
| {{ activity.code }} | {{ activity.name }} | {{ activity.direction.name }} | {{ activity.amount }} |