";
print "location.href='../sigesp_inicio_sesion.php'";
print "";
}
?>
Listado de Comprobante Formato1
uf_conectar();
require_once("../shared/class_folder/class_datastore.php");
$io_ds=new class_datastore();
require_once("../shared/class_folder/class_sql.php");
$io_sql=new class_sql($con);
require_once("../shared/class_folder/class_mensajes.php");
$io_msg=new class_mensajes();
require_once("../shared/class_folder/class_funciones.php");
$io_funcion=new class_funciones();
require_once("../shared/class_folder/grid_param.php");
$grid=new grid_param();
$la_emp=$_SESSION["la_empresa"];
$ldt_periodo=$_SESSION["la_empresa"]["periodo"];
$li_ano=substr($ldt_periodo,0,4);
if(array_key_exists("operacion",$_POST))
{
$ls_operacion=$_POST["operacion"];
}
else
{
$ls_operacion="";
}
if (array_key_exists("txtcuentades",$_POST))
{
$ls_cuentades=$_POST["txtcuentades"];
}
else
{
$ls_cuentades="";
}
if (array_key_exists("txtcuentahas",$_POST))
{
$ls_cuentahas=$_POST["txtcuentahas"];
}
else
{
$ls_cuentahas="";
}
if (array_key_exists("txtfecdes",$_POST))
{
$ldt_fecdes=$_POST["txtfecdes"];
}
else
{
$ldt_fecdes="01/01/".$li_ano;
}
if (array_key_exists("txtfechas",$_POST))
{
$ldt_fechas=$_POST["txtfechas"];
}
else
{
$ldt_fechas=date("d/m/Y");
}
if (array_key_exists("rborden",$_POST))
{
$ls_orden=$_POST["rborden"];
}
else
{
$ls_orden="";
}
?>