Commit 30417e80 by Billy Larru

control de asistencia arreglado

parent 893ca942
let asistencias = [], sedes = []; let asistencias = [], sedes = [];
let htmlSedes; let htmlSedes;
function getColumns() { function getColumns() {
let columns = [ let columns = [
{ {
title: `N°`, title: `N°`,
data: `id`, data: `id`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `APELLIDOS Y NOMBRES`, title: `APELLIDOS Y NOMBRES`,
data: `policia_nombres` data: `policia_nombres`
}, },
{ {
title: `SEDE`, title: `SEDE`,
data: `sede_descripcion`, data: `sede_descripcion`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `HORARIO`, title: `HORARIO`,
data: `horario`, data: `horario`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `TIPO`, title: `TIPO`,
data: `tiporol_descripcion`, data: `tiporol_descripcion`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `FRECUENCIA`, title: `FRECUENCIA`,
data: `frecuencia_descripcion`, data: `frecuencia_descripcion`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `FECHA ENTRADA`, title: `FECHA ENTRADA`,
data: `fecha_entrada`, data: `fecha_entrada`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `MARC. ENTRADA`, title: `MARC. ENTRADA`,
data: null, data: null,
className: 'text-center', className: 'text-center',
render: data => { render: data => {
let label = ""; let label = "";
if (data.estado == 3 || data.estado == 4 || data.estado == 9) { if (data.estado == 3 || data.estado == 4 || data.estado == 9) {
return `-`; return `-`;
} }
if (data.marcacion_entrada === null) { if (data.marcacion_entrada === null) {
return null; return null;
} }
if (data.huella_entrada === 1) { if (data.huella_entrada === 1) {
label = "text-migration font-weight-bold"; label = "text-migration font-weight-bold";
} else if (data.huella_entrada === 0) { } else if (data.huella_entrada === 0) {
label = "text-default"; label = "text-default";
} }
return `<span class="${label}">${data.marcacion_entrada}</span>`; return `<span class="${label}">${data.marcacion_entrada}</span>`;
} }
}, },
{ {
title: `MARC. SALIDA`, title: `MARC. SALIDA`,
data: null, data: null,
className: 'text-center', className: 'text-center',
render: (data) => { render: (data) => {
let label = ""; let label = "";
if (data.estado == 3 || data.estado == 4 || data.estado == 9) { if (data.estado == 3 || data.estado == 4 || data.estado == 9) {
return `-`; return `-`;
} }
if (data.marcacion_salida === null) { if (data.marcacion_salida === null) {
return null; return null;
} }
if (data.huella_salida === 1) { if (data.huella_salida === 1) {
label = "text-migration font-weight-bold"; label = "text-migration font-weight-bold";
} else if (data.huella_salida === 0) { } else if (data.huella_salida === 0) {
label = "text-default"; label = "text-default";
} }
return `<span class="${label}">${data.marcacion_salida}</span>`; return `<span class="${label}">${data.marcacion_salida}</span>`;
} }
}, },
{ {
title: `FECHA SALIDA`, title: `FECHA SALIDA`,
data: `fecha_salida`, data: `fecha_salida`,
className: 'text-center' className: 'text-center'
}, },
{ {
title: `ESTADO`, title: `ESTADO`,
data: null, data: null,
className: 'text-center', className: 'text-center',
render: (data) => { render: (data) => {
let label = ""; let label = "";
let estado = ""; let estado = "";
switch (data.estado) { switch (data.estado) {
case 1: case 1:
label = "label label-success"; label = "label label-success";
estado = "TEMPRANO"; estado = "TEMPRANO";
break; break;
case 2: case 2:
label = "label label-warning"; label = "label label-warning";
estado = "TARDANZA"; estado = "TARDANZA";
break; break;
case 3: case 3:
label = "label label-danger"; label = "label label-danger";
estado = "FCA"; estado = "FCA";
break; break;
case 4: case 4:
label = "label label-danger"; label = "label label-danger";
estado = "FSA"; estado = "FSA";
break; break;
case 5: case 5:
label = "label label-default"; label = "label label-default";
estado = "NO MARCÓ"; estado = "NO MARCÓ";
break; break;
case 9: case 9:
label = "label label-info"; label = "label label-info";
estado = "LSGH"; estado = "LSGH";
break; break;
case 10: case 10:
label = "label bg-purple"; label = "label bg-purple";
estado = "ENTRADA PENDIENTE"; estado = "ENTRADA PENDIENTE";
break; break;
case 11: case 11:
label = "label bg-purple"; label = "label bg-purple";
estado = "SALIDA PENDIENTE"; estado = "SALIDA PENDIENTE";
break; break;
case null: case null:
label = "label bg-purple"; label = "label bg-purple";
estado = "PENDIENTE"; estado = "PENDIENTE";
break; break;
} }
return `<span class="${label}">${estado}</span>`; return `<span class="${label}">${estado}</span>`;
} }
}, },
{ {
title: `ACCIONES`, title: `ACCIONES`,
data: null, data: null,
render: (data) => { render: (data) => {
let acciones = ""; let acciones = "";
switch (data.estado) { switch (data.estado) {
case 10: case 10:
case 11: case 11:
case null: case null:
acciones = `<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i>&nbsp;&nbsp; </span> acciones = `<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span>`; <span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span>`;
break; break;
} }
return acciones; return acciones;
} }
} }
]; ];
return columns; return columns;
} }
function getColumnDefs() { function getColumnDefs() {
let columnDefs = [ let columnDefs = [
{orderable: false, width: '5%', targets: 0, className: "text-center"}, {orderable: false, width: '1%', targets: 0, className: "text-center"},
{orderable: false, width: '5%', targets: 1}, {orderable: false, width: '13%', targets: 1},
{orderable: false, width: '30%', targets: 2, className: "text-center"}, {orderable: false, width: '8%', targets: 2, className: "text-center"},
{orderable: false, width: '7%', targets: 3, className: "text-center"}, {orderable: false, width: '5%', targets: 3, className: "text-center"},
{orderable: false, width: '7%', targets: 4, className: "text-center"}, {orderable: false, width: '7%', targets: 4, className: "text-center"},
{orderable: false, width: '10%', targets: 5, className: "text-center"}, {orderable: false, width: '5%', targets: 5, className: "text-center"},
{orderable: false, width: '8%', targets: 6, className: "text-center"}, {orderable: false, width: '6%', targets: 6, className: "text-center"},
{orderable: false, width: '8%', targets: 7, className: "text-center"}, {orderable: false, width: '3%', targets: 7, className: "text-center"},
{orderable: false, width: '8%', targets: 8, className: "text-center"}, {orderable: false, width: '3%', targets: 8, className: "text-center"},
{orderable: false, width: '8%', targets: 9, className: "text-center"}, {orderable: false, width: '6%', targets: 9, className: "text-center"},
{orderable: false, width: '8%', targets: 10, className: "text-center"}, {orderable: false, width: '5%', targets: 10, className: "text-center"},
{orderable: false, width: '8%', targets: 11, className: "text-center"}, {orderable: false, width: '8%', targets: 11, className: "text-center"},
{orderable: false, width: '8%', targets: 12, className: "text-center"} ];
]; return columnDefs;
return columnDefs;
} }
function inicializarInputsModal(data = {}){ function inicializarInputsModal(data = {}){
$("#spanNombres").html(data.policia_nombres); $("#spanNombres").html(data.policia_nombres);
$("#dpAsistencia").datepicker({ $("#dpAsistencia").datepicker({
minDate: new Date(2000, 1 - 1, 1), maxDate: new Date(), minDate: new Date(2000, 1 - 1, 1), maxDate: new Date(),
dateFormat: 'dd/mm/yy', dateFormat: 'dd/mm/yy',
setDate: 'now', setDate: 'now',
changeMonth: true, changeMonth: true,
changeYear: true, changeYear: true,
yearRange: '-18:+0', yearRange: '-18:+0',
onSelect: function () { onSelect: function () {
// $(this).valid(); // $(this).valid();
} }
}); });
$("#dpAsistencia").datepicker('setDate', data.fecha_entrada); $("#dpAsistencia").datepicker('setDate', data.fecha_entrada);
$("#cboTipoRegistro").change(cambioTipoRegistro); $("#cboTipoRegistro").change(cambioTipoRegistro);
} }
function mostrarMensajeResultadoModal(result = {}) { function mostrarMensajeResultadoModal(result = {}) {
if (result.value) { if (result.value) {
swal({ swal({
type: 'success', type: 'success',
title: '¡Asistencia registrada!', title: '¡Asistencia registrada!',
showConfirmButton: false, showConfirmButton: false,
timer: 1500 timer: 1500
}) })
} }
} }
function mostrarModalRegistroAsistencia(data = {}) { function mostrarModalRegistroAsistencia(data = {}) {
ajaxModal.get("policias/controlAsistencia/registrarAsistencia.jsp").then((response) => { ajaxModal.get("policias/controlAsistencia/registrarAsistencia.jsp").then((response) => {
swal({ swal({
title: '<strong>Registrar Asistencia</strong>', title: '<strong>Registrar Asistencia</strong>',
html: response.data, html: response.data,
showCloseButton: true, showCloseButton: true,
showCancelButton: true, showCancelButton: true,
focusConfirm: false, focusConfirm: false,
confirmButtonText: '<i class="fa fa-thumbs-up"></i> Registrar asistencia', confirmButtonText: '<i class="fa fa-thumbs-up"></i> Registrar asistencia',
confirmButtonAriaLabel: 'Thumbs up, great!', confirmButtonAriaLabel: 'Thumbs up, great!',
cancelButtonText: 'Cancelar', cancelButtonText: 'Cancelar',
cancelButtonAriaLabel: 'Thumbs down', cancelButtonAriaLabel: 'Thumbs down',
width: '30%', width: '30%',
onOpen: () => { onOpen: () => {
inicializarInputsModal(data); inicializarInputsModal(data);
} }
}).then((result) => { }).then((result) => {
mostrarMensajeResultadoModal(result); mostrarMensajeResultadoModal(result);
}); });
}); });
} }
function listarAsistencias(objParams = {}) { function listarAsistencias(objParams = {}) {
ajaxWebService.get(URI_POLICIAS_ASISTENCIA, objParams).then((response) => { ajaxWebService.get(URI_POLICIAS_ASISTENCIA, objParams).then((response) => {
let columns = getColumns(); let columns = getColumns();
let columnDefs = getColumnDefs(); let columnDefs = getColumnDefs();
let wrapsNameDatatable = `divAsistencias`;
let wrapsNameDatatable = `divAsistencias`; let classNameForDatatable = `display table table-bordered`;
let classNameForDatatable = `display table table-bordered`; debugger
let footer = false; makeDatatable(
debugger wrapsNameDatatable,
makeDatatable( {
{ data: response.data,
data: response.data, columns,
columns, columnDefs,
columnDefs, },
wrapsNameDatatable, classNameForDatatable
classNameForDatatable, ).then((nodes) => {
footer nodes.container.on("click", ".registrar", function () {
} let data = nodes.datatable.DataTable().row($(this).parents("tr")).data();
).then((datatable) => { mostrarModalRegistroAsistencia(data);
$(datatable).on("click", ".registrar", function () { });
let data = $(datatable).DataTable().row($(this).parents("tr")).data(); });
mostrarModalRegistroAsistencia(data); }
}); );
});
});
} }
function listarSedes(selectorName) { function listarSedes(selectorName) {
ajaxWebService.get(URI_SEDES).then((result) => { ajaxWebService.get(URI_SEDES).then((result) => {
let sedes = result.data; let sedes = result.data;
sedes = _.orderBy(sedes, s => s.descripcion); sedes = _.orderBy(sedes, s => s.descripcion);
let html = `<option value="">[TODOS]</option>`; let html = `<option value="">[TODOS]</option>`;
sedes.forEach(sede => html += `<option value="${sede.codigo}">${sede.descripcion}</option>`); sedes.forEach(sede => html += `<option value="${sede.codigo}">${sede.descripcion}</option>`);
$(`${selectorName}`).html(html); $(`${selectorName}`).html(html);
$('.select-search').select2(); $('.select-search').select2();
}); });
} }
function listarPolicias(selectorName) { function listarPolicias(selectorName) {
ajaxWebService.get(URI_POLICIAS).then((result) => { ajaxWebService.get(URI_POLICIAS).then((result) => {
let policias = result.data; let policias = result.data;
policias = _.orderBy(policias, p => p.nombres); policias = _.orderBy(policias, p => p.nombres);
let html = `<option value="">[TODOS]</option>`; let html = `<option value="">[TODOS]</option>`;
policias.forEach(p => html += `<option documento_identidad="${p.dni}" value="${p.id}">${p.nombres}</option>`); policias.forEach(p => html += `<option documento_identidad="${p.dni}" value="${p.id}">${p.nombres}</option>`);
$(`${selectorName}`).html(html); $(`${selectorName}`).html(html);
$('.select-search').select2(); $('.select-search').select2();
}); });
} }
function listarEstadoAsistencia() { function listarEstadoAsistencia() {
ajaxWebService.get(URI_ESTADO_ASISTENCIA).then((response) => { ajaxWebService.get(URI_ESTADO_ASISTENCIA).then((response) => {
let estados = response.data; let estados = response.data;
let html = ""; let html = "";
estados.forEach(e => html += `<option value="${e.codigo}">${e.nombre}</option>`); estados.forEach(e => html += `<option value="${e.codigo}">${e.nombre}</option>`);
$("#cboEstadoAsistencia").html(html); $("#cboEstadoAsistencia").html(html);
$("#cboEstadoAsistencia").selectpicker('refresh'); $("#cboEstadoAsistencia").selectpicker('refresh');
$('.selectpicker').selectpicker({ $('.selectpicker').selectpicker({
style: 'btn-info', style: 'btn-info',
size: 4 size: 4
}); });
$(".btn.dropdown-toggle.bs-placeholder").removeClass("btn-info"); $(".btn.dropdown-toggle.bs-placeholder").removeClass("btn-info");
$(".btn.dropdown-toggle.bs-placeholder").css({ $(".btn.dropdown-toggle.bs-placeholder").css({
border: "1px solid #ddd", border: "1px solid #ddd",
backgroundColor: "#fff" backgroundColor: "#fff"
}); });
}); });
} }
function cambioTipoRegistro() { function cambioTipoRegistro() {
debugger debugger
let criterio = $(this).val(); let criterio = $(this).val();
console.log(criterio); console.log(criterio);
if (criterio == 0) { if (criterio == 0) {
let html = ``; let html = ``;
$("#divFiltroModal").html(html); $("#divFiltroModal").html(html);
} }
if (criterio == 1 || criterio == 2) { if (criterio == 1 || criterio == 2) {
let html = let html =
`<div class=''> `<div class=''>
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<label style="font-size: small"> <label style="font-size: small">
Marcación: Marcación:
...@@ -332,10 +329,10 @@ function cambioTipoRegistro() { ...@@ -332,10 +329,10 @@ function cambioTipoRegistro() {
<input type="time" id="txtHora" name="txtHora" value="" class="form-control" placeholder="Ingrese la hora" style="text-transform:uppercase;"> <input type="time" id="txtHora" name="txtHora" value="" class="form-control" placeholder="Ingrese la hora" style="text-transform:uppercase;">
</div> </div>
</div>`; </div>`;
$("#divFiltroModal").html(html); $("#divFiltroModal").html(html);
} else if (criterio == 3 || criterio == 4) { } else if (criterio == 3 || criterio == 4) {
let html = let html =
`<div class='col-md-12'> `<div class='col-md-12'>
<div class="form-group"> <div class="form-group">
<label style="font-size: small"> <label style="font-size: small">
Observación: Observación:
...@@ -344,66 +341,42 @@ function cambioTipoRegistro() { ...@@ -344,66 +341,42 @@ function cambioTipoRegistro() {
<textarea type="text" id="txtObservacion" name="txtObservacion" value="" class="form-control" placeholder="Ingrese el motivo de la falta" rows="3" style="resize: none;"/> <textarea type="text" id="txtObservacion" name="txtObservacion" value="" class="form-control" placeholder="Ingrese el motivo de la falta" rows="3" style="resize: none;"/>
</div> </div>
</div>`; </div>`;
$("#divFiltroModal").html(html); $("#divFiltroModal").html(html);
} }
} }
function buscarAsistencias() { function buscarAsistencias() {
let policia_id = $("#cboPoliciasFiltro").val(); let policia_id = $("#cboPoliciasFiltro").val();
let sede_id = $("#cboSedesFiltro").val(); let sede_id = $("#cboSedesFiltro").val();
let params = cleanQueryParams({ let params = cleanQueryParams({
policia_id, policia_id,
sede_id sede_id
}); });
listarAsistencias({params}); listarAsistencias({params});
} }
$().ready(function () { $().ready(function () {
defaultConfigDatePicker(); defaultConfigDatePicker();
listarEstadoAsistencia(); listarEstadoAsistencia();
listarPolicias("#cboPoliciasFiltro"); listarPolicias("#cboPoliciasFiltro");
listarSedes("#cboSedesFiltro"); listarSedes("#cboSedesFiltro");
$('.selectpicker').selectpicker({ $('.selectpicker').selectpicker({
style: 'btn-info', style: 'btn-info',
size: 4 size: 4
}); });
$(".btn.dropdown-toggle.bs-placeholder").removeClass("btn-info"); $(".btn.dropdown-toggle.bs-placeholder").removeClass("btn-info");
$(".btn.dropdown-toggle.bs-placeholder").css({ $(".btn.dropdown-toggle.bs-placeholder").css({
border: "1px solid #ddd", border: "1px solid #ddd",
backgroundColor: "#fff" backgroundColor: "#fff"
}); });
$("#dpFechaInicio").datepicker({ initDatePicker("#dpFechaInicio", "#dpFechaFin");
minDate: new Date(2000, 1 - 1, 1), maxDate: new Date(2018, 6, 31), $("#btnVerTodos").click(listarAsistencias);
dateFormat: 'dd/mm/yy', $("#btnVerAsistencias").click(buscarAsistencias);
// defaultDate: new Date(),
changeMonth: true,
changeYear: true,
yearRange: '-18:0',
onSelect: function () {
// $(this).valid();
}
});
$("#dpFechaInicio").datepicker('setDate', 'now');
$("#dpFechaFin").datepicker({
minDate: new Date(2000, 1 - 1, 1), maxDate: new Date(2018, 6, 31),
dateFormat: 'dd/mm/yy',
defaultDate: new Date(),
changeMonth: true,
changeYear: true,
yearRange: '-18:+0',
onSelect: function () {
// $(this).valid();
}
});
$("#dpFechaFin").datepicker('setDate', 'now');
$("#btnVerTodos").click(listarAsistencias);
$("#btnVerAsistencias").click(buscarAsistencias);
}); });
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<div class="text-center"> <div class="text-center">
<button class="btn btn-primary" id="btnVerAsistencias"><i class="fa fa-search"></i> Ver Asistencias</button>&nbsp; <button class="btn btn-primary" id="btnVerAsistencias"><i class="fa fa-search"></i> Aplicar filtro</button>&nbsp;
<button class="btn btn-primary" id="btnVerTodos"><i class="fa fa-search"></i> Ver Todos</button>&nbsp; <button class="btn btn-primary" id="btnVerTodos"><i class="fa fa-search"></i> Mostrar todos</button>&nbsp;
</div> </div>
</div> </div>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<td class="text-center">-</td> <td class="text-center">-</td>
<td class="text-center"><span class="label label-danger" title="Falta Con Aviso">FCA</span></td> <td class="text-center"><span class="label label-danger" title="Falta Con Aviso">FCA</span></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td class="text-center">4</td> <td class="text-center">4</td>
...@@ -227,8 +227,8 @@ ...@@ -227,8 +227,8 @@
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -247,8 +247,8 @@ ...@@ -247,8 +247,8 @@
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -267,8 +267,8 @@ ...@@ -267,8 +267,8 @@
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i>&nbsp;&nbsp; </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span> <span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i>&nbsp;&nbsp; </span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -360,7 +360,6 @@ ...@@ -360,7 +360,6 @@
<script src="../plantilla/assets/js/core/libraries/jquery_ui/interactions.min.js"></script> <script src="../plantilla/assets/js/core/libraries/jquery_ui/interactions.min.js"></script>
<script src="../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"></script> <script src="../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"></script>
<script src="../plantilla/assets/js/plugins/tables/datatables/datatables.min.js" type="text/javascript"></script>
<script src="../js/lib/bootstrap-select/bootstrap-select.min.js" type="text/javascript"></script> <script src="../js/lib/bootstrap-select/bootstrap-select.min.js" type="text/javascript"></script>
<!--<script src="../plantilla/assets/js/plugins/pickers/datepicker.js" type="text/javascript"></script>--> <!--<script src="../plantilla/assets/js/plugins/pickers/datepicker.js" type="text/javascript"></script>-->
<script src="../plantilla/assets/js/plugins/pickers/daterangepicker.js"></script> <script src="../plantilla/assets/js/plugins/pickers/daterangepicker.js"></script>
...@@ -368,7 +367,6 @@ ...@@ -368,7 +367,6 @@
<script src="../plantilla/assets/js/plugins/extensions/contextmenu.js"></script> <script src="../plantilla/assets/js/plugins/extensions/contextmenu.js"></script>
<script src="../js/lib/lodash.js" type="text/javascript"></script> <script src="../js/lib/lodash.js" type="text/javascript"></script>
<script src="../js/lib/sweetalert2.min.js" type="text/javascript"></script> <script src="../js/lib/sweetalert2.min.js" type="text/javascript"></script>
<script src="../js/lib/axios.min.js" type="text/javascript"></script>
<script src="../js/pages/control_asistencia_policias.js" type="text/javascript"></script> <script src="../js/pages/control_asistencia_policias.js" type="text/javascript"></script>
<!--js--> <!--js-->
</body> </body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment