{% load i18n %} {% load django_ledger %} {% if style == 'detail' %}
{% trans 'Account' %} | {% trans 'Account Name' %} | {% trans 'Unit' %} | {% trans 'Credit' %} | {% trans 'Debit' %} | {% trans 'Description' %} |
---|---|---|---|---|---|
{{ 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 %} | {% if tx.description %}{{ tx.description }}{% endif %} |
Total | {% currency_symbol %}{{ total_credits | currency_format }} | {% currency_symbol %}{{ total_debits | currency_format }} |
{% trans 'Account' %} | {% trans 'Account Name' %} | {% trans 'Credit' %} | {% trans 'Debit' %} | {% trans 'Description' %} |
---|---|---|---|---|
{{ tx.account.code }} | {{ tx.account.name }} | {% if tx.tx_type == 'credit' %}${{ tx.amount | currency_format }}{% endif %} | {% if tx.tx_type == 'debit' %}${{ tx.amount | currency_format }}{% endif %} | {% if tx.description %}{{ tx.description }}{% endif %} |
{% trans 'Total' %} | {% currency_symbol %}{{ total_credits | currency_format }} | {% currency_symbol %}{{ total_debits | currency_format }} |