Improve display of stock location

This commit is contained in:
Oliver Walters 2019-09-20 00:03:59 +10:00
parent 5a9e5dea20
commit 6f54091354

View File

@ -32,6 +32,27 @@
</p> </p>
</div> </div>
<div class='col-sm-6'> <div class='col-sm-6'>
{% if location %}
<h3>Location Details</h3>
<table class='table table-striped table-condensed'>
<tr>
<td>Location Path</td>
<td>{{ location.pathstring }}</td>
</tr>
<tr>
<td>Location Description</td>
<td>{{ location.description }}</td>
</tr>
<tr>
<td>Sublocations</td>
<td>{{ location.children.count }}</td>
</tr>
<tr>
<td>Stock Items</td>
<td>{{ location.item_count }}</td>
</tr>
</table>
{% endif %}
</div> </div>
</h3> </h3>
</div> </div>