'shadeCol2'=>array(0.9,0.9,0.9), // Sombra entre líneas 'width'=>550, // Ancho Máximo de la tabla 'fontSize' => 9, // Tamaño de Letras 'xOrientation'=>'center', // Orientación de la tabla 'xPos'=>320, // Orientación de la tabla 'cols'=>array('total'=>array('justification'=>'right','width'=>370), // Justificación y ancho de la columna 'disminucion'=>array('justification'=>'right','width'=>90), // Justificación y ancho de la columna 'aumento'=>array('justification'=>'right','width'=>90))); // Justificación y ancho de la columna $io_pdf->ezTable($la_data,$la_columna,'',$la_config); $io_pdf->ezSetDy(-30); }// end function uf_print_pie_cabecera //-------------------------------------------------------------------------------------------------------------------------------- require_once("../../shared/ezpdf/class.ezpdf.php"); require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); require_once("../../shared/class_folder/class_funciones.php"); $io_funciones=new class_funciones(); require_once("../../shared/class_folder/class_fecha.php"); $io_fecha = new class_fecha(); require_once("sigesp_spg_funciones_reportes.php"); $io_function_report = new sigesp_spg_funciones_reportes(); //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- $ls_ckbrect=$_GET["ckbrect"]; $ls_ckbtras=$_GET["ckbtras"]; $ls_ckbinsu=$_GET["ckbinsu"]; $ls_ckbcre=$_GET["ckbcre"]; $ls_comprobante = $_GET["txtcomprobante"]; $ls_procede = $_GET["txtprocede"]; $ldt_fecha = $_GET["txtfecha"];
$ls_tipoformato = $_GET["tipoformato"]; $ls_estclades = $_GET["estclades"]; $ls_estclahas = $_GET["estclahas"]; //----------------------------------------------------------------------------------------------------------------------------- global $ls_tipoformato; global $la_data_tot_bsf; global $la_data_tot; if($ls_tipoformato==1) { require_once("sigesp_spg_reporte_bsf.php"); $io_report = new sigesp_spg_reporte_bsf(); } else { require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); } require_once("../../shared/class_folder/sigesp_c_reconvertir_monedabsf.php"); $io_rcbsf= new sigesp_c_reconvertir_monedabsf(); $li_candeccon=$_SESSION["la_empresa"]["candeccon"]; $li_tipconmon=$_SESSION["la_empresa"]["tipconmon"]; $li_redconmon=$_SESSION["la_empresa"]["redconmon"]; //-------------------------------------------------- Parámetros para Filtar el Reporte -------------------------------------- $ldt_periodo = $_SESSION["la_empresa"]["periodo"]; $li_ano = substr($ldt_periodo,0,4); $li_estmodest = $_SESSION["la_empresa"]["estmodest"]; $ls_codestpro1_min = $_GET["codestpro1"]; $ls_codestpro2_min = $_GET["codestpro2"]; $ls_codestpro3_min = $_GET["codestpro3"]; $ls_codestpro1h_max = $_GET["codestpro1h"];
$ls_codestpro3h_max = $_GET["codestpro3h"]; $ls_estclades = $_GET["estclades"]; $ls_estclahas = $_GET["estclahas"]; $ls_unidad = $_GET["unidad"]; $ls_codfuefindes = $_GET["txtcodfuefindes"]; $ls_codfuefinhas = $_GET["txtcodfuefinhas"]; $ls_denunidad = $_GET["denunidad"]; $ls_codmoneda = $_GET["codmoneda"]; $ls_denmoneda = $_GET["denmoneda"]; $ls_cuentades = $_GET["txtcuentades"]; $ls_cuentahas = $_GET["txtcuentahas"]; $ls_tipoformato=1; //--------------------------------------------------------------------------------------------------------------------------- require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); require_once("../../shared/class_folder/sigesp_c_reconvertir_monedabsf.php"); $io_rcbsf= new sigesp_c_reconvertir_monedabsf(); $li_candeccon = $_SESSION["la_empresa"]["candeccon"]; $li_tipconmon = $_SESSION["la_empresa"]["tipconmon"]; $li_redconmon = $_SESSION["la_empresa"]["redconmon"]; //---------------------------------------------------------------------------------------------------------------------------- if($li_estmodest==1) { $ls_codestpro4_min = "0000000000000000000000000"; $ls_codestpro5_min = "0000000000000000000000000"; $ls_codestpro4h_max = "0000000000000000000000000"; $ls_codestpro5h_max = "0000000000000000000000000"; if(($ls_codestpro1_min=="")&&($ls_codestpro2_min=="")&&($ls_codestpro3_min=="")) { if($io_function_report->uf_spg_reporte_select_min_programatica($ls_codestpro1_min,$ls_codestpro2_min,
'monto'=>array('justification'=>'right','width'=>120))); // Justificación y ancho de la columna $io_pdf->ezTable($la_data,$la_columna,'',$la_config); $la_data=array(array('name'=>'')); $la_columna=array('name'=>''); $la_config=array('showHeadings'=>0, // Mostrar encabezados 'showLines'=>0, // Mostrar Líneas 'shaded'=>0, // Sombra entre líneas 'width'=>520, // Ancho Máximo de la tabla 'xOrientation'=>'center'); // Orientación de la tabla $io_pdf->ezTable($la_data,$la_columna,'',$la_config); }// end function uf_print_pie_cabecera //-------------------------------------------------------------------------------------------------------------------------------- require_once("../../shared/ezpdf/class.ezpdf.php"); require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); require_once("../../shared/class_folder/class_funciones.php"); $io_funciones=new class_funciones(); //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- $ls_cuentades_min=$_GET["txtcuentades"]; $ls_cuentahas_max=$_GET["txtcuentahas"]; if($ls_cuentades_min=="") { if($io_report->uf_spg_reporte_select_min_cuenta($ls_cuentades_min)) { $ls_cuentades=$ls_cuentades_min; } else { print("<script language=JavaScript>"); print(" alert('No hay cuentas presupuestraias');");
require_once("../../shared/class_folder/class_fecha.php"); $io_fecha = new class_fecha(); $ls_tipoformato = $_GET["tipoformato"]; //-------------------------------------------------------------------------------------------------------------------------------- global $ls_tipoformato; global $la_data_tot_bsf; global $la_data_tot; if($ls_tipoformato==1) { require_once("sigesp_spg_reporte_bsf.php"); $io_report = new sigesp_spg_reporte_bsf(); } else { require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); } // require_once("../../shared/class_folder/sigesp_c_reconvertir_monedabsf.php"); // $io_rcbsf= new sigesp_c_reconvertir_monedabsf(); // $li_candeccon = $_SESSION["la_empresa"]["candeccon"]; // $li_tipconmon = $_SESSION["la_empresa"]["tipconmon"]; // $li_redconmon = $_SESSION["la_empresa"]["redconmon"]; //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- $ldt_periodo = $_SESSION["la_empresa"]["periodo"]; $li_ano = substr($ldt_periodo,0,4); $li_estmodest = $_SESSION["la_empresa"]["estmodest"]; $ls_codestpro1_min = $_GET["codestpro1"]; $ls_codestpro2_min = $_GET["codestpro2"]; $ls_codestpro3_min = $_GET["codestpro3"]; $ls_codestpro1h_max = $_GET["codestpro1h"];
$ls_codestpro1h_max = $_GET["codestpro1h"]; $ls_codestpro2h_max = $_GET["codestpro2h"]; $ls_codestpro3h_max = $_GET["codestpro3h"]; $ls_estclades = $_GET["estclades"]; $ls_estclahas = $_GET["estclahas"]; $ls_loncodestpro1 = $_SESSION["la_empresa"]["loncodestpro1"]; $ls_loncodestpro2 = $_SESSION["la_empresa"]["loncodestpro2"]; $ls_loncodestpro3 = $_SESSION["la_empresa"]["loncodestpro3"]; $ls_loncodestpro4 = $_SESSION["la_empresa"]["loncodestpro4"]; $ls_loncodestpro5 = $_SESSION["la_empresa"]["loncodestpro5"]; //----------------------------------------------------------------------------------------------------------------------------- global $ls_tipoformato; global $la_data_tot_bsf; global $la_data_tot; require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); $li_candeccon = $_SESSION["la_empresa"]["candeccon"]; $li_tipconmon = $_SESSION["la_empresa"]["tipconmon"]; $li_redconmon = $_SESSION["la_empresa"]["redconmon"]; //------------------------------------------------------------------------------------------------------------------------------ if($li_estmodest==1) { $ls_codestpro4_min = "0000000000000000000000000"; $ls_codestpro5_min = "0000000000000000000000000"; $ls_codestpro4h_max = "0000000000000000000000000"; $ls_codestpro5h_max = "0000000000000000000000000"; if(($ls_codestpro1_min=="")&&($ls_codestpro2_min=="")&&($ls_codestpro3_min=="")) { if($io_function_report->uf_spg_reporte_select_min_programatica($ls_codestpro1_min,$ls_codestpro2_min, $ls_codestpro3_min,$ls_codestpro4_min,
<?php session_start(); ini_set('memory_limit','256M'); ini_set('max_execution_time ','0'); //--------------------------------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------------------------------- // para crear el libro excel require_once ("../../shared/writeexcel/class.writeexcel_workbookbig.inc.php"); require_once ("../../shared/writeexcel/class.writeexcel_worksheet.inc.php"); $lo_archivo = tempnam("/tmp", "spg_mayor_analitico.xls"); $lo_libro = &new writeexcel_workbookbig($lo_archivo); $lo_hoja = &$lo_libro->addworksheet(); //--------------------------------------------------------------------------------------------------------------------------- require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); require_once("sigesp_spg_funciones_reportes.php"); $io_function_report = new sigesp_spg_funciones_reportes(); require_once("../../shared/class_folder/class_funciones.php"); $io_funciones=new class_funciones(); require_once("../../shared/class_folder/class_fecha.php"); $io_fecha = new class_fecha(); $ldt_periodo = $_SESSION["la_empresa"]["periodo"]; $li_ano = substr($ldt_periodo,0,4); $li_estmodest = $_SESSION["la_empresa"]["estmodest"]; $ls_codestpro1_min = $_GET["codestpro1"]; $ls_codestpro2_min = $_GET["codestpro2"]; $ls_codestpro3_min = $_GET["codestpro3"]; $ls_codestpro1h_max = $_GET["codestpro1h"]; $ls_codestpro2h_max = $_GET["codestpro2h"]; $ls_codestpro3h_max = $_GET["codestpro3h"];
require_once("../../shared/class_folder/class_funciones.php"); $io_funciones=new class_funciones(); require_once("../../shared/class_folder/class_fecha.php"); $io_fecha = new class_fecha(); $ls_tipoformato=$_GET["tipoformato"]; //----------------------------------------------------------------------------------------------------------------------------- global $ls_tipoformato; if($ls_tipoformato==1) { require_once("sigesp_spg_reporte_bsf.php"); $io_report = new sigesp_spg_reporte_bsf(); } else { require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); } require_once("../../shared/class_folder/sigesp_c_reconvertir_monedabsf.php"); $io_rcbsf= new sigesp_c_reconvertir_monedabsf(); $li_candeccon=$_SESSION["la_empresa"]["candeccon"]; $li_tipconmon=$_SESSION["la_empresa"]["tipconmon"]; $li_redconmon=$_SESSION["la_empresa"]["redconmon"]; //-------------------------------------------------- Parámetros para Filtar el Reporte -------------------------------------- $li_estmodest = $_SESSION["la_empresa"]["estmodest"]; $ls_codestpro1_min = $_GET["codestpro1"]; $ls_codestpro2_min = $_GET["codestpro2"]; $ls_codestpro3_min = $_GET["codestpro3"]; $ls_codestpro1h_max = $_GET["codestpro1h"]; $ls_codestpro2h_max = $_GET["codestpro2h"]; $ls_codestpro3h_max = $_GET["codestpro3h"]; $ls_estclades = $_GET["estclades"];
require_once("sigesp_spg_funciones_reportes.php"); $io_function_report = new sigesp_spg_funciones_reportes(); $ls_tipoformato=$_GET["tipoformato"]; //----------------------------------------------------------------------------------------------------------------------------- global $ls_tipoformato; global $la_data_tot_bsf; global $la_data_tot; if($ls_tipoformato==1) { require_once("sigesp_spg_reporte_bsf.php"); $io_report = new sigesp_spg_reporte_bsf(); } else { require_once("sigesp_spg_reporte.php"); $io_report = new sigesp_spg_reporte(); } require_once("../../shared/class_folder/sigesp_c_reconvertir_monedabsf.php"); $io_rcbsf= new sigesp_c_reconvertir_monedabsf(); $li_candeccon=$_SESSION["la_empresa"]["candeccon"]; $li_tipconmon=$_SESSION["la_empresa"]["tipconmon"]; $li_redconmon=$_SESSION["la_empresa"]["redconmon"]; //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- $li_estmodest=$_SESSION["la_empresa"]["estmodest"]; $ls_compdes=$_GET["txtcompdes"]; $ls_comphas=$_GET["txtcomphas"]; $ls_procdes=$_GET["txtprocdes"]; $ls_prochas=$_GET["txtprochas"]; $fecdes=$_GET["txtfecdes"]; if (!empty($fecdes))