Show also this account's posting comment in transaction list

This commit is contained in:
RunasSudo 2020-05-17 15:15:19 +10:00
parent b729b53ceb
commit 56959cda22
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 14 additions and 0 deletions

View File

@ -83,6 +83,20 @@
<td></td>
{% endif %}
</tr>
{# This account's comment #}
{% if account %}
{% for posting in transaction.postings if posting.account == account and posting.comment %}
<tr>
<td></td>
<td style="padding-left: 0.75em;">{{ posting.comment }}</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
{% endfor %}
{% endif %}
{% endif %}
{% for posting in transaction.postings if posting.account != account %}