{% extends './base.html.twig' %} {% block title %}{{ page_title }}{% endblock %} {% block nav %} {% embed 'nav.html.twig' %}{% endembed %} {% endblock %} {% block body %}

Toutes les Commandes

{% for order in orders %} {% endfor %}
Utilisateur Date de la commande Montant Communication Structurée Payée
{{ order.id }} {{ order.user.fname }} {{ order.user.lname }} {{ order.orderTime|date('d-m-Y') }} {{ order.totalAmount|number_format(2, '.', ',') }} € {{ order.structuredCommunication }} {% if order.paid %} Payée {% else %} Non Payée {% endif %}
{% endblock %} {% block bodyScript %} {{ encore_entry_script_tags('admin') }} {# Insertion du fichier JS compilé par Webpack #} {% endblock %}