diff --git a/myproject/orders/templates/orders/order_detail.html b/myproject/orders/templates/orders/order_detail.html index 0ac4c74..ad3a307 100644 --- a/myproject/orders/templates/orders/order_detail.html +++ b/myproject/orders/templates/orders/order_detail.html @@ -15,6 +15,11 @@ {% else %} Не установлен {% endif %} + {% if order.is_returned %} + + Возвращен + + {% endif %}
@@ -127,6 +132,20 @@
Обновлен:
{{ order.updated_at|date:"d.m.Y H:i" }}
+ {% if order.modified_by %} +
+
Изменен:
+
+ {{ order.modified_by.get_short_name|default:order.modified_by.username }} +
+
+ {% endif %} + {% if order.is_draft and order.last_autosave_at %} +
+
Последнее автосохранение:
+
{{ order.last_autosave_at|date:"d.m.Y H:i" }}
+
+ {% endif %} @@ -220,6 +239,23 @@ {% endif %} + {% if order.needs_product_photo or order.needs_delivery_photo %} +
+
Требования к фото:
+
+ {% if order.needs_product_photo %} + + Фото товара + + {% endif %} + {% if order.needs_delivery_photo %} + + Фото вручения + + {% endif %} +
+
+ {% endif %} {% if order.special_instructions %}
Особые пожелания: