2016-02-14 10:37:05 +00:00
|
|
|
{% extends 'orders/base.html' %}
|
|
|
|
|
2016-02-14 15:55:16 +00:00
|
|
|
{% block title %}List all orders{% endblock %}
|
|
|
|
|
2016-02-14 10:37:05 +00:00
|
|
|
{% block body %}
|
2016-02-14 15:55:16 +00:00
|
|
|
<div class="container-fluid">
|
|
|
|
<h1>Orders</h1>
|
|
|
|
|
|
|
|
<table class="table table-bordered table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-02-14 16:27:22 +00:00
|
|
|
<th><i class="glyphicon glyphicon-search"></i></th>
|
|
|
|
<th>Order id</th>
|
2016-02-14 15:55:16 +00:00
|
|
|
<th>Marketplace</th>
|
2016-02-14 16:27:22 +00:00
|
|
|
<th>Id flux</th>
|
|
|
|
<th>Purchase date</th>
|
2016-02-14 15:55:16 +00:00
|
|
|
<th>Amount</th>
|
|
|
|
<th>Tax</th>
|
|
|
|
<th>Shipping</th>
|
|
|
|
<th>Commission</th>
|
2016-02-14 16:27:22 +00:00
|
|
|
<th>Processing fee</th>
|
2016-02-14 15:55:16 +00:00
|
|
|
<th>Comments</th>
|
2016-02-14 16:27:22 +00:00
|
|
|
<th>Customer id</th>
|
2016-02-14 15:55:16 +00:00
|
|
|
<th>Ip</th>
|
2016-02-14 16:27:22 +00:00
|
|
|
<th>Nb items</th>
|
|
|
|
<th><i class="glyphicon glyphicon-pencil"></i></th>
|
|
|
|
<th><i class="glyphicon glyphicon-trash"></i></th>
|
2016-02-14 15:55:16 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for order in object_list %}
|
|
|
|
<tr>
|
2016-02-14 16:27:22 +00:00
|
|
|
<td>
|
|
|
|
<a href="/{{ order.order_id }}">
|
|
|
|
<i class="glyphicon glyphicon-search"></i>
|
|
|
|
</a>
|
|
|
|
</td>
|
2016-02-14 15:55:16 +00:00
|
|
|
<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>
|
2016-02-14 16:27:22 +00:00
|
|
|
<td>
|
|
|
|
<a href="/{{ order.order_id }}/edit">
|
|
|
|
<i class="glyphicon glyphicon-pencil"></i>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href="/{{ order.order_id }}/delete">
|
|
|
|
<i class="glyphicon glyphicon-trash"></i>
|
|
|
|
</a>
|
|
|
|
</td>
|
2016-02-14 15:55:16 +00:00
|
|
|
</tr>
|
|
|
|
{% empty %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="16">No orders yet.</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-02-14 10:37:05 +00:00
|
|
|
{% endblock %}
|