{% extends "pos/base.html" %}
{% load static %}
{% block title %}Profit & Loss Statement{% endblock %}
{% block stylesheets %}
{% endblock %}
{% block heading %}Profit & Loss Statement{% endblock %}
{% block content %}
{% if pl.is_profit %}
▲ Net Profit for this period: {{ pl.net_profit|floatformat:2 }}
{% else %}
▼ Net Loss for this period: ({{ pl.net_profit|floatformat:2|cut:"-" }})
{% endif %}
Income
| Account |
{{ pl.date_from }}–{{ pl.date_to }} |
{% if pl.has_comparison %}
{{ pl.compare_from }}–{{ pl.compare_to }} |
Change |
{% endif %}
{% for node in pl.income.roots %}
{% include "coa/_bs_node.html" with node=node depth=0 has_comparison=pl.has_comparison %}
{% empty %}
| No income recorded for this period. |
{% endfor %}
| Total Income |
{{ pl.income.total|floatformat:2 }} |
{% if pl.has_comparison %} | {% endif %}
Expenses
{% for node in pl.expense.roots %}
{% include "coa/_bs_node.html" with node=node depth=0 has_comparison=pl.has_comparison %}
{% empty %}
| No expenses recorded for this period. |
{% endfor %}
| Total Expenses |
{{ pl.expense.total|floatformat:2 }} |
{% if pl.has_comparison %} | {% endif %}
| Net {% if pl.is_profit %}Profit{% else %}Loss{% endif %} |
{% if pl.net_profit < 0 %}
({{ pl.net_profit|floatformat:2|cut:"-" }})
{% else %}
{{ pl.net_profit|floatformat:2 }}
{% endif %}
|
{% if pl.has_comparison %}
{% if pl.net_profit_compare < 0 %}
({{ pl.net_profit_compare|floatformat:2|cut:"-" }})
{% else %}
{{ pl.net_profit_compare|floatformat:2 }}
{% endif %}
|
|
{% endif %}
Total Income {{ pl.income.total|floatformat:2 }}
−
Total Expenses {{ pl.expense.total|floatformat:2 }}
=
Net {% if pl.is_profit %}Profit{% else %}Loss{% endif %} {{ pl.net_profit|floatformat:2 }}
Generated for {{ pl.date_from }} to {{ pl.date_to }} · All figures in your base currency · Negative amounts shown in parentheses
{% endblock %}
{% block javascripts %}
{% endblock %}