Improve rendering of purchase order list

This commit is contained in:
Oliver Walters 2019-06-05 21:02:51 +10:00
parent be6b1ae2f8
commit f4abfc158f

View File

@ -62,6 +62,7 @@ InvenTree | {{ order }}
<tr> <tr>
<th data-field='line'>Line</th> <th data-field='line'>Line</th>
<th data-field='part'>Part</th> <th data-field='part'>Part</th>
<th data-field='sku'>Order Code</th>
<th data-field='reference'>Reference</th> <th data-field='reference'>Reference</th>
<th data-field='quantity'>Quantity</th> <th data-field='quantity'>Quantity</th>
<th data-field='received'>Received</th> <th data-field='received'>Received</th>
@ -69,7 +70,8 @@ InvenTree | {{ order }}
{% for line in order.lines.all %} {% for line in order.lines.all %}
<tr> <tr>
<td>{{ forloop.counter }}</td> <td>{{ forloop.counter }}</td>
<td></td> <td><a href="{% url 'part-detail' line.part.part.id %}">{{ line.part.part.full_name }}</a></td>
<td><a href="{% url 'supplier-part-detail' line.part.id %}">{{ line.part.SKU }}</a></td>
<td>{{ line.reference }}</td> <td>{{ line.reference }}</td>
<td>{{ line.quantity }}</td> <td>{{ line.quantity }}</td>
<td>{{ line.received }}</td> <td>{{ line.received }}</td>