2019-05-02 10:18:34 +00:00
|
|
|
<table class='table table-striped table-condensed' id='{{ table_id }}'>
|
|
|
|
<tr>
|
|
|
|
<th>Part</th>
|
|
|
|
<th>Description</th>
|
2019-06-10 13:05:14 +00:00
|
|
|
<th>Required</th>
|
2019-05-02 10:18:34 +00:00
|
|
|
<th>In Stock</th>
|
2019-06-10 13:05:14 +00:00
|
|
|
<th>On Order</th>
|
2019-05-02 10:18:34 +00:00
|
|
|
<th>Net Stock</th>
|
|
|
|
</tr>
|
|
|
|
{% for part in parts %}
|
|
|
|
<tr>
|
2019-06-11 11:52:43 +00:00
|
|
|
<td>
|
|
|
|
{% include "hover_image.html" with image=part.image hover=True %}
|
|
|
|
<a href="{% url 'part-detail' part.id %}">{{ part.full_name }}</a>
|
|
|
|
</td>
|
2019-05-02 10:18:34 +00:00
|
|
|
<td>{{ part.description }}</td>
|
|
|
|
<td>{{ part.allocation_count }}</td>
|
2019-06-10 13:05:14 +00:00
|
|
|
<td>{{ part.total_stock }}</td>
|
|
|
|
<td>{{ part.on_order }}</td>
|
2019-05-02 10:18:34 +00:00
|
|
|
<td>{{ part.available_stock }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|