<!-- ======================================================= * Template Name: NiceAdmin - v2.5.0 * Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/ * Author: BootstrapMade.com * License: https://bootstrapmade.com/license/ ======================================================== -->
Reports /Today
document.addEventListener("DOMContentLoaded", () => { new ApexCharts(document.querySelector("#reportsChart"), { series: [{ name: 'Sales', data: [31, 40, 28, 51, 42, 82, 56], }, { name: 'Revenue', data: [11, 32, 45, 32, 34, 52, 41] }, { name: 'Customers', data: [15, 11, 32, 18, 9, 24, 11] }], chart: { height: 350, type: 'area', toolbar: { show: false }, }, markers: { size: 4 }, colors: ['#4154f1', '#2eca6a', '#ff771d'], fill: { type: "gradient", gradient: { shadeIntensity: 1, opacityFrom: 0.3, opacityTo: 0.4, stops: [0, 90, 100] } }, dataLabels: { enabled: false }, stroke: { curve: 'smooth', width: 2 }, xaxis: { type: 'datetime', categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"] }, tooltip: { x: { format: 'dd/MM/yy HH:mm' }, } }).render(); });
$(document).ready(function(){ var cookied = readCookie('sessionId'); $("#cajaUsuario").text(cookied); if(cookied==''|| cookied.equals('')){ swal("Notificación", "Inicie sesión", "error"); window.location.href = 'https://inducom-ec.com/inicio-sesion/'; }else{ iniciarr(); } }); function iniciarr(){ var cookied = readCookie('sessionId'); $("#cajaUsuario").text(cookied); } function readCookie(name) { var i, c, ca, nameEQ = name + "="; ca = document.cookie.split(';'); for(i=0;i < ca.length;i++) { c = ca[i]; while (c.charAt(0)==' ') { c = c.substring(1,c.length); } if (c.indexOf(nameEQ) == 0) { return c.substring(nameEQ.length,c.length); } } return ''; }