|
|
@ -56,9 +56,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<table class="table"> |
|
|
|
<table class="table"> |
|
|
|
<thead> |
|
|
|
<thead> |
|
|
|
|
|
|
|
{% if request.has_permission('edit', context) or request.has_permission('delete', context) %} |
|
|
|
<th class="center"> |
|
|
|
<th class="center"> |
|
|
|
<input type="checkbox" value="all" name="mark_all" id="mark_all"> |
|
|
|
<input type="checkbox" value="all" name="mark_all" id="mark_all"> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
{{ macros.sortable_table_header('Date Created', 'created') }} |
|
|
|
{{ macros.sortable_table_header('Date Created', 'created') }} |
|
|
|
{{ macros.sortable_table_header('CAS / Description', 'cas') }} |
|
|
|
{{ macros.sortable_table_header('CAS / Description', 'cas') }} |
|
|
|
{{ macros.sortable_table_header('Vendor', 'vendor') }} |
|
|
|
{{ macros.sortable_table_header('Vendor', 'vendor') }} |
|
|
@ -76,9 +78,11 @@ |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
{% for order in orders %} |
|
|
|
{% for order in orders %} |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
|
|
|
|
{% if request.has_permission('edit', context) or request.has_permission('delete', context) %} |
|
|
|
<td class="center"> |
|
|
|
<td class="center"> |
|
|
|
<input type="checkbox" name="marked" value="{{ order.model.id }}"> |
|
|
|
<input type="checkbox" name="marked" value="{{ order.model.id }}"> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
<td class="column-created">{{ order.model.created_date }}</td> |
|
|
|
<td class="column-created">{{ order.model.created_date }}</td> |
|
|
|
<td class="column-cas">{{ order.model.cas_description }}</td> |
|
|
|
<td class="column-cas">{{ order.model.cas_description }}</td> |
|
|
|
<td class="column-vendor">{{ order.model.vendor }}</td> |
|
|
|
<td class="column-vendor">{{ order.model.vendor }}</td> |
|
|
|