diff --git a/shiftflow/templates/shiftflow/item_detail.html b/shiftflow/templates/shiftflow/item_detail.html index 523ad3a..1be7a51 100644 --- a/shiftflow/templates/shiftflow/item_detail.html +++ b/shiftflow/templates/shiftflow/item_detail.html @@ -25,7 +25,15 @@
Станок - {{ item.machine.name }} + {% if user_role == 'master' %} + + {% else %} + {{ item.machine.name }} + {% endif %}
Материал diff --git a/shiftflow/templates/shiftflow/planning.html b/shiftflow/templates/shiftflow/planning.html index d6bdeec..7553ccb 100644 --- a/shiftflow/templates/shiftflow/planning.html +++ b/shiftflow/templates/shiftflow/planning.html @@ -4,7 +4,7 @@
-

Сделки

+

Сделки

Сделки:
diff --git a/shiftflow/templates/shiftflow/planning_deal.html b/shiftflow/templates/shiftflow/planning_deal.html index a6f910c..8dab548 100644 --- a/shiftflow/templates/shiftflow/planning_deal.html +++ b/shiftflow/templates/shiftflow/planning_deal.html @@ -34,10 +34,10 @@ Деталь Материал Размер - Надо - Сделано - В плане + Прогресс + Надо / Сделано / В плане Осталось + Файлы Действия @@ -47,10 +47,30 @@ {{ t.drawing_name|default:"Б/ч" }} {{ t.material.full_name|default:t.material.name }} {{ t.size_value }} - {{ t.quantity_ordered }} - {{ t.done_qty }} - {{ t.planned_qty }} + +
+
+
+
+ + + {{ t.quantity_ordered }} / + {{ t.done_qty }} / + {{ t.planned_qty }} + {{ t.remaining_qty }} + + {% if t.drawing_file %} + + + + {% endif %} + {% if t.extra_drawing %} + + + + {% endif %} +