diff --git a/kfet/templates/kfet/order_read.html b/kfet/templates/kfet/order_read.html index beffd359..26bdbbdc 100644 --- a/kfet/templates/kfet/order_read.html +++ b/kfet/templates/kfet/order_read.html @@ -5,10 +5,63 @@ {% block content %} -
-Créée le {{ order.at }} pour {{ order.supplier.name }} -
- - +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:'' }} + | +