{% extends 'transactions/extends/layout.html' %} {% load static %} {% load humanize %} {% block content %} {% block scripts %} {% endblock %}
{% csrf_token %}

{{ the_current_branch.name }} Income Statement for the period {{ start_date|date:'d/m/Y' }} to {{ end_date|date:'d/m/Y' }}

{% csrf_token %}
{# #} {# Export PDF#}
{% csrf_token %}
{# Export Excel#}
{% for a in revenues %} {% if a.amount == 0 %} {% else %} {% endif %} {% endfor %} {% for b in expenses %} {% if b.amount == 0 %} {% else %} {% endif %} {% endfor %}
Name of GL Amount
Revenue
{{ a.account.name }} {{ a.amount|floatformat:2|intcomma }}
TOTAL REVENUE {{ total_revenues|floatformat:2|intcomma }}
Expenses
{{ b.account.name }} {{ b.amount|floatformat:2|intcomma }}
TOTAL EXPENSES {{ total_expenses|floatformat:2|intcomma }}
PROFITS/LOSSES FOR THE PERIOD {{ profit_loss|floatformat:2|intcomma }}
{% endblock %}