summaryrefslogtreecommitdiff
path: root/app/templates/modules/orders.html
blob: fd0c13b5b429b0ec39e18c755539e9fb830b6ad6 (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('add_item', item='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 %}
Copyright 2019--2024 Marius PETER