Added SQL, dao and app - not functional
This commit is contained in:
30
templates/nova_venda_jornal.html
Normal file
30
templates/nova_venda_jornal.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nova Venda de Jornal</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Registrar Nova Venda de Jornal</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="quantidade">Quantidade:</label>
|
||||
<input type="number" id="quantidade" name="quantidade" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="valor_total">Valor Total:</label>
|
||||
<input type="number" id="valor_total" name="valor_total" step="0.01" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="data_venda">Data da Venda:</label>
|
||||
<input type="date" id="data_venda" name="data_venda" required>
|
||||
</div>
|
||||
<button type="submit">Registrar Venda</button>
|
||||
</form>
|
||||
<a href="{{ url_for('listar_vendas_jornal') }}">Voltar para Lista</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user