{% extends "../base.html" %} {% load i18n %} {% load juntagrico.config %} {% load juntagrico.common %} {% load juntagrico.snippets %} {% block page_title %}

{% vocabulary "subscription_pl" as v_subscription_pl %} {% blocktrans %}Pendente Änderungen der {{ v_subscription_pl }}{% endblocktrans %}

{% endblock %} {% block content %} {% action_date request %} {% include '../member/snippets/toggle_buttons.html' with co_members=True %} {% has_extra_subscriptions as b_has_extra_subscriptions %} {% if b_has_extra_subscriptions %}
{% endif %} {{ block.super }} {% endblock %} {% block list %} {% config "enable_shares" as enable_shares %} {% vocabulary "subscription" as v_subscription %} {% if enable_shares %} {% endif %} {% for subscription in object_list %} {% with cancelled_parts=subscription.parts.cancelled ordered_parts=subscription.parts.ordered %} {% if enable_shares %} {% endif %} {% endwith %} {% endfor %}
{% vocabulary "subscription" %} {% trans "Gekündigt" %} {% trans "Bestellt" %} {% trans "Kontakt" %} {% trans "Bezahlte Anteilsscheine" %} {% trans "Aktionen" %} {% trans "Notizen" %}
{{ subscription.id }} {% regroup cancelled_parts by cancellation_date as parts_by_date %} {% include "./snippets/parts_by_date.html" with grouper_title=_('Kündigungsdatum') %} {% if parts_by_date and subscription.cancellation_date %}
Auf: {{ subscription.end_date|date:"Y-m-d"|default:"?" }}
{% endif %}
{% regroup ordered_parts by creation_date as parts_by_date %} {% include "./snippets/parts_by_date.html" with grouper_title=_('Bestelldatum') %} {% if parts_by_date and not subscription.activation_date %}
Auf: {{ subscription.start_date|date:"Y-m-d"|default:"?" }}
{% endif %}
{% include "./snippets/members_linked.html" %} {{ subscription.paid_shares }} {% if subscription.paid_shares %} {% trans "(J)" %} {% else %} {% trans "(N)" %} {% endif %}
{% csrf_token %}
{{ subscription.notes }}
{% endblock %} {% block scripts %} {{ block.super }} {% endblock %} {% block datatable_constructor %} {{ block.super }} config.info = false // disabled, because it doesn't count correctly {% endblock %}