From dd5b6c124260204d45ba975d4a47523145866e14 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 30 Jun 2024 20:41:31 +1000 Subject: [PATCH] Link to related account transactions on account transactions report --- drcr/templates/transactions.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drcr/templates/transactions.html b/drcr/templates/transactions.html index 284b403..74a9ef6 100644 --- a/drcr/templates/transactions.html +++ b/drcr/templates/transactions.html @@ -63,7 +63,7 @@ {% endif %} - {% for p in transaction.postings if p.account != account %}{{ p.account }}{% endfor %} + {% for p in transaction.postings if p.account != account %}{{ p.account }}{% endfor %} {{ posting.amount().as_cost().format() if posting.quantity >= 0 else '' }} {{ (posting.amount()|abs).as_cost().format() if posting.quantity < 0 else '' }} {{ (running_totals[posting]|abs).format() }} @@ -92,7 +92,7 @@ {{ 'Dr' if posting.quantity >= 0 else 'Cr' }} - {{ account }} + {{ account }} {{ posting.amount().as_cost().format() if posting.quantity >= 0 else '' }} {{ (posting.amount()|abs).as_cost().format() if posting.quantity < 0 else '' }} {{ (running_totals[posting]|abs).format() }} @@ -103,7 +103,7 @@ {{ 'Dr' if posting.quantity >= 0 else 'Cr' }} - {{ posting.account }} + {{ posting.account }} {{ posting.amount().as_cost().format() if posting.quantity >= 0 else '' }} {{ (posting.amount()|abs).as_cost().format() if posting.quantity < 0 else '' }}