Required quantity display (#7938)

* Add "required" badge to PUI part detail page

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

No files matched your search

@@ -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>