{% extends "kfet/base_col_2.html" %} {% block title %}Commande #{{ order.pk }}{% endblock %} {% block header-title %}Commande #{{ order.pk }}{% endblock %} {% block fixed %} {% if not order.inventory %}
Générer inventaire
{% endif %} {% endblock %} {% block main %}

Détails

{% for orderart in orderarts %} {% ifchanged orderart.article.category %} {% endifchanged %} {% endfor %}
Article Commandé Commandé (#box) Reçu
{{ orderart.article.category.name }}
{{ orderart.article.name }} {{ orderart.quantity_ordered }} {% if orderart.article.box_capacity %} {# c'est une division ! #} {% widthratio orderart.quantity_ordered orderart.article.box_capacity 1 %} {% endif %} {{ orderart.quantity_received|default_if_none:'' }}

Mail

{% endblock %}