{% extends 'base.html' %} {% block content %}
| Склад | Поступление | Сделка | Наименование | Тип | Кол-во | Ед. измерения | ДО | Действия |
|---|---|---|---|---|---|---|---|---|
| {{ it.location }} | {% if it.created_at %}{{ it.created_at|date:"d.m.Y H:i" }}{% endif %} | {% if it.deal_id %} {{ it.deal.number }} {% else %} — {% endif %} |
{% if it.material_id %}
{{ it.material.full_name }}
{% elif it.entity_id %}
{{ it.entity }}
{% else %}
—
{% endif %}
{% if it.unique_id %}
{{ it.unique_id }}
{% endif %}
|
{% if it.entity_id %} Изделие/деталь {% elif it.is_remnant %} ДО {% else %} Сырьё {% endif %} | {{ it.quantity }} | {% if it.entity_id %} шт {% elif it.material_id and it.material.category_id %} {% with ff=it.material.category.form_factor|stringformat:"s"|lower %} {% if ff == 'лист' or ff == 'sheet' %}лист {% elif ff == 'прокат' or ff == 'rolled' or ff == 'roll' %}прокат {% else %}ед. {% endif %} {% endwith %} {% else %} ед. {% endif %} | {% if it.is_remnant %}Да{% else %}—{% endif %} |
{% if can_transfer %}
|
| Нет позиций по текущим фильтрам | ||||||||