receipts/templates/transaction-list.html.tera

29 lines
614 B
Plaintext

{% extends "base" %}
{% block head %}
<title>Transactions</title>
{% endblock %}
{% block main %}
<h1>Transactions</h1>
<p>
These transactions have not been reviewed and do not have attached receipts.
</p>
<table>
<tbody>
<tr>
<th scope="col">Description</th>
<th scope="col">Date</th>
<th scope="col">Amount</th>
</tr>
{% for txn in transactions -%}
<tr>
<td>
<a href="/transactions/{{ txn.id }}">{{ txn.description }}</a>
</td>
<td>{{ txn.date }}</td>
<td>${{ txn.amount }}</td>
</tr>
{% endfor -%}
</tbody>
</table>
{% endblock %}