{% extends 'base_emine.html.twig' %} {% block title %} {{parent()}}-Tableau de bord-Consommations Intrants {% endblock %} {% block content %} {% set mois1 = { '01': 'janvier', '02': 'février', '03': 'mars', '04': 'avril', '05': 'mais', '06': 'juin', '07': 'juillet', '08': 'août', '09': 'septembre', '10': 'octobre', '11': 'novembre', '12': 'décembre' } %} {% set mois2 = mois1[mois] %}

Dashboard des la consommation des intrants {% if intrant is not null %}({{intrant.nom}}){% endif %}

Evolution mensuelle de la consommation de l'intrant {% if intrant is not null %}({{intrant.nom}}){% endif %} en {{dateAnnnee|date('Y')}}

Evolution trimestrielle de la consommation de l'intrant {% if intrant is not null %}({{intrant.nom}}){% endif %} en {{dateAnnnee|date('Y')}}

Evolution semestrielle de la consommation de l'intrant {% if intrant is not null %}({{intrant.nom}}){% endif %} en {{dateAnnnee|date('Y')}}

Evolution annuelle de la consommation de l'intrant {% if intrant is not null %}({{intrant.nom}}){% endif %}

15 premiers consommateurs de l'intrant {% if intrant is not null %}({{intrant.nom}}){% endif %} {{dateAnnnee|date('Y')}}

{% set compter = 0 %} {% set total = 0 %} {% for item in producteurs %} {% set total = total + item.quantite %} {% endfor %} {% for proprietaire_reel in producteurs %} {% set compter = compter + 1 %} {% else %} {% endfor %}
OPERATEUR PROJET CENTRE QUANTITé POURCENTAGE ACCIDENT
{{ compter }} {{ proprietaire_reel.operateur }} {{ proprietaire_reel.projet }} {{ proprietaire_reel.centre }} {{ proprietaire_reel.quantite}} L {{((proprietaire_reel.quantite / total) * 100)|round(2, 'floor')}} %
Aucune information dans la base de données.
{% endblock %} {% block javascripts %} {{parent()}} {% endblock %}