{% load juntagrico.config %}
{% load i18n %}
{% load juntagrico.common %}
{% vocabulary "depot" as v_depot %}
{% for weekday,depot_list in depots.items %}
{{ weekday }}
{% vocabulary "depot" %} |
{% for product in products %}
{{ product.name|safe }} |
{% endfor %}
{% for depot in depot_list %}
{{ depot.name }} |
{% for product in products %}
{% if depot.product_totals|get_item:product != 0 %}
{{ depot.product_totals|get_item:product }} {% endif %} |
{% endfor %}
{% endfor %}
Total |
{% for amount in totals|get_item:weekday %}
{{ amount }} |
{% endfor %}
{% endfor %}
Total
|
{% for amount in overallTotals %}
{{ amount }} |
{% endfor %}