Fixed some bugs in import

This commit is contained in:
fleaz 2020-03-19 00:12:18 +01:00
parent dbde36a4cb
commit 977f82a2a4
4 changed files with 39 additions and 18 deletions

View file

@ -9,7 +9,7 @@
<th class="px-4 py-2">Sender/Empfänger</th>
<th class="px-4 py-2">Verwendungszweck</th>
<th class="px-4 py-2">Betrag</th>
<th class="px-4 py-2">Kategorie</th>
<th class="px-4 py-2"></th>
</tr>
</thead>
<tbody>
@ -19,7 +19,7 @@
<td class="border px-4 py-2">{{ t.name }}</td>
<td class="border px-4 py-2">{{ t.description }}</td>
<td class="border px-4 py-2 {{ 'text-green-500' if t.is_positive() else 'text-red-500' }}">{{ t.pretty_amount() }}</td>
<td class="border px-4 py-2">{{ t.category.full_name() if t.category else "-" }}</td>
<td class="border px-4 py-2"><a href="#">Remove category</a></td>
</tr>
% end
</tbody>