{% extends "base.html" %} {% block header %} {{ super() }} {% endblock %} {% block main %}

Sales Statistics

Time Range

{{fromdate}} {{todate}}

Totals

Purchases

{% for prod, data in consumptions.items() %} {% endfor %}
ProductIncomeUnits
{{ prod }}{{ -data[0]|chf }}{{ data[1] }}
Total{{ total_income|chf }}{{ total_consumption }}
{# Really hacky pie chart implementation. #} {% for s in product_slices %} {{ s[0] }} ({{ s[8] }}) {% endfor %}

Account Balances

{{ super() }} {% endblock %}