{% extends "alloc/base.html" %} {% load alloc_extras %} {% block title %}{{ kind|capfirst }} profitability{% endblock %} {% block content %}
{{ rows|length }} {{ kind }}; {{ loss_count }} lose money under ABC; {{ hidden }} look profitable under traditional costing (single plant-wide rate of {{ t.trad_rate|money2 }} per labour hour) but are not. Sort by clicking a heading.
| {{ label }}{% if key == sort %} {% if dir == 'desc' %}▼{% else %}▲{% endif %}{% endif %} | {% if key == "name" %}{% if kind == "customers" %}Channel | {% endif %}{% endif %}{% endif %}{% endfor %}Flag | |||||||
|---|---|---|---|---|---|---|---|---|---|
| {% if kind != "channels" or True %}{{ r.code }}{% endif %} {% if r.name != r.code %}{{ r.name }}{% endif %} | {% if kind == "customers" %}{{ r.channel }} | {% endif %}{{ r.revenue|money }} | {{ r.direct_margin|money }} | {{ r.activity_cost|money }} | {{ r.profit|money }} | {{ r.margin_pct|pct }} | {{ r.trad_profit|money }} | {{ r.delta|money }} | {% if r.flag %}{{ r.flag }}{% endif %} |
No data.
{% endif %} {% endblock %}