{% extends 'base.html' %} {% load i18n %} {% block title %} {{ page_title }} {% endblock %} {% block content %}

{{ _('Account Name') }}: {{ account.name }}

{{ _('Account Code') }}: {{ account.code }}

{% if account.balance_type == 'debit' %} {{ _('Balance Type') }}:

{{ _("Debit") }}
{% else %} {{ _('Balance Type') }}:
{{ _("Credit") }}
{% endif %}

{{ _('Active') }}: {{ account.active }}

{% for tx in account.transactionmodel_set.all %} {% endfor %}
{{ _('JE Number') }} {{ _('Date') }} {{ _('Debit') }} {{ _('Credit') }} {{ _('Description') }} {{ _('Actions') }}
{{ tx.journal_entry.je_number }} {{ tx.journal_entry.timestamp }} {% if tx.tx_type == 'debit' %} {{ tx.amount }} {% endif %} {% if tx.tx_type == 'credit' %} {{ tx.amount }} {% endif %} {{ tx.description }}
{{ _("Total") }} {{ total_debits }} {{ CURRENCY }} {{ total_credits }} {{ CURRENCY }}
{% endblock %}