diff --git a/myproject/orders/templates/orders/order_list.html b/myproject/orders/templates/orders/order_list.html index 4ea9b43..820fc36 100644 --- a/myproject/orders/templates/orders/order_list.html +++ b/myproject/orders/templates/orders/order_list.html @@ -91,13 +91,12 @@ Номер - Клиент - Дата доставки + Дата + Время Тип Статус Сумма Оплата - Создан Действия @@ -109,17 +108,20 @@ {{ order.order_number }} - {{ order.customer.name }} {% if order.delivery_date %} {{ order.delivery_date|date:"d.m.Y" }} - {% if order.delivery_time_start %} -
{{ order.delivery_time_window }} - {% endif %} {% else %} Не указано {% endif %} + + {% if order.delivery_time_start %} + {{ order.delivery_time_window }} + {% else %} + + {% endif %} + {% if order.is_delivery %} Доставка @@ -156,7 +158,6 @@ Не оплачен {% endif %} - {{ order.created_at|date:"d.m.Y H:i" }}