diff --git a/ledger_pyreport/jinja2/transactions.html b/ledger_pyreport/jinja2/transactions.html index 1eb332d..bfc9708 100644 --- a/ledger_pyreport/jinja2/transactions.html +++ b/ledger_pyreport/jinja2/transactions.html @@ -83,6 +83,20 @@ {% endif %} + + {# This account's comment #} + {% if account %} + {% for posting in transaction.postings if posting.account == account and posting.comment %} + + + {{ posting.comment }} + + + + + + {% endfor %} + {% endif %} {% endif %} {% for posting in transaction.postings if posting.account != account %}