-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (27 loc) · 1.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registro de Vendas</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Registro de Vendas</h1>
<input type="date" id="dateInput" placeholder="Selecione a data">
<label for="vendaInput">Venda (R$):</label>
<input type="number" id="vendaInput" placeholder="0.00" step="0.01" min="0">
<button onclick="registrarAgendamento()">Registrar</button>
<div id="totalContagem">Vendas do Dia: <span id="totalAgendamentos">0</span></div>
<label for="startDate">Filtrar por período</label>
<input type="date" id="startDate">
<input type="date" id="endDate">
<button onclick="filtrarRegistros()">Filtrar</button>
<button id="limparFiltro">Limpar Filtro</button>
</div>
<div class="floating-card" id="floatingCardSuccess">Agendamento realizado com sucesso</div>
<div class="floating-card" id="errorCard" style="display: none; background-color: #FF6B6B">Selecione uma data</div>
<script src="script.js"></script>
</body>
</html>