{% load humanize %} {% load difference_calc %} {% block content %} {% include 'transactions/exports/header_template.html' %}
| Transactions Breakdown | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RefNo | Txn Date | Account dr | Account cr | Narrative | Txn Particulars | Debit | Credit | Balance | |||
| {{ gl.gl.txno }} | {{ gl.gl.tx_date|date:'d/m/Y' }} | {% if gl.account_dr.member is not None %}{{ gl.account_dr.member.acc_number }} ({{ gl.account_dr.bio_name }}) | {% else %}{{ gl.account_dr.display_name }} | {% endif %} {% if gl.account_cr.member is not None %}{{ gl.account_cr.member.acc_number }} ({{ gl.account_cr.bio_name }}) | {% else %}{{ gl.account_cr.display_name }} | {% endif %}{{ gl.gl.narration }} | {% if gl.is_opening_balance %}Opening Balance | {% else %}{{ gl.gl.transaction_type }} | {% endif %}{{ gl.amount_dr|default_if_none:'-'|floatformat:2|intcomma }} | {{ gl.amount_cr|default_if_none:'-'|floatformat:2|intcomma }} | {{ gl.balance|floatformat:2|intcomma }} |
| TOTALS | {{ total_dr|default_if_none:0|floatformat:2|intcomma }} | {{ total_cr|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 %} | ||||||||