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:
@ -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>
|
||||
|
Reference in New Issue
Block a user