{% verbatim %}
test stuff: {{ stuff[0] }}.
compte: {{ stuff.length }}.
{{productsFromDB.length}}
{% endverbatim %}
{% for c in categories %}
{{ c.name }}
{% for p in c.products %}
{% endfor %}
{% endfor %}
Ventes récentes
{% if recentSells %}
{% for s in recentSells %}
- {{ s.date|date('Y/m/d H:i:s') }} {{ s.amount }}€
{% endfor %}
{% else %}
aucune
{% endif %}