{% 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
| Description |
This Period |
Last Month |
YTD |
{% for row in revenue_list %}
| {{ row.acct_no|format_acct_no }} - {{ row.acct_name }} |
{{ row.this|floatformat:0|intcomma }} |
{{ row.last|floatformat:0|intcomma }} |
{{ row.ytd|floatformat:0|intcomma }} |
{% endfor %}
| Total Revenue |
{{ total_rev_this|floatformat:0|intcomma }} |
{{ total_rev_last|floatformat:0|intcomma }} |
{{ total_rev_ytd|floatformat:0|intcomma }} |
EXPENSE
| Description |
This Period |
Last Month |
YTD |
{% for row in expense_list %}
| {{ row.acct_no|format_acct_no }} - {{ row.acct_name }} |
{{ row.this|floatformat:0|intcomma }} |
{{ row.last|floatformat:0|intcomma }} |
{{ row.ytd|floatformat:0|intcomma }} |
{% endfor %}
| 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 %}