Files
controles/templates/listar_assinaturas.html
2024-11-26 10:57:25 -03:00

38 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<title>Listar Assinaturas Anuais</title>
</head>
<body>
<h1>Assinaturas Anuais</h1>
<a href="{{ url_for('nova_assinatura') }}">Adicionar Nova Assinatura</a>
<table border="1">
<thead>
<tr>
<th>ID</th>
<th>Militante ID</th>
<th>Tipo Material</th>
<th>Quantidade</th>
<th>Valor Total</th>
<th>Data Início</th>
<th>Data Fim</th>
</tr>
</thead>
<tbody>
{% for assinatura in assinaturas %}
<tr>
<td>{{ assinatura.id }}</td>
<td>{{ assinatura.militante_id }}</td>
<td>{{ assinatura.tipo_material_id }}</td>
<td>{{ assinatura.quantidade }}</td>
<td>R$ {{ assinatura.valor_total }}</td>
<td>{{ assinatura.data_inicio }}</td>
<td>{{ assinatura.data_fim }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>