Commit 15601d1c by Billy Larru

agregando propiedades

parent 6bf73be7
......@@ -59,14 +59,20 @@ function mostrarVistaPrevia() {
let container = document.getElementById("tblProyectado");
let filas = [];
debugger
response.data.data.forEach(d => {
d.detalles_rol.forEach(dr => {
dr.fecha_entrada = dr.fecha_entrada.split(" ")[0];
dr.fecha_salida = dr.fecha_salida.split(" ")[0];
let objFila = {
policia_dni: d.policia_dni,
policia_nombres: d.policia_nombres,
fecha_entrada: dr.fecha_entrada,
fecha_salida: dr.fecha_salida,
sede_id: d.sede_id,
sede_descripcion: d.sede_descripcion,
};
});
......
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