You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.8 KiB
52 lines
1.8 KiB
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% block main %}
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
<li><span class="glyphicon glyphicon-home"></span></li>
|
|
<li><a href="{% url 'abonapp:group_list' %}">{% trans 'User groups' %}</a></li>
|
|
<li class="active">{% trans 'Debtors' %}</li>
|
|
</ol>
|
|
|
|
{% include 'message_block.html' %}
|
|
|
|
<h3>{% trans 'People with debts' %}</h3>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th width="15">#</th>
|
|
<th>{% trans 'Sub' %}</th>
|
|
<th>{% trans 'Sum of pay' %}</th>
|
|
<th>{% trans 'Comment' %}</th>
|
|
<th>{% trans 'Date of make' %}</th>
|
|
<th>{% trans 'Author' %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for invoice in invoices %}
|
|
<tr>
|
|
<td>{{ invoice.id }}</td>
|
|
<td><a href="{% url 'abonapp:abon_home' invoice.abon.group.id invoice.abon.id %}"
|
|
target="_blank">{{ invoice.abon.username }}</a></td>
|
|
<td>{{ invoice.amount }}</td>
|
|
<td>{{ invoice.comment }}</td>
|
|
<td>{{ invoice.date_create|date:'d b H:i' }}</td>
|
|
<td><a href="{% url 'acc_app:other_profile' invoice.author.id %}"
|
|
target="_blank">{{ invoice.author.username }}</a></td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="7">
|
|
{% trans 'Debts not found' %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% include 'toolbar_page.html' with pag=peoples %}
|
|
|
|
{% endblock %}
|