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.
50 lines
1.7 KiB
50 lines
1.7 KiB
{% extends 'base.html' %}
|
|
{% block main %}
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
<li><span class="glyphicon glyphicon-home"></span></li>
|
|
<li><a href="{% url 'abongroup_list_link' %}">Группы абонентов</a></li>
|
|
<li class="active">Должники</li>
|
|
</ol>
|
|
|
|
|
|
<h3>Народ, у которого есть неоплаченные услуги</h3>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th width="15">#</th>
|
|
<th>Абонент</th>
|
|
<th>Цена</th>
|
|
<th>Комментарий</th>
|
|
<th>Дата создания</th>
|
|
<th>Автор</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for invoice in invoices %}
|
|
<tr>
|
|
<td>{{ invoice.id }}</td>
|
|
<td><a href="{% url 'abonhome_link' 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 'other_profile' invoice.author.id %}"
|
|
target="_blank">{{ invoice.author.username }}</a></td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="7">
|
|
Нет должников
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% include 'toolbar_page.html' with pag=peoples %}
|
|
|
|
{% endblock %}
|