{% extends 'transactions/extends/layout.html' %} {% load static %} {% load humanize %} {% load difference_calc %} {% block content %} {% block scripts %} {% endblock %}
{% csrf_token %}
{#
#} {# {% csrf_token %}#} {# #} {# #} {# #} {# #} {#
#} {#
#} {# {% csrf_token %}#} {# #} {# #} {# #} {# #} {##} {#
#}
{% if individual_gl %} {% if start_date != None and end_date != None %}
{% if account == "Members" %} Member Savings {% else %} {{ account.name }} ({{ account.category.name }}) {% endif %} Account Reconciliation for the Period between {{ start_date }} and {{ end_date }}
{% elif start_date != None and end_date == None %}

{% if account == "Members" %} Member Savings {% else %} {{ account.name }} ({{ account.category.name }}) {% endif %} Account Reconciliation for the Period From {{ start_date|date:'d/m/Y' }} To Date

{% elif start_date == None and end_date != None %}

{% if account == "Members" %} Member Savings {% else %} {{ account.name }} ({{ account.category.name }}) {% endif %} Account Reconciliation for the Period Up to {{ end_date|date:'d/m/Y' }}

{% else %}

{% if account == "Members" %} Member Savings {% else %} {{ account.name }} ({{ account.category.name }}) {% endif %} Account Reconciliation

{% endif %} {% else %}
{% endif %}
{% csrf_token %}
{% if individual_gl %} {% for gl in individual_gl %} {% if gl.is_opening_balance %} {% else %} {% endif %} {% endfor %}
TXNNo Date Account Dr/Cr Txn Narration Amount Dr Amount Cr Balance Action
{{ gl.gl.txno }} {{ gl.gl.tx_date }}Opening Balance {% if gl.account_dr.id == account.id %} {% else %} {% if gl.account_dr.category.name == "Members" %} {{ gl.account_dr.member.member_names }} {% else %} {{ gl.account_dr.name }} {% endif %} {% endif %} {% if gl.account_cr.id == account.id %} {% else %} {% if gl.account_cr.category.name == "Members" %} {{ gl.account_cr.member.member_names }} {% else %} {{ gl.account_cr.name }} {% endif %} {% endif %} {{ gl.gl.narration }} {{ gl.amount_dr|default_if_none:'-'|floatformat:2|intcomma }} {{ gl.amount_cr|default_if_none:'-'|floatformat:2|intcomma }} {{ gl.balance|floatformat:2|intcomma }} {% if not gl.is_opening_balance %}
{% if gl.gl.reconciled_by is None %} {% else %} {% endif %}
{% endif %}
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 %} {% elif account == "Members" %} {% 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 %} 000 {% endif %}
{% else %}

Please Select an account to be reconciled

{% endif %}
{% endblock %} {% block javascript %} {% endblock %}