{% extends "finance/base.html" %} {% load humanize %} {% load custom_filters %} {% block content %}

Profit & Loss Statement

{{ currency }}

Period: {{ from_date|date:"d M Y" }} - {{ to_date|date:"d M Y" }}

{% if revenue_list or expense_list %}
REVENUE
{% for row in revenue_list %} {% endfor %}
Description This Period Last Month YTD
{{ row.acct_no|format_acct_no }} - {{ row.acct_name }} {{ row.this|floatformat:0|intcomma }} {{ row.last|floatformat:0|intcomma }} {{ row.ytd|floatformat:0|intcomma }}
Total Revenue {{ total_rev_this|floatformat:0|intcomma }} {{ total_rev_last|floatformat:0|intcomma }} {{ total_rev_ytd|floatformat:0|intcomma }}
EXPENSE
{% for row in expense_list %} {% endfor %}
Description This Period Last Month YTD
{{ row.acct_no|format_acct_no }} - {{ row.acct_name }} {{ row.this|floatformat:0|intcomma }} {{ row.last|floatformat:0|intcomma }} {{ row.ytd|floatformat:0|intcomma }}
Total Expense {{ total_exp_this|floatformat:0|intcomma }} {{ total_exp_last|floatformat:0|intcomma }} {{ total_exp_ytd|floatformat:0|intcomma }}

Net Profit / (Loss) {{ net_this|floatformat:0|intcomma }} {{ net_last|floatformat:0|intcomma }} {{ net_ytd|floatformat:0|intcomma }}
{% endif %}
{% endblock %}