| Server IP : 162.214.74.102 / Your IP : 216.73.216.59 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/meridional/application/plugins/modulo_fiscal/js/ |
Upload File : |
/* global bootbox */
$(document).ready(function () {
$('#download_selected').on('click', function(event) {
var camposMarcados = new Array();
$("input[type=checkbox][name='selected[]']:checked").each(function () {
// if($(this).attr("data-a")==1){
camposMarcados.push($(this).val());
// }
});
if(camposMarcados.length>0){
$("#formselected")
.append("<input type='hidden' name='selected' value='" + camposMarcados + "' />" )
.submit();
}else{
bootbox.alert( _L['There is no download file that you can download']);
}
});
});
function ConfirmCancelar(id)
{
bootbox.prompt({
title: "Cancelar Nota ? <br/> Informe a Justificativa (mínimo 15 digitos e no máximo 255)",
inputType: "textarea",
callback: function(result) {
if (result === null) {
} else {
$("#formcancelar")
.append("<input type='hidden' name='id' value='" +
id + "' /><input type='hidden' name='justify' value='" +
result + "' />").submit();
}
}
});
}
function marcarTodos(marcar) {
var itens = document.getElementsByName('selected[]');
var i = 0;
for (i = 0; i < itens.length; i++) {
itens[i].checked = marcar;
}
}