{% extends '@AdminLTE/layout/mesodd-layout.html.twig' %} {% set title = '' %} {% if is_granted('ROLE_MANAGER') %} {% set title = 'Sensibilité par ODD et par structure' %} {% elseif app.user.direction %} {% set title = 'Sensibilité par ODD du ministère' %} {% elseif app.user.commune %} {% set title = 'Sensibilité par ODD de la commune' %} {% elseif is_granted('ROLE_DDD') %} {% set title = 'Sensibilité par ODD et par commune' %} {% endif %} {% block page_title %}{{ title }}{% endblock %} {% block page_content %} {% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %} {{ form_start(form) }} {{ form_widget(form) }} {{ form_end(form) }} {% endblock %} {% endembed %} {% if goal %}
| Code | {% endif %}{{ type=='ministere' ? 'Ministère' : 'Commune' }} | {% endif %} {% if is_granted('ROLE_DDD') %}Commune | {% endif %}# Act. | Sensibilité | Appréciation | Montant | {% for row in datas['rows'] %}
|---|---|---|---|---|---|
| {{ row['code'] }} | {% endif %} {% if is_granted('ROLE_MANAGER') or is_granted('ROLE_DDD') %}{{ row['name'] }} | {% endif %}{{ row['nbActivity'] }} |
|
{{ row['appreciation'] }} | {{ row['amount']|number_format(0, ',', ' ') }} |