Commit cb789ac1 by Billy Larru

[FIX crear rol policia]

parent 0c2e47f3
//DEVELOP
const PATH_GENERAL = 'http://localhost:8080/Asistencia/';
const PATH_IP = 'http://172.16.2.37:8080/Asistencia/';
const PATH_GENERAL = 'http://localhost:7070/Asistencia/';
const PATH_IP = 'http://172.16.2.102:7070/Asistencia/';
//PRODUCCION
const PATH_DOMAIN = '';
const CODIGO_PROYECTO = '7';
......
......@@ -106,7 +106,7 @@ function listarRolesPolicias(objParams = {}) {
$("#spanHorario").html(`${data.tiporol_descripcion} ${data.frecuencia_descripcion}`);
$("#spanRangoFechas").html(`${data.fecha_inicio} - ${data.fecha_fin}`);
let htmlList = ``;
initDatePickerMultiDate()("#dpDetalleRol");
initDatePickerMultiDate("#dpDetalleRol");
let fechas = data.detalles_rol.map(dr => dr.fecha_entrada.split(" ")[0]);
$("#dpDetalleRol").datepicker("setDates", fechas);
// data.detalles_rol.forEach(x => htmlList += `<li class="list-group-item" id="${x.id}">${x.fecha_entrada}</li>`);
......
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