{% extends "pos/base.html" %} {% load static %} {% block title %}Business Worth Δ{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}

Business Worth Δ

{{ from_date }} → {{ to_date }}
{% for p, lbl in period_choices %} {{ lbl }} {% empty %} 1 Day 1 Week 1 Month Custom {% endfor %}
{% for br in branches %}
{% endfor %}
Δ Total Assets
{% if overall.assets > 0 %}+{% endif %}{{ overall.assets|floatformat:0 }}
across {{ deltas|length }} branch{{ deltas|length|pluralize:"es" }}
Δ Total Liabilities
{% if overall.liabilities > 0 %}+{% endif %}{{ overall.liabilities|floatformat:0 }}
{{ from_date }} → {{ to_date }}
Δ Net Growth
{% if overall.growth > 0 %}+{% endif %}{{ overall.growth|floatformat:0 }}
Assets − Liabilities change
{% if deltas %}
{% for d in deltas %} {% with idx=forloop.counter %}
{{ d.tenant }} FIFO Rev
Assets
{{ d.assets_start|floatformat:0 }} → {{ d.assets_end|floatformat:0 }} {% if d.delta_assets > 0 %}+{% endif %}{{ d.delta_assets|floatformat:0 }}
Liabilities
{{ d.liab_start|floatformat:0 }} → {{ d.liab_end|floatformat:0 }} {% if d.delta_liabilities > 0 %}+{% endif %}{{ d.delta_liabilities|floatformat:0 }}
Δ Growth {% if d.delta_growth > 0 %}+{% endif %}{{ d.delta_growth|floatformat:0 }}
{% endwith %} {% endfor %}
{% endif %}
{% for d in deltas %} {% endfor %}
Branch Δ Assets Δ Liabilities Δ Growth
{{ d.tenant }} {% if d.delta_assets > 0 %}+{% endif %}{{ d.delta_assets|floatformat:2 }} {% if d.delta_liabilities > 0 %}+{% endif %}{{ d.delta_liabilities|floatformat:2 }} {% if d.delta_growth > 0 %}+{% endif %}{{ d.delta_growth|floatformat:2 }}
Combined Total {% if overall.assets > 0 %}+{% endif %}{{ overall.assets|floatformat:2 }} {% if overall.liabilities > 0 %}+{% endif %}{{ overall.liabilities|floatformat:2 }} {% if overall.growth > 0 %}+{% endif %}{{ overall.growth|floatformat:2 }}
{% endblock %} {% block javascripts %} {% endblock %}