2022-11-04 20:35:28 +01:00
|
|
|
{% extends "baselayout.html" %}
|
2022-03-16 12:11:30 +01:00
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block title %}
|
2023-02-17 22:01:09 +01:00
|
|
|
{% translate "Drinks - History" %}
|
2022-03-16 12:11:30 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-02-17 22:01:09 +01:00
|
|
|
<h1>{% translate "History" %}</h1>
|
|
|
|
{% if history %}
|
|
|
|
<table class="history">
|
|
|
|
<tr>
|
2023-04-15 10:01:56 +02:00
|
|
|
<th colspan="3">{% translate "last 30 actions" %}</th>
|
2023-02-17 22:01:09 +01:00
|
|
|
</tr>
|
|
|
|
{% for h in history %}
|
|
|
|
<tr>
|
2023-04-15 10:01:56 +02:00
|
|
|
<td class="text-align-right">{{ h.0 }} {{ currency_suffix }}</td>
|
|
|
|
<td>{{ h.1 }}</td>
|
|
|
|
<td>{{ h.2 }}</td>
|
2023-02-17 22:01:09 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
{% translate "No history." %}
|
|
|
|
{% endif %}
|
|
|
|
<script src="/static/js/autoreload.js"></script>
|
|
|
|
{% endblock %}
|