|
|
@ -56,9 +56,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<table class="table"> |
|
|
|
<table class="table"> |
|
|
|
<thead> |
|
|
|
<thead> |
|
|
|
<th class="center"> |
|
|
|
{% if request.has_permission('edit', context) or request.has_permission('delete', context) %} |
|
|
|
<input type="checkbox" value="all" name="mark_all" id="mark_all"> |
|
|
|
<th class="center"> |
|
|
|
</th> |
|
|
|
<input type="checkbox" value="all" name="mark_all" id="mark_all"> |
|
|
|
|
|
|
|
</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> |
|
|
|
<td class="center"> |
|
|
|
{% if request.has_permission('edit', context) or request.has_permission('delete', context) %} |
|
|
|
<input type="checkbox" name="marked" value="{{ order.model.id }}"> |
|
|
|
<td class="center"> |
|
|
|
</td> |
|
|
|
<input type="checkbox" name="marked" value="{{ order.model.id }}"> |
|
|
|
|
|
|
|
</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> |
|
|
|