Improve display of list of purchase orders

This commit is contained in:
Oliver Walters 2019-06-05 00:02:34 +10:00
parent a9ba419503
commit 7bca9cc7af

View File

@ -9,15 +9,15 @@
<table class='table table-striped table-condensed' id='po-table'> <table class='table table-striped table-condensed' id='po-table'>
<tr> <tr>
<th>Reference</th>
<th>Company</th> <th>Company</th>
<th>Order Reference</th>
<th>Description</th> <th>Description</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
{% for order in orders %} {% for order in orders %}
<tr> <tr>
<td>{% include "hover_image.html" with image=order.supplier.image hover=True %}<a href="{{ order.supplier.get_absolute_url }}">{{ order.supplier.name }}</a></td>
<td>{{ order }}</td> <td>{{ order }}</td>
<td>{{ order.supplier }}</td>
<td>{{ order.description }}</td> <td>{{ order.description }}</td>
<td>{% include "order/order_status.html" %}</td> <td>{% include "order/order_status.html" %}</td>
</tr> </tr>