{% load humanize %} {% load difference_calc %} {% block content %} {% include 'transactions/exports/header_template.html'%}

{{ user.branch.name|upper }} BALANCE SHEET IN {{ default_currency.abb }} FOR THE PERIOD {{ reporting_dates.date_from|date:'d/m/Y' }} TO {{ reporting_dates.date_to|date:'d/m/Y' }}

{% for a in assets %} {% if a.amount == 0 %} {% else %} {% if forloop.counter|divisibleby:2 %} {% else %} {% endif %} {% endif %} {% endfor %} {% for b in liabilities %} {% if b.amount == 0 %} {% else %} {% if b.is_retained_earnings %} {% if forloop.counter|divisibleby:2 %} {% else %} {% endif %} {% else %} {% if b.is_members %} {% if forloop.counter|divisibleby:2 %} {% else %} {% endif %} {% else %} {% if forloop.counter|divisibleby:2 %} {% else %} {% endif %} {% endif %} {% endif %} {% endif %} {% endfor %}
Name of GL Amount
Assets
{{ a.account.name }} {{ a.amount|floatformat:2|intcomma }}
TOTAL ASSETS {{ total_assets|floatformat:2|intcomma }}
Equity and Liabilities
Retained Earnings Account {{ b.amount|floatformat:2|intcomma }}
Member Savings {{ b.amount|floatformat:2|intcomma }}
{{ b.account.name }} {{ b.amount|floatformat:2|intcomma }}
TOTAL EQUITY AND LIABILITIES {{ total_liabilities|floatformat:2|intcomma }}
{% endblock %}