{% extends "base.html" %} {% block body %}

{{ delivery.name }} — Commande de « {{ person.email }} »

{% include "includes/delivery_head.html" %}
{% if delivery.has_multiple_producers %} {% endif %} {% if delivery.has_packing %} {% endif %} {% if delivery.status == delivery.ADJUSTMENT or order.has_adjustments %} {% endif %} {% for product in delivery.products %} {% if delivery.has_multiple_producers and (loop.first or loop.previtem.producer != product.producer) %} {% endif %} {% if delivery.has_packing %} {% endif %} {% if delivery.status == delivery.ADJUSTMENT or order.has_adjustments %} {% endif %} {% endfor %}
ProducteurProduit PrixConditionnementCommandeAjustement +/−
{{ product.producer }}{{ product }} {% if product.description or product.img %} {% with unique_id=loop.index %} {% include "includes/modal_product.html" %} {% endwith %} {% endif %} {{ product.price | round(2) }} €{{ product.packing or "—" }}{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (−{{ delivery.product_missing(product) }}){% endif %}

Total: {{ order.total(delivery.products) if order else 0 }} €

{% if delivery.is_passed %}

Commande soldée:

{% endif %} {% if delivery.status != delivery.CLOSED or request.user.is_staff %} {% endif %} Envoyer par courriel
{% endblock body %}