diff --git a/myproject/inventory/templates/inventory/inventory/inventory_detail.html b/myproject/inventory/templates/inventory/inventory/inventory_detail.html index ab3232d..99826a3 100644 --- a/myproject/inventory/templates/inventory/inventory/inventory_detail.html +++ b/myproject/inventory/templates/inventory/inventory/inventory_detail.html @@ -19,52 +19,76 @@
+
-
Информация
- - {% if inventory.document_number %} - - - - - {% endif %} - - - - - - - - - - - - - {% if inventory.conducted_by %} - - - - - {% endif %} -
Номер документа:{{ inventory.document_number }}
Склад:{{ inventory.warehouse.name }}
Статус: - {% if inventory.status == 'draft' %} - - Черновик - - {% elif inventory.status == 'processing' %} - - В обработке - - {% else %} - - Завершена - - {% endif %} -
Дата:{{ inventory.date|date:"d.m.Y H:i" }}
Провёл:{{ inventory.conducted_by }}
+ +
+ + {% if inventory.document_number %} + + + + + {% endif %} + + + + + + + + + + + + + {% if inventory.conducted_by %} + + + + + {% endif %} +
Номер документа:{{ inventory.document_number }}
Склад:{{ inventory.warehouse.name }}
Статус: + {% if inventory.status == 'draft' %} + + Черновик + + {% elif inventory.status == 'processing' %} + + В обработке + + {% else %} + + Завершена + + {% endif %} +
Дата:{{ inventory.date|date:"d.m.Y H:i" }}
Провёл:{{ inventory.conducted_by }}
+
+ + {% if inventory.status == 'completed' %}