
| Path : /home/gujo45me/public_html/laeconomica/public/js/egreso/ |
| Disable Functions : exec,passthru,shell_exec,system System : Linux server-604606.appsiete.com 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 [ Home ][ Zone-h ][ Jumping ][ Symlink ][ Mass Depes ][ Command ] |
| Current File : /home/gujo45me/public_html/laeconomica/public/js/egreso/detalles.js |
$(function () {
$('.btn_anular').on('click', function() {
var id = $(this).data("id");
$('#register_modal').modal({
closable: false,
onApprove : function() {
sendForm(id);
}
}).modal('show');
});
function sendForm(id) {
var data = {'id_egreso': id};
$.requestApi('/egreso/anular', data, 'POST', function (resolve) {
if (resolve) {
$.showMessages(resolve, true, APP_URL+'/egreso/listar/');
}
});
return false;
};
});