Выводим размеры сырья на складах
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s

This commit is contained in:
2026-04-13 08:14:57 +03:00
parent fa881877d7
commit ecc0193d0a

View File

@@ -110,6 +110,11 @@
<td>
{% if it.material_id %}
{{ 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 %}
{{ it.entity }}
{% else %}