{% extends '@AdminLTE/layout/mesodd-layout.html.twig' %} {% block page_title %}{% trans %}dashboard.title{% endtrans %} MesODD {% if ministry %} - {{ministry.name}} {% endif %} {% if departement %} - {{departement.name}} {% endif %} {% if commune %} - {{commune.name}} {% endif %} {% endblock %} {% block page_content %} {% if is_granted('ROLE_MANAGER') or is_granted('ROLE_DDD') %}
{{ form_start(form) }}
{% if is_granted('ROLE_MANAGER') %}
{{ form_label(form.type, null, {'label_attr': {'class': 'col-sm-12'}}) }} {{ form_widget(form.type) }}
{{ form_label(form.entite, null, {'label_attr': {'class': 'col-sm-12'}}) }} {{ form_widget(form.entite) }}
{% else %}
{{ form_label(form.entite, null, {'label_attr': {'class': 'col-sm-12'}}) }} {{ form_widget(form.entite) }}
{% endif %}
{{ form_end(form) }}
{% endif %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : 'info', 'icon' : 'fas fa-cog', }%} {% block box_text %}Programmes{% endblock %} {% block box_number %}{{ totalProgramm }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : 'danger', 'icon' : 'fas fa-thumbs-up', }%} {% block box_text %}Actions{% endblock %} {% block box_number %}{{ totalAction }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : 'success', 'icon' : 'fas fa-shopping-cart', }%} {% block box_text %}Activités{% endblock %} {% block box_number %}{{ nbActivityTotal }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/infobox-widget.html.twig' with { 'color' : 'warning', 'icon' : 'fas fa-users', }%} {% block box_text %}Montant{% endblock %} {% block box_number %}{{ amount|number_format(0, ',', ' ') }}{% endblock %} {% block progress_description %}{% endblock %} {% endembed %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_title %} {% endblock %} {% block box_tools %}{% endblock %} {% block box_body %}

Sensibilité par ODD

Natures d’activités

Actions {{ totalActionTreated }}/{{ totalAction }}
Activités {{ nbActivityTreated }}/{{ nbActivityTotal }}
{% endblock %} {% block box_footer %}
{% for nature in natures %}
{{ nature.name }}
{{ nature.amount|number_format(0, ',', ' ') }} F
{% if amount %} {{ (nature.amount / amount * 100)|number_format(2, ',', ' ') }}% {% endif %}
{% endfor %}
{% endblock %} {% endembed %} {% endblock %} {% block javascripts %} {% endblock %}