{% load juntagrico.common %} {% load juntagrico.config %} {% load i18n %} {% vocabulary "depot" as v_depot %}
{% vocabulary "subscription" %} | {% for product in products %}{{ product.name|safe }} | {% endfor %}Abo Abgeholt |
{% for sub in depot.active_subscriptions|dictsort:"primary_member.last_name" %}
---|---|---|
{% if sub.nickname %} {{ sub.nickname }} {% else %} {{ sub.primary_member.first_name.0 }}.{{ sub.primary_member.last_name }} {% endif %} | {% for product in products %}{% if sub.content.amounts_for_products|get_item:product != 0 %} {{ sub.content.amounts_for_products|get_item:product }} {% endif %} | {% endfor %}|
Total | {% for product in products %}{{ depot.product_totals|get_item:product }} | {% endfor %}
{{ comment }}
{% if not forloop.last %} {% endif %} {% endfor %}