-
Notifications
You must be signed in to change notification settings - Fork 1
/
reserva.php
70 lines (70 loc) · 3.8 KB
/
reserva.php
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
include("includes/header.php")
?>
<main class="pedido-reserva">
<div class="contenedor contenedor-reserva">
<h1>Reserva</h1>
<div class="seccion">
<h2>Registrarse</h2>
<form action="" id="form-buscar-cliente">
<div class="seccion-form">
<div class="campo campo-centro">
<label for="buscar-dni">Buscar Cliente</label>
<input type="number" name="buscar-dni" id="buscar-dni" placeholder="Ingrese su DNI" min="11111111">
<input type="hidden" name="accion" value="buscar-cliente">
<input type="submit" value="Buscar" id="btn-buscar-cliente">
</div>
</div>
</form>
<form action="" id="form-registrar-cliente">
<div class="seccion-form">
<div class="div-form">
<div class="campo-form">
<label for="dni-cliente">DNI</label>
<input type="number" name="dni" id="dni" placeholder="73947582" min="11111111" required>
</div>
<div class="campo-form">
<label for="nombre-cliente">Nombre</label>
<input type="text" name="nombre-cliente" id="nombre-cliente" placeholder="Aarón Rojas" required>
</div>
<div class="campo-form">
<label for="celular-cliente">Celular</label>
<input type="tel" name="celular-cliente" id="celular-cliente" placeholder="978488529" required>
</div>
</div>
<div class="campo-form">
<input type="hidden" name="accion" value="registrar">
<input type="submit" value="Registrar" class="btn btn-centro" id="btn-registrar-cliente">
</div>
</div>
</form>
</div>
<form id="form-registrar-reserva">
<div class="seccion">
<h2>Datos de la reserva</h2>
<div class="seccion-form">
<div class="div-form">
<div class="campo-form">
<input type="hidden" name="codigo-cliente" id="codigo-cliente">
<label for="numero-comensales">Numero de comensales</label>
<input type="number" name="numero-comensales" id="numero-comensales" placeholder="6" min="1" required>
</div>
<div class="campo-form">
<label for="fecha">Fecha</label>
<input type="date" name="fecha" id="fecha" placeholder="23/12/2021" min="<?php echo date("Y-m-d") ?>" required>
</div>
<div class="campo-form">
<label for="hora">Hora</label>
<input type="time" name="hora" id="hora" placeholder="16:00" min="18:00:00" max="03:00:00" required>
</div>
</div>
<input type="hidden" name="accion" value="registrar">
<input type="submit" value="Reservar" class="btn btn-centro">
</div>
</div>
</form>
</div>
</main>
<?php
include("includes/footer.php")
?>