32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<table>
|
||
<thead>
|
||
<tr><th>Datum</th><th>Verwendungszweck</th><th>Empfänger/Zahler</th><th>Betrag</th><th></th></tr>
|
||
</thead>
|
||
<tbody>
|
||
{% for tx in transactions %}
|
||
<tr>
|
||
<td>{{ tx.booking_date.strftime('%d.%m.%Y') }}</td>
|
||
<td>{{ tx.purpose }}</td>
|
||
<td>{{ tx.counterparty }}</td>
|
||
<td class="{{ 'neg' if tx.amount < 0 else '' }}">{{ '%.2f'|format(tx.amount) }} €</td>
|
||
<td>{% if tx.is_duplicate %}<span class="badge badge-warning">Duplikat</span>{% endif %}</td>
|
||
</tr>
|
||
{% else %}
|
||
<tr><td colspan="5">Keine Buchungen in diesem Import.</td></tr>
|
||
{% endfor %}
|
||
</tbody>
|
||
</table>
|
||
<p>
|
||
Saldo-Status:
|
||
{% if balance_ok is none %}
|
||
<span class="badge">Saldo-Prüfung: nicht verfügbar (Format ohne Saldodaten)</span>
|
||
{% elif balance_ok %}
|
||
<span class="badge badge-ok">Saldo plausibel</span>
|
||
{% else %}
|
||
<span class="badge badge-error">Saldo-Differenz – bitte prüfen</span>
|
||
{% endif %}
|
||
· Eröffnungssaldo: {{ '%.2f'|format(statement.opening_balance) if statement.opening_balance is not none else '–' }} €
|
||
· Endsaldo: {{ '%.2f'|format(statement.closing_balance) if statement.closing_balance is not none else '–' }} €
|
||
· Duplikate: {{ duplicates }}
|
||
</p>
|