{% load django_ledger %}
{% for tx in txs %} {% endfor %}
Date Account Account Name Unit Credit Debit Description
{{ tx.journal_entry.date }} {{ tx.account.code }} {{ tx.account.name }} {% if tx.journal_entry.entity_unit %}{{ tx.journal_entry.entity_unit }}{% endif %} {% if tx.tx_type == 'credit' %}${{ tx.amount | currency_format }}{% endif %} {% if tx.tx_type == 'debit' %}${{ tx.amount | currency_format }}{% endif %} {{ tx.description }}
Total {% currency_symbol %}{{ total_credits | currency_format }} {% currency_symbol %}{{ total_debits | currency_format }}