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

← Model

{{ title }}

Download CSV
{% if name == "sales" %} {% for s in page %}{% endfor %} {% else %} {% for c in page %}{% endfor %}{% endif %}
PeriodProductCustomerQtyRevenueDirect costLabour h
{{ s.period }}{{ s.product.code }}{{ s.customer.code }}{{ s.quantity|money }}{{ s.revenue|money }}{{ s.direct_cost|money }}{{ s.labor_hours|money }}
PeriodActivityCost objectQuantity
{{ c.period }}{{ c.activity }}{{ c.cost_object.code }} {{ c.cost_object.name }}{{ c.quantity|money2 }}

{% if page.has_previous %}← Prev{% endif %} Page {{ page.number }} of {{ page.paginator.num_pages }} ({{ page.paginator.count }} rows) {% if page.has_next %}Next →{% endif %}

{% endblock %}