59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
{% extends 'orders/base.html' %}
|
|
|
|
{% block title %}List all orders{% endblock %}
|
|
|
|
{% block body %}
|
|
<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>
|
|
{% endblock %}
|