2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 23:51:08 +00:00

Add function for required build order quantity

This commit is contained in:
Oliver Walters
2021-02-17 10:27:36 +11:00
parent d2c9f759b1
commit cda97829ab
2 changed files with 63 additions and 0 deletions

View File

@@ -127,6 +127,13 @@
<td>{% include "part/stock_count.html" %}</td>
</tr>
{% if not part.is_template %}
{% if part.required_build_order_quantity > 0 %}
<tr>
<td><span class='fas fa-hand-holding'></span></td>
<td>{% trans "Required for Build Orders" %}</td>
<td>{% decimal part.required_build_order_quantity %}</td>
</tr>
{% endif %}
{% if part.build_order_allocation_count > 0 %}
<tr>
<td><span class='fas fa-dolly'></span></td>