Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

30
javascript/reportes-tickets.js Executable file
View File

@@ -0,0 +1,30 @@
function Generar()
{
new Ajax.Request(WEB_ROOT+'/ajax/reportes-tickets.php',
{
method:'post',
parameters:$('frmTickets').serialize(true),
onLoading: function(){
$('loadBusqueda').show();
$('contenido').innerHTML = "";
},
onSuccess: function(transport){
var response = transport.responseText || "no response text";
var splitResponse = response.split("[#]");
$('loadBusqueda').hide();
if(splitResponse[0] == "ok")
$("contenido").innerHTML = splitResponse[1];
},
onFailure: function(){ alert('Something went wrong...') }
});
}
function ExportInv()
{
$('frmTickets').submit();
return true;
}