";
print "location.href='../sigesp_inicio_sesion.php'";
print "";
}
////////////////////////////////////////////// SEGURIDAD /////////////////////////////////////////////
$ls_logusr=$_SESSION["la_logusr"];
require_once("class_funciones_ingreso.php");
$io_fun_ingreso=new class_funciones_ingreso();
$io_fun_ingreso->uf_load_seguridad("SPI","sigesp_spi_r_comprobante_formato1.php",$ls_permisos,$la_seguridad,$la_permisos);
$ls_reporte=$io_fun_ingreso->uf_select_config("SPI","REPORTE","COMPROBANTE_FORMATO1","sigesp_spi_rpp_comprobante_formato1.php","C");
////////////////////////////////////////////// SEGURIDAD /////////////////////////////////////////////
?>
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("txtcompdes",$_POST))
{
$ls_compdes=$_POST["txtcompdes"];
}
else
{
$ls_compdes="";
}
if (array_key_exists("txtcomphas",$_POST))
{
$ls_comphas=$_POST["txtcomphas"];
}
else
{
$ls_comphas="";
}
if (array_key_exists("txtprocdes",$_POST))
{
$ls_procdes=$_POST["txtprocdes"];
}
else
{
$ls_procdes="";
}
if (array_key_exists("txtprochas",$_POST))
{
$ls_prochas=$_POST["txtprochas"];
}
else
{
$ls_prochas="";
}
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="";
}
?>