2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Clean up display of company pages

- Add some more buttons
- visual style consolidation
This commit is contained in:
Oliver Walters
2019-06-19 07:48:05 +10:00
parent 7effe3af9d
commit 3e6cdb15be
6 changed files with 44 additions and 14 deletions

View File

@ -1,11 +1,14 @@
<table class='table table-striped table-condensed' id='po-table'>
<table class='table table-striped table-condensed' id='po-table' {% if toolbar %}data-toolbar='{{ toolbar }}'{% endif %}>
<thead>
<tr>
<th data-field='company'>Company</th>
<th data-field='reference'>Order Reference</th>
<th data-field='description'>Description</th>
<th data-field='company' data-searchable='true'>Company</th>
<th data-field='reference' data-searchable='true'>Order Reference</th>
<th data-field='description' data-searchable='true'>Description</th>
<th data-field='status'>Status</th>
<th data-field='items'>Items</th>
</tr>
</thead>
<tbody>
{% for order in orders %}
<tr>
<td>{% include "hover_image.html" with image=order.supplier.image hover=True %}<a href="{{ order.supplier.get_absolute_url }}purchase-orders/">{{ order.supplier.name }}</a></td>
@ -15,4 +18,5 @@
<td>{{ order.lines.count }}</td>
</tr>
{% endfor %}
</tbody>
</table>