Выводим размеры сырья на складах
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s
This commit is contained in:
@@ -110,6 +110,11 @@
|
|||||||
<td>
|
<td>
|
||||||
{% if it.material_id %}
|
{% if it.material_id %}
|
||||||
{{ it.material.full_name }}
|
{{ it.material.full_name }}
|
||||||
|
{% if it.current_length and it.current_width %}
|
||||||
|
<div class="small text-muted mt-1">({{ it.current_length|floatformat:"-g" }}×{{ it.current_width|floatformat:"-g" }} мм)</div>
|
||||||
|
{% elif it.current_length %}
|
||||||
|
<div class="small text-muted mt-1">({{ it.current_length|floatformat:"-g" }} мм)</div>
|
||||||
|
{% endif %}
|
||||||
{% elif it.entity_id %}
|
{% elif it.entity_id %}
|
||||||
{{ it.entity }}
|
{{ it.entity }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user