blob: 658f3563833067c9f57204ce835d0ace8bd3c2d7 (
plain)
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
33
34
35
36
37
|
{# -*- mode: web; -*- #}
{% extends "base.html" %}
{% block title %}
Orders
{% endblock %}
{% block actions %}
<a href="{{ url_for('common.add_item', module='orders', table='Order') }}" class="button">Add order</a>
{% endblock %}
{% block content %}
<i>Track your orders and their payment status here.</i>
<table>
<thead>
<tr>
<th>ID</th>
<th>Date</th>
<th>Customer</th>
<th>Content</th>
<th>Updated</th>
</tr>
</thead>
<tbody>
{% for order in orders %}
<tr>
<td>{{ order.id }}</td>
<td>{{ order.date }}</td>
<td>{{ order.customer }}</td>
<td>{{ order.content }}</td>
<td>{{ order.updated }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|