{% load django_ledger %} {% load trans from i18n %}
{% for tx in transactions %} {% endfor %}
{% trans 'JE Number' %} {% trans 'Date' %} {% trans 'Credit' %} {% trans 'Debit' %} {% trans 'Description' %} {% trans 'Unit' %} {% trans 'Actions' %}
{{ tx.journal_entry.je_number }} {{ tx.journal_entry.timestamp | date }} {% if tx.tx_type == 'credit' %}{% currency_symbol %}{{ tx.amount | currency_format }}{% endif %} {% if tx.tx_type == 'debit' %}{% currency_symbol %}{{ tx.amount | currency_format }}{% endif %} {{ tx.description | default:"" }} {{ tx.journal_entry.entity_unit.name }}
{% trans 'Total' %} {% currency_symbol %}{{ total_credits | currency_format }} {% currency_symbol %}{{ total_debits | currency_format }}