-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreportes.php
66 lines (56 loc) · 1.77 KB
/
reportes.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
<?php
include("login/login_success.php");
include("conexi.php");
$link = Conectarse();
$menu_activo = "reportes";
$dt_fecha_inicial = new DateTime("first day of this month");
$dt_fecha_final = new DateTime("last day of this month");
$fa_inicial = $dt_fecha_inicial->format("Y-m-d");
$fa_final = $dt_fecha_final->format("Y-m-d");
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Reportes</title>
<?php include("styles.php");?>
</head>
<body>
<div class="container-fluid">
<?php include("menu.php");?>
<div class="row">
<div class="col-md-12">
<h3 class="text-center">Reporte Ventas por Día</h3>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<form id="form_reportes" class="form-inline">
<div class="form-group">
<label for="fecha_inicio">Desde:</label>
<input type="date" name="fecha_inicio" id="fecha_inicio" class="form-control" value="<?php echo $fa_inicial;?>">
</div>
<div class="form-group">
<label for="fecha_fin">Hasta:</label>
<input type="date" name="fecha_fin" id="fecha_fin" class="form-control" value="<?php echo $fa_final;?>">
</div>
<button type="submit" class="btn btn-primary" id="btn_buscar">
<i class="fa fa-search"></i> Buscar
</button>
</form>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-12 text-center table-responsive" id="contenedor_tabla">
</div>
</div>
</div >
<div id="ReporteTicket" class="visible-print">
</div>
<?php include('scripts.php'); ?>
<script src="js/reportes.js"></script>
</body>
</html>