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

{% trans "Unpublished Bills" %}

{% endblock %} {% block content %} {% include 'juntagrico/manage/member/snippets/toggle_buttons.html' %} {{ block.super }} {% endblock %} {% block list %} {% for bill in bills_list %} {% endfor %}
{% trans "Number" %} {% trans "Member" %} {% trans "Kind" %} {% trans "Date" %} {% trans "Amount" %} {% trans "User view" %}
{{ bill.id }} {% include 'juntagrico/manage/member/snippets/display_linked.html' with member=bill.member %} {{ bill.item_kinds }} {{ bill.bill_date|date:"SHORT_DATE_FORMAT" }} {{ bill.amount | floatformat:2 }} {{ bill.id }}
{% endblock %} {% block datatable_constructor %} {{ block.super }} config.layout.topStart.features.buttons.push( id_action_button( ' {% trans "Publish" %}', '{% url 'jb:bills-publish' %}', '{% csrf_token %}', '.bill-id', 'bill_ids' ) ) {% endblock %}