Commit 4d863501 by Billy Larru

arreglando error en mantenimientosede

parent 5ea1fa98
......@@ -19,9 +19,9 @@ function getColumns() {
className: 'text-center',
render: (data) => {
if (data) {
return "-";
} else {
return data;
} else {
return "-";
}
}
},
......@@ -88,7 +88,7 @@ function inicializarInputsModalEditar(data = {}){
debugger
$("#spanSede").html(data.sede_descripcion);
$("#cboEditarConceptos").html(htmlConceptos);
$("#cboEditarConceptos").val(data.montoamanecidas_id);
$("#cboEditarConceptos").val(data.montoamanecida_id);
// $("#txtEditarMonto12h").val(data.monto12h);
// $("#txtEditarMonto24h").val(data.monto24h);
// debugger
......@@ -124,7 +124,7 @@ function mostrarMensajeResultadoModalRegistrar(result = {}){
}
function mostrarModalEdicion(data = {}) {
ajaxModal.get("modals/policias/mantenimientoSedes/editarConceptoSede.jsp").then((response) => {
ajaxModal.get("policias/mantenimientoSedes/editarConceptoSede.jsp").then((response) => {
swal({
title: '<strong>Editar</strong>',
html: response.data,
......@@ -194,7 +194,7 @@ function listarAsignacionesConceptosSede(objParams = {}) {
},
classNameForDatatable,
).then((nodes) => {
nodes.container.off();
nodes.container.on("click", ".registrar", function () {
let data = nodes.datatable.DataTable().row($(this).parents("tr")).data();
mostrarModalRegistrar(data);
......
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