Added the capability to upload CSV files
This commit is contained in:
parent
90b02eef79
commit
d1e736d7a7
19 changed files with 678 additions and 99 deletions
|
|
@ -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 %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue