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

{{ delivery.name }} {% include "includes/order_button.html" %}

{% include "includes/delivery_head.html" %}
{% if delivery.has_products %} {% include "includes/delivery_table.html" %} {% else %}

Mince, aucun produit n'est encore défini pour cette livraison !

{% if request.user and request.user.is_staff %}
Pour rajouter des produits, il faut d'abord télécharger le tableur avec les produits, le modifier localement sur votre machine puis  
{% with unique_id="import-products" %}{% include "includes/modal_import_products.html" %}{% endwith %}.
{% endif %} {% endif %}

{% endblock body %}