accounters/templates/accounts.html
2024-02-19 23:51:18 +01:00

25 lines
573 B
HTML

{% extends "base.html" %}
{% block title %}Account {{account.account_name}}{% endblock title %}
{% block body %}
<div>{{account.account_name}}</div>
<div>
<table>
<tr>
<th>Descripción</th>
<th>Fecha</th>
<th>Cantidad</th>
<th>Categoría</th>
</tr>
{% 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 %}
</table>
<p>Cargados {{n_txs}} movimientos</p>
</div>
{% endblock body %}