diff --git a/myproject/inventory/templates/inventory/allocation/allocation_list.html b/myproject/inventory/templates/inventory/allocation/allocation_list.html index f7d64f3..f7ab729 100644 --- a/myproject/inventory/templates/inventory/allocation/allocation_list.html +++ b/myproject/inventory/templates/inventory/allocation/allocation_list.html @@ -1,5 +1,6 @@ -{% extends 'inventory/base_inventory.html' %} +{% extends 'inventory/base_inventory_minimal.html' %} {% load inventory_filters %} {% block inventory_title %}Распределение продаж{% endblock %} +{% block breadcrumb_current %}Распределение продаж{% endblock %} {% block inventory_content %}
| Продажа | Товар | Партия | Кол-во | Цена | Дата |
|---|---|---|---|---|---|
| #{{ a.sale.id }} | {{ a.sale.product.name }} | #{{ a.batch.id }} | {{ a.quantity|smart_quantity }} | {{ a.cost_price }} | {{ a.sale.date|date:"d.m.Y" }} |
| Товар: | {{ batch.product.name }} |
|---|---|
| Склад: | {{ batch.warehouse.name }} |
| Количество: | {{ batch.quantity|smart_quantity }} шт |
| Цена закупки: | {{ batch.cost_price }} руб. |
| Создана: | {{ batch.created_at|date:"d.m.Y H:i" }} |
| Статус: | {% if batch.is_active %}Активна{% else %}Неактивна{% endif %} |
| Товар | Изменение | Причина | Дата |
|---|---|---|---|
| {{ m.product.name }} | {% if m.change > 0 %}+{{ m.change }}{% else %}{{ m.change }}{% endif %} | {{ m.get_reason_display }} | {{ m.created_at|date:"d.m.Y H:i" }} |
| Товар: | {{ stock.product.name }} |
|---|---|
| Склад: | {{ stock.warehouse.name }} |
| Доступно: | {{ stock.quantity_available|smart_quantity }} шт |
| Зарезервировано: | {{ stock.quantity_reserved|smart_quantity }} шт |
| Свободно: | {{ stock.quantity_free|smart_quantity }} шт |
| Последнее обновление: | {{ stock.updated_at|date:"d.m.Y H:i" }} |
| Товар | Склад | Доступно | Зарезервировано | Свободно | Последний обновления |
|---|---|---|---|---|---|
| {{ stock.product.name }} | {{ stock.warehouse.name }} | {{ stock.quantity_available|smart_quantity }} | {{ stock.quantity_reserved|smart_quantity }} | {{ stock.quantity_free|smart_quantity }} | {{ stock.updated_at|date:"d.m.Y H:i" }} |