Lengow/templates/orders/order/index.html

75 lines
2.7 KiB
HTML
Raw Normal View History

{% extends 'orders/base.html' %}
{% block title %}List all orders{% endblock %}
{% block body %}
<div class="container-fluid">
2016-02-14 20:40:28 +00:00
<p>
<a href="/create">
<i class="glyphicon glyphicon-plus"></i> Create new order
</a>
</p>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th><i class="glyphicon glyphicon-search"></i></th>
<th>Order id</th>
<th>Marketplace</th>
<th>Id flux</th>
<th>Purchase date</th>
<th>Amount</th>
<th>Tax</th>
<th>Shipping</th>
<th>Commission</th>
<th>Processing fee</th>
<th>Comments</th>
<th>Customer id</th>
<th>Ip</th>
<th>Nb items</th>
<th><i class="glyphicon glyphicon-pencil"></i></th>
<th><i class="glyphicon glyphicon-trash"></i></th>
</tr>
</thead>
<tbody>
{% for order in object_list %}
<tr>
<td>
<a href="/{{ order.order_id }}">
<i class="glyphicon glyphicon-search"></i>
</a>
</td>
<td>{{ order.order_id }}</td>
<td>{{ order.marketplace }}</td>
<td>{{ order.idFlux }}</td>
<td>{{ order.order_purchase }}</td>
<td>{{ order.order_amount }}</td>
<td>{{ order.order_tax }}</td>
<td>{{ order.order_shipping }}</td>
<td>{{ order.order_commission }}</td>
<td>{{ order.order_processing_fee }}</td>
<td>{{ order.order_comments }}</td>
<td>{{ order.customer_id }}</td>
<td>{{ order.order_ip }}</td>
<td>{{ order.order_items }}</td>
<td>
2016-02-14 20:40:28 +00:00
<a href="/{{ order.order_id }}/update">
<i class="glyphicon glyphicon-pencil"></i>
</a>
</td>
<td>
<a href="/{{ order.order_id }}/delete">
<i class="glyphicon glyphicon-trash"></i>
</a>
</td>
</tr>
{% empty %}
<tr>
<td colspan="16">No orders yet.</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}