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 '' }}