{% 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 %} {% if perms.juntagrico.change_subscription %} {% if 'subscription_activated'|notified or 'subscription_deactivated'|notified %}
{% vocabulary 'member_type_pl' as v_member_type_pl %} {% if 'subscription_activated'|notified and 'subscription_deactivated'|notified %} {% blocktrans trimmed %} {{ v_member_type_pl }} werden bei Aktivierung und Deaktivierung automatisch per E-Mail benachrichtigt. {% endblocktrans %} {% elif 'subscription_activated'|notified %} {% blocktrans trimmed %} {{ v_member_type_pl }} werden bei Aktivierung, aber NICHT bei Deaktivierung automatisch per E-Mail benachrichtigt. {% endblocktrans %} {% else %} {% blocktrans trimmed %} {{ v_member_type_pl }} werden bei Deaktivierung, aber NICHT bei Aktivierung automatisch per E-Mail benachrichtigt. {% endblocktrans %} {% endif %}
{% endif %} {% endif %} {% 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 show_identifier %} {% endif %} {% if enable_shares %} {% endif %} {% for subscription in object_list %} {% with canceled_parts=subscription.canceled_parts ordered_parts=subscription.ordered_parts %} {% if show_identifier %} {% endif %} {% if enable_shares %} {% endif %} {% endwith %} {% endfor %}
{% vocabulary "subscription" %} {% trans "Kennzeichnung" %} {% trans "Gekündigt" %} {% trans "Bestellt" %} {% trans "Kontakt" %} {% blocktrans with v_share_pl=vocabulary.share_pl %}Bezahlte {{ v_share_pl }}{% endblocktrans %} {% trans "Aktionen" %} {% trans "Notizen" %}
{% include './snippets/display_linked.html' %} {{ subscription.identifier|default_if_none:'' }} {% regroup canceled_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 %}