{% extends "../base.html" %} {% load i18n %} {% load juntagrico.config %} {% load juntagrico.snippets %} {% block page_title %} {% vocabulary "share_pl" as v_share_pl %}

{% blocktrans %}Gekündigte {{ v_share_pl }}{% endblocktrans %}

{% endblock %} {% block content %} {% action_date request %} {% include '../member/snippets/toggle_buttons.html' %} {{ block.super }} {% endblock %} {% block list %} {% for share in object_list %} {% endfor %}
{% vocabulary "share" %} {% vocabulary "member" %} {% trans "Kündigungsdatum" %} {% trans "Enddatum" %} {% trans "Zurückgesandt" %} {% trans "IBAN" %} {% trans "Aktionen" %} {% trans "Notizen" %}
{{ share }} {% include 'juntagrico/manage/member/snippets/display_linked.html' with member=share.member %} {{ share.cancelled_date|date:"Y-m-d" }} {{ share.termination_date|date:"Y-m-d" }} {% if share.sent_back %} {% trans "(J)" %} {% else %} {% trans "(N)" %} {% endif %} {% if share.member.iban %} {{ share.member.iban }} {% else %} {% trans "keine IBAN angegeben" %} {% endif %} {% if perms.juntagrico.change_share %} {% if share.backpayable %} {% trans "Ausbuchen" %} {% else %} {% trans "Enddatum ausstehend" %} {% endif %} {% endif %} {{ share.notes }}
{% endblock %} {% block datatable_constructor %} {{ block.super }} config.layout.topStart.features.buttons.push( id_action_button( ' {% trans "Zahlungsdatei erzeugen" %}', '{% url "share-pain001" %}', '{% csrf_token %}', '.share_id', 'share_ids' ), {% if perms.juntagrico.change_share %} id_action_button( ' {% trans "Ausbuchen" %}', '{% url 'manage-share-payout' %}', '{% csrf_token %}', '.backpayable', 'share_ids', [ {% vocabulary "share" as v_share %} '{% blocktrans %}1 {{ v_share }} ausbuchen?{% endblocktrans %}', {% vocabulary "share_pl" as v_share_pl %} '{% blocktrans %}Diese {count} {{ v_share_pl }} ausbuchen?{% endblocktrans %}' ] ) {% endif %} ) {% endblock %}