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