TIENDAS | {% for column in statsTabSales["columns"] %} {% if column["year"] == "Total" %}{{ column["month"] }} | {% else %}{{ column["month_es"] }} - {{ column["year"]}} | {% endif %} {% endfor %}
---|---|---|
{{ row }} | {% for keyColumn, column in statsTabSales["columns"] %} {% if keyColumn == "Total" %} {{ statsTabSales["data"][keyRow][keyColumn]["units"] }} {% if statsTabSales["data"][keyRow][keyColumn]["total"] %} {{ statsTabSales["data"][keyRow][keyColumn]["total"] }} € {% endif %} |
{% else %}
{{ statsTabSales["data"][keyRow][keyColumn]["units"] }} {% if statsTabSales["data"][keyRow][keyColumn]["total"] %} {{ statsTabSales["data"][keyRow][keyColumn]["total"] }} € {% endif %} |
{% endif %}
{% endfor %}
TOTAL | {% for column in statsTabSales["columns"] %}
{{ column["units"] }} {% if column["total"] %}{{ column["total"] }} €{% endif %} |
{% endfor %}