// io_pdf // Instancia de objeto pdf // Description: función que imprime el fin de la cabecera por conceptos // Creado Por: Ing. Yesenia Moreno // Fecha Creación: 26/04/2006 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// $la_data = array(array('total' => '<b>Total Registros= </b>' . ' ' . $ai_total . '', 'monto' => $ai_montot)); $la_columna = array('total' => '', 'monto' => ''); $la_config = array('showHeadings' => 0, 'fontSize' => 9, 'titleFontSize' => 12, 'showLines' => 1, 'shaded' => 2, 'shadeCol' => array(249 / 255, 249 / 255, 249 / 255), 'shadeCol2' => array(249 / 255, 249 / 255, 249 / 255), 'outerLineThickness' => 0.5, 'innerLineThickness' => 0.5, 'width' => 500, 'maxWidth' => 500, 'xOrientation' => 'center', 'cols' => array('total' => array('justification' => 'right', 'width' => 480), 'monto' => array('justification' => 'right', 'width' => 90))); // Justificación y ancho de la columna $io_pdf->ezTable($la_data, $la_columna, '', $la_config); } //----------------------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------- Instancia de las clases ------------------------------------------------ require_once "../../shared/ezpdf/class.ezpdf.php"; require_once "sigesp_ins_class_report.php"; $io_report = new sigesp_ins_class_report(); require_once "../../shared/class_folder/class_funciones.php"; $io_funciones = new class_funciones(); require_once "../class_folder/class_funciones_ins.php"; $io_fun_ins = new class_funciones_ins("../../"); //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- //---------------------------------------------------- Parámetros del encabezado ----------------------------------------------- $ls_titulo = "<b>Listado de Solicitudes de Pago sin Detalle Asociado</b>"; //-------------------------------------------------------------------------------------------------------------------------------- $lb_valido = uf_insert_seguridad($ls_titulo); // Seguridad de Reporte if ($lb_valido) { $lb_valido = $io_report->uf_select_solicitudpago(); // Cargar el DS con los datos de la cabecera del reporte } if ($lb_valido == false) {
$la_data[1] = array('procede' => "<b>Procede</b>", 'comprobante' => "<b>Comprobante</b>", 'fecha' => "<b>Fecha</b>", 'debe' => "<b>Debe</b>", 'haber' => "<b>Haber</b>"); $la_columnas = array('procede' => '<b>Solicitud</b>', 'comprobante' => '<b>Proveedor / Beneficiario</b>', 'fecha' => '<b>Fecha Emisión</b>', 'debe' => '<b>Fecha Emisión</b>', 'haber' => '<b>Monto</b>'); $la_config = array('showHeadings' => 0, 'fontSize' => 9, 'titleFontSize' => 12, 'showLines' => 2, 'shaded' => 2, 'width' => 500, 'maxWidth' => 500, 'xOrientation' => 'center', 'outerLineThickness' => 0.5, 'innerLineThickness' => 0.5, 'cols' => array('procede' => array('justification' => 'center', 'width' => 100), 'comprobante' => array('justification' => 'center', 'width' => 150), 'fecha' => array('justification' => 'center', 'width' => 100), 'debe' => array('justification' => 'center', 'width' => 100), 'haber' => array('justification' => 'center', 'width' => 100))); // Justificación y ancho de la columna $io_pdf->ezTable($la_data, $la_columnas, '', $la_config); $la_columnas = array('procede' => '<b>Solicitud</b>', 'comprobante' => '<b>Proveedor / Beneficiario</b>', 'fecha' => '<b>Fecha Emisión</b>', 'debe' => '<b>Fecha Emisión</b>', 'haber' => '<b>Monto</b>'); $la_config = array('showHeadings' => 0, 'fontSize' => 9, 'titleFontSize' => 12, 'showLines' => 2, 'shaded' => 0, 'width' => 500, 'maxWidth' => 500, 'xOrientation' => 'center', 'outerLineThickness' => 0.5, 'innerLineThickness' => 0.5, 'cols' => array('procede' => array('justification' => 'center', 'width' => 100), 'comprobante' => array('justification' => 'left', 'width' => 150), 'fecha' => array('justification' => 'center', 'width' => 100), 'debe' => array('justification' => 'right', 'width' => 100), 'haber' => array('justification' => 'right', 'width' => 100))); // Justificación y ancho de la columna $io_pdf->ezTable($aa_data, $la_columnas, '', $la_config); } // end function uf_print_detalle //----------------------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------- Instancia de las clases ------------------------------------------------ require_once "../../shared/ezpdf/class.ezpdf.php"; require_once "sigesp_ins_class_report.php"; $io_report = new sigesp_ins_class_report(); require_once "../../shared/class_folder/class_funciones.php"; $io_funciones = new class_funciones(); /*require_once("../class_folder/class_funciones_ins.php"); $io_fun_ins=new class_funciones_ins("../../");*/ //-------------------------------------------------- Parámetros para Filtar el Reporte ----------------------------------------- if (array_key_exists("procede", $_GET)) { $ls_procede = $_GET["procede"]; } else { $ls_procede = ""; } //---------------------------------------------------- Parámetros del encabezado ----------------------------------------------- $ls_titulo = "<b>Listado de Comprobantes Descuadrados</b>"; //-------------------------------------------------------------------------------------------------------------------------------- //$lb_valido=uf_insert_seguridad($ls_titulo); // Seguridad de Reporte $lb_valido = true;