示例#1
0
    require '../includes/funcionesVentas.php';
    $serviciosProductos = new ServiciosProductos();
    $serviciosClientes = new ServiciosClientes();
    $serviciosTurnos = new ServiciosTurnos();
    $serviciosVentas = new ServiciosVentas();
    $serviciosFiestas = new ServiciosFiestas();
    $resProductos = $serviciosProductos->traerProductosLimite(5);
    $resProveedores = $serviciosProductos->traerProveedores();
    $resTipoProducto = $serviciosProductos->traerTipoProducto();
    $resClientes = $serviciosClientes->traerClientes();
    $cantClientes = mysql_num_rows($resClientes);
    $fecha = date('Y-m-d');
    $resTurnos = $serviciosTurnos->traerTurnosPorDia($fecha);
    $cantTurnos = mysql_num_rows($resTurnos);
    $resPrimerUltimoTurno = $serviciosTurnos->traerPrimerUltimoTurno(date('Y-m-d'));
    $resTurnosAgrup = $serviciosTurnos->traerTurnosPorDiaAgrupado($fecha);
    $cantFiestas = mysql_num_rows($serviciosFiestas->traerFiestasPost($fecha));
    $resFiestas = $serviciosFiestas->traerFiestasPost($fecha);
    $resVentas = $serviciosVentas->traerVentasPorDiaEntero();
    $cantVentas = mysql_num_rows($serviciosVentas->traerVentasPorDiaEntero());
    $stockminimo = $serviciosProductos->traerProductosStockMin();
    ?>

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gestión de Cancha: La Caldera del Diablo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">