{% load django_ledger %} {% load trans from i18n %}
{% for tx in transactions %} {% endfor %}
Date Credit Debit Description Actions
{{ tx.journal_entry.date }} {% if tx.tx_type == 'credit' %}${{ tx.amount | currency_format }}{% endif %} {% if tx.tx_type == 'debit' %}${{ tx.amount | currency_format }}{% endif %} {{ tx.description }}
Total ${{ total_credits | currency_format }} ${{ total_debits | currency_format }}