2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-28 01:30:47 +00:00

Add 'to_order' and 'to_build' collapsible panels

This commit is contained in:
Oliver Walters
2019-05-02 20:18:34 +10:00
parent 4d7ac870e0
commit 38100520df
8 changed files with 90 additions and 6 deletions

View File

@ -0,0 +1,18 @@
<table class='table table-striped table-condensed' id='{{ table_id }}'>
<tr>
<th>Part</th>
<th>Description</th>
<th>In Stock</th>
<th>Allocated</th>
<th>Net Stock</th>
</tr>
{% for part in parts %}
<tr>
<td><a href="{% url 'part-detail' part.id %}">{{ part.name }}</a></td>
<td>{{ part.description }}</td>
<td>{{ part.total_stock }}</td>
<td>{{ part.allocation_count }}</td>
<td>{{ part.available_stock }}</td>
</tr>
{% endfor %}
</table>