{% comment %} Re2o est un logiciel d'administration développé initiallement au Rézo Metz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2021 Jean-Romain Garnier This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load bootstrap3 %} {% load acl %} {% load i18n %} {% load logs_extra %} {% block content %}
{% for deposit in deposits_list %} {% if deposit.returned %} {% else %} {% endif %} {% endfor %}
{% trans "User" as tr_user %} {% include 'buttons/sort.html' with prefix='deposit' col="user" text=tr_user %} {% trans "Item" as tr_item %} {% include 'buttons/sort.html' with prefix='deposit' col="item" text=tr_item %} {% trans "Amount" as tr_amount %} {% include 'buttons/sort.html' with prefix='deposit' col="amount" text=tr_amount %} {% trans "Payment method" as tr_payment %} {% include 'buttons/sort.html' with prefix='deposit' col="payment" text=tr_payment %} {% trans "Date" as tr_date %} {% include 'buttons/sort.html' with prefix='deposit' col="date" text=tr_date %} {% trans "Returned" as tr_returned %} {% include 'buttons/sort.html' with prefix='deposit' col="returned" text=tr_returned %}
{{ deposit.user.get_short_name }} {{ deposit.item.name }} {{ deposit.deposit_amount }} € {{ deposit.payment_method.moyen }} {{ deposit.date }} {% can_edit deposit %} {% include 'buttons/edit.html' with href='deposits:edit-deposit' id=deposit.id %} {% acl_end %} {% history_button deposit %}
{% if deposits_list.paginator and show_pagination is not False %} {% include 'pagination.html' with list=deposits_list go_to_id="deposits" %} {% endif %}
{% endblock %}