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

31
javascript/envios-transito.js Executable file
View File

@@ -0,0 +1,31 @@
function Search()
{
new Ajax.Request(WEB_ROOT+'/ajax/envios-transito.php',
{
method:'post',
parameters: $('frmSearch').serialize(),
onLoading: function(){
$('contenido').innerHTML = LOADER2;
},
onSuccess: function(transport){
var response = transport.responseText || "no response text";
var splitResponse = response.split("[#]");
$('contenido').innerHTML = "";
if(splitResponse[0] == "ok"){
$('contenido').innerHTML = splitResponse[1];
}else{
ShowStatus(splitResponse[1]);
HideFview();
}
},
onFailure: function(){ alert('Something went wrong...') }
});
}
function ExportGral(){
$("frmSearch").submit();
}