{% extends 'base.html' %} {% block content %}
| Позиция | Прогресс | Заказано / Сделано / В плане | Осталось | Действия |
|---|---|---|---|---|
|
{{ it.entity.drawing_number|default:"—" }} {{ it.entity.name }}
{{ it.entity.get_entity_type_display }}
|
|
{{ it.quantity }} / {{ it.done_qty }} / {{ it.planned_qty }} | {{ it.remaining_qty }} |
{% if user_role in 'admin,technologist,manager,prod_head' %}
{% else %}
{% endif %}
|
| Пока нет позиций | ||||
| Отгрузка | Партия | Запущено | Состав партии | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ b.due_date|date:"d.m.Y" }} | {{ b.name|default:"—" }} {% if b.is_default %} по умолчанию {% endif %} |
{{ b.total_started }} / {{ b.total_qty }} (осталось {{ b.total_remaining }})
|
{% if b.items_list %}
Пусто
{% endif %}
{% for bi in b.items_list %}
{% if user_role in 'admin,technologist' and bi.started_qty and bi.started_qty > 0 %}
{% endif %}
{% endfor %}
|
{% if user_role in 'admin,technologist' and not b.is_default %} {% endif %} | ||||||||||||||||
| Партий пока нет | ||||||||||||||||||||