Condensed classifiers in one place

This commit is contained in:
Manuel Forcén Muñoz 2024-03-20 20:49:22 +01:00
parent cf7fc2ec87
commit e336292db4
8 changed files with 256 additions and 34 deletions

View file

@ -7,4 +7,27 @@
<a class="p-2 hover:bg-stone-200" href="/accounts/id/{{account.account_id}}">{{account.account_name}}</a>
{% endfor %}
</div>
<div><h2 class="text-lg">Last transactions</h2></div>
<div>
<table>
<thead>
<tr>
<th>Description</th>
<th>Date</th>
<th>Amount</th>
<th>Category</th>
</tr>
</thead>
<tbody>
{% for tx in transactions %}
<tr>
<td>{{tx.description}}</td>
<td>{{tx.transaction_timestamp}}</td>
<td>{{tx.amount/100}}</td>
<td>{{tx.category}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock body %}