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