Added SQL, dao and app - not functional

This commit is contained in:
Tesouraria CRSP
2024-11-26 10:57:25 -03:00
parent 158ec60b58
commit d6357803b8
25 changed files with 1580 additions and 0 deletions

30
templates/nova_cota.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<title>Nova Cota Mensal</title>
</head>
<body>
<h1>Registrar Nova Cota Mensal</h1>
<form method="post">
<div>
<label for="militante_id">ID do Militante:</label>
<input type="number" id="militante_id" name="militante_id" required>
</div>
<div>
<label for="valor_antigo">Valor Antigo:</label>
<input type="number" id="valor_antigo" name="valor_antigo" step="0.01" required>
</div>
<div>
<label for="valor_novo">Valor Novo:</label>
<input type="number" id="valor_novo" name="valor_novo" step="0.01" required>
</div>
<div>
<label for="data_alteracao">Data de Alteração:</label>
<input type="date" id="data_alteracao" name="data_alteracao" required>
</div>
<button type="submit">Registrar Cota</button>
</form>
<a href="{{ url_for('listar_cotas') }}">Voltar para Lista</a>
</body>
</html>