{% extends '@AdminLTE/layout/mesodd-layout.html.twig' %} {% block page_title %}{% trans %}output.direction.title{% endtrans %}{% 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 datas['rows'] %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : datas["header"]["flag"], 'icon' : 'fas fa-map-signs', }%} {% block box_text %}Nombre d'activités{% endblock %} {% block box_number %}{{ datas['header']['nbActivity'] }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : datas["header"]["flag"], 'icon' : 'fas fa-chart-line', }%} {% block box_text %}Sensibilité globale{% endblock %} {% block box_number %}{{ datas['header']['sensitivity'] }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : datas["header"]["flag"], 'icon' : 'fas fa-exclamation', }%} {% block box_text %}Appréciation globale{% endblock %} {% block box_number %}{{ datas['header']['appreciation'] }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : datas["header"]["flag"], 'icon' : 'fas fa-hryvnia', }%} {% block box_text %}Montant global{% endblock %} {% block box_number %}{{ datas['header']['amount']|number_format(0, ',', ' ') }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body %} {% for row in datas['rows'] %} {% endfor %}
Direction Ministère # Act. Sensibilité Appréciation Montant
{{ row['name'] }} ({{ row['code'] }}) {{ row['ministry'] }} {{ row['nbActivity'] }}
{{ row['sensitivity'] }}%
{{ row['appreciation'] }} {{ row['amount']|number_format(0, ',', ' ') }}
{% endblock %} {% block box_footer %}
{% endblock %} {% endembed %} {% endif %} {% endblock %} {% block javascripts %} {% endblock %} {% block stylesheets %} {% endblock %}