2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Required quantity display (#7938)

* Add "required" badge to PUI part detail page

* Add "required for orders" to CUI
This commit is contained in:
Oliver
2024-08-21 10:00:52 +10:00
committed by GitHub
parent 8c6275b845
commit 9239c82113
3 changed files with 30 additions and 1 deletions

View File

@ -211,6 +211,13 @@
<td>{% decimal on_order %} {% include "part/part_units.html" %}</td>
</tr>
{% endif %}
{% if required > 0 %}
<tr>
<td><span class='fas fa-clipboard-check'></span></td>
<td>{% trans "Required for Orders" %}</td>
<td>{% decimal required %}</td>
</tr>
{% endif %}
{% if part.component %}
{% if required_build_order_quantity > 0 or allocated_build_order_quantity > 0 %}
<tr>