{% extends 'base_stat.html.twig' %} {% import 'macros/macro.html.twig' as macro %} {% block title %} {{ parent() }} Statistiques des articles en location BE {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }}

Statistiques de CA sur les articles en location {{ type }}

ANNÉE N : {{ startN|date('d M Y') }} -> {{ endN|date('d M Y') }}
ANNÉE N-1 : {{ startN1|date('d M Y') }} -> {{ endN1|date('d M Y') }}
BENEF TOTAL = CA TOTAL - Prix Achat - Frais

{% for article in articles %} {% endfor %}
Sous-Famille Article Date création Qté total CA HT total BENEF total Qté Année N CA HT Année N Qté Année N-1 CA HT Année N-1 Prix achat Frais
{{ article.getCaption }}
{{ article.id}}
{{ article.createdAt|date('d/m/Y') }} {{ article.quantityTotal }} {{ article.caTotal|number_format(2, ',', ' ') }} € {% if article.purchasePrice %} {{ article.benefTotal|number_format(2, ',', ' ') }} € {% endif %} {{ article.quantityPeriod }} {% if article.caTotalPeriod != 0 %} {{ article.caTotalPeriod|number_format(2, ',', ' ') }} € {% endif %} {{ article.quantityPeriodMinus1 }} {% if article.caTotalPeriodMinus1 != 0 %} {{ article.caTotalPeriodMinus1|number_format(2, ',', ' ') }} € {% endif %} {% if article.purchasePrice %} {{ article.purchasePrice|number_format(2, ',', ' ') }} € {% endif %} {% if article.frais %} {{ article.frais }} € {% endif %}
{% endblock %} {% block modal %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}