{% load humanize %} {% load difference_calc %} {% block content %} {% include 'transactions/exports/header_template.html'%}
| TXNNo | {#TRXNDate | #}Account Dr | Account cr | Narrative | Curr | Amount Dr | Amount Cr | Running Balance | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ gl.gl.txno }} | {#{{ gl.gl.tx_date }} | #} {% if gl.is_opening_balance %} {% if account.category.dr_cr == "cr" %}Opening Balance | {% else %}Opening Balance | {% endif %} {% else %} | {{ gl.account_dr.name }} | {{ gl.account_cr.name }} | {% endif %}{{ gl.gl.narration }} | {{ gl.gl.currency.currency.abb }} | {{ gl.amount_dr|default_if_none:'-'|floatformat:2|intcomma }} | {{ gl.amount_cr|default_if_none:'-'|floatformat:2|intcomma }} | {{ gl.balance|floatformat:2|intcomma }} | |
| TOTALS | {{ totals.totaldr|default_if_none:0|floatformat:2|intcomma }} | {{ totals.totalcr|default_if_none:0|floatformat:2|intcomma }} | {% if individual_gl|length > 0 %} {% if account.category.dr_cr == 'cr' %} {% dif_calc total_cr|default_if_none:0 total_dr|default_if_none:0 %} {% else %} {% dif_calc total_dr|default_if_none:0 total_cr|default_if_none:0 %} {% endif %} {% else %} 0 {% endif %} | |||||||||