Better display of stock availability

This commit is contained in:
Oliver Walters 2019-07-10 14:50:21 +10:00
parent d6750652f0
commit 3e9288b26d

View File

@ -99,9 +99,10 @@
<div class="col-sm-6">
<table class="table table-striped">
<tr>
<td colspan='2'>
<h4>Stock Status</h4>
<td>
<h4>Available Stock</h4>
</td>
<td><h4>{{ part.net_stock }} {{ part.units }}</h4></td>
</tr>
<tr>
<td>In Stock</td>
@ -121,15 +122,11 @@
</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'>
<h4>Build Status</h4>
<b>Build Status</b>
</td>
</tr>
<tr>