estagio/contas_receber/templates/admin/recebimentos_conta.html
{% load i18n admin_static %}
<!DOCTYPE html>
<html lang="pt-br" >
<head>
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}suit/bootstrap/css/bootstrap.min.css" media="all"/>
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}suit/css/suit.css" media="all">
<style>
#modal-recebimentos-conta{
height: 300px;
background-color: #edeff1;
padding: inherit;
}
#tabela-recebimentos-conta{
height: 260px;
overflow-y: auto;
display: inherit;
}
</style>
</head>
<body>
<div id="modal-recebimentos-conta">
{% if recebimentos %}
<h2>{% trans 'Recebimentos realizados da conta' %} {{ recebimentos.0.6 }}</h2>
<div id="tabela-recebimentos-conta">
<table class="table table-bordered table-condensed table-striped">
<thead>
<tr>
<th colspan="1">{% trans 'ID' %}</th>
<th>{% trans 'Data do Recebimento' %}</th>
<th>{% trans 'Valor' %}</th>
<th>{% trans 'Juros' %}</th>
<th>{% trans 'Multa' %}</th>
<th>{% trans 'Desconto' %}</th>
</tr>
</thead>
<tbody>
{% for recebimento in recebimentos %}
<tr>
<td><p>{{ recebimento.0 }}</p></td>
<td><p>{{ recebimento.1 }}</p></td>
<td><p>{{ recebimento.2 }}</p></td>
<td><p>{{ recebimento.3 }}</p></td>
<td><p>{{ recebimento.4 }}</p></td>
<td><p>{{ recebimento.5 }}</p></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<div class="alert alert-info">
<h2 class="text-center">{% trans 'Não há recebimentos realizado da conta' %} {{ conta }}.</h2>
</div>
{% endif %}
</div>
</body>
</html>