-
Notifications
You must be signed in to change notification settings - Fork 1
/
order.html
32 lines (30 loc) · 989 Bytes
/
order.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'partials/base.html' %}
{% block title %}Order Page{% endblock %}
{% block content %}
{% include 'partials/topside.html' %}
<div class="row my-4">
<div class="col-md-4"></div>
<div class="col-md-8">
<table class="table bg-white">
<thead class="bg-info text-white">
<tr>
<th scope="col">Product</th>
<th scope="col">Category</th>
<th scope="col">Quantity</th>
<th scope="col">Odered by</th>
</tr>
</thead>
<tbody>
{% for order in order %}
<tr>
<td>{{ order.name }}</td>
<td>{{ order.name.category }}</td>
<td>{{ order.order_quantity }}</td>
<td>{{ order.customer.username }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}