{% extends "alloc/base.html" %} {% load alloc_extras %} {% block title %}Overview{% endblock %} {% block content %}

Profitability overview

{% include "alloc/_selector.html" %} {% if result %}
Revenue{{ t.revenue|money }}
Direct margin{{ t.direct_margin|money }}
Overhead (GL){{ t.gl_cost|money }}
Operating profit{{ t.operating_profit|money }}
Unused capacity{{ t.unused|money }}

Cost conservation checks

{% for c in result.checks %}{% endfor %}
{{ c.name }}{{ c.actual|money2 }}{% if c.ok %}OK{% else %}FAIL{% endif %}

Channels

{% for r in channels %}{% endfor %}
ChannelRevenueABC profitMargin
{{ r.name }}{{ r.revenue|money }}{{ r.profit|money }}{{ r.margin_pct|pct }}

Least profitable customers

{% for r in worst_customers %}{% endfor %}
{{ r.code }} {{ r.name }}{{ r.profit|money }}{{ r.flag }}

Least profitable products

{% for r in worst_products %}{% endfor %}
{{ r.code }} {{ r.name }}{{ r.profit|money }}{{ r.flag }}
{% endif %} {% endblock %}