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

Don't restrict BomItem form to active parts for editing

This commit is contained in:
Oliver Walters
2019-06-28 10:20:37 +10:00
parent b6a6e2dae7
commit 60050e9f32
2 changed files with 7 additions and 34 deletions

View File

@@ -107,6 +107,7 @@
<td>In Stock</td>
<td>{{ part.total_stock }}</td>
</tr>
{% if not part.is_template %}
{% if part.allocation_count > 0 %}
<tr>
<td>Allocated</td>
@@ -119,10 +120,12 @@
<td>{{ part.on_order }}</td>
</tr>
{% endif %}
{% endif %}
<tr>
<td><b>Total Available</b></td>
<td><b>{{ part.net_stock }}</b></td>
</tr>
{% if not part.is_template %}
{% if part.assembly %}
<tr>
<td colspan='2'>
@@ -139,6 +142,7 @@
<td>{{ part.quantity_being_built }}</td>
</tr>
{% endif %}
{% endif %}
{% endif %}
</table>
</div>