{% verbatim %}
test stuff: {{ stuff[0] }}.
compte: {{ stuff.length }}.
{{productsFromDB.length}}
{% endverbatim %}
{% for c in categories %}

{{ c.name }}

{% for p in c.products %} {% endfor %} {% endfor %}
    {% verbatim %}
  • {{p.name}} x1 {{p.price}}€

Total: {{CurrentSellingTotal}}€

{% endverbatim %}

Rendu: xxxx€


Ventes en pause

  • h:m:s xxxx€

Ventes récentes

{% if recentSells %}
    {% for s in recentSells %}
  • {{ s.date|date('Y/m/d H:i:s') }} {{ s.amount }}€
  • {% endfor %}
{% else %} aucune {% endif %}