<!DOCTYPE html> <html lang="es" ng-app="app"> <?php if (!isset($_SESSION)) { session_start(); } if (isset($_SESSION['id_imprimere'])) { require_once '/../../php/clases/ventas.class.php'; $class_venta = new venta(); $ventas_diarias = conexion::jsondata($class_venta->getventas_diarias()); $ventas_mensuales = conexion::jsondata($class_venta->getventas_mensuales()); } else { session_destroy(); header("Location: ../../index.php"); } ?> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <title>Ventas</title> <link rel="shortcut icon" type="image/x-icon" href="../../favicon.png"> <link rel="stylesheet" href="../../css/bootstrap.css"> <link rel="stylesheet" href="../../css/flat-ui.css"> </head> <body> <?php require_once 'menu_ingreso.php'; ?>