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>
|
|
|
|
<th></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>Edit</th>
|
|
|
|
<th>Delete</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for order in object_list %}
|
|
|
|
<tr>
|
|
|
|
<td></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></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
{% empty %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="16">No orders yet.</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-02-14 10:37:05 +00:00
|
|
|
{% endblock %}
|