Added the capability to upload CSV files

This commit is contained in:
Manuel Forcén Muñoz 2024-03-18 23:04:48 +01:00
parent 90b02eef79
commit d1e736d7a7
19 changed files with 678 additions and 99 deletions

View file

@ -1,14 +1,19 @@
{% extends "base.html" %}
{% block title %}Account {{account.account_name}}{% endblock title %}
{% block body %}
<div>{{account.account_name}}</div>
<div class="flex">
<span class="text-lg grow">{{account.account_name}}</span>
<div>
<a href="/accounts/id/{{account.account_id}}/transactions/add">+</a>
</div>
</div>
<div>
<table>
<tr>
<th>Descripción</th>
<th>Fecha</th>
<th>Cantidad</th>
<th>Categoría</th>
<th>Description</th>
<th>Date</th>
<th>Amount</th>
<th>Category</th>
</tr>
{% for tx in transactions %}
<tr>
@ -19,7 +24,7 @@
</tr>
{% endfor %}
</table>
<p>Cargados {{n_txs}} movimientos</p>
<p>Loaded {{n_txs}} transactions</p>
</div>
{% endblock body %}