$io_pdf->addText(230, 70, 10, "<b>C:I. No.:</b>");
    $io_pdf->addText(280, 70, 8, $ls_cedtes);
    $io_pdf->addText(230, 55, 10, "<b>Cargo:</b>");
    $io_pdf->addText(280, 55, 8, $li_denasicar_t);
    $io_pdf->restoreState();
    $io_pdf->closeObject();
    $io_pdf->addObject($io_encabezado, 'all');
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activo = new class_funciones_activos("../../");
$ls_tipoformato = $io_fun_activo->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_estemp = $arre["estemp"];
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fact = new class_funciones_activos();
if (array_key_exists("coddestino", $_POST)) {
    $ls_coddestino = $_POST["coddestino"];
} else {
    $ls_coddestino = $io_fact->uf_obtenervalor_get("coddestino", "");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Reasignaciones</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
a:visited {
	color: #006699;
}
a:active {
	color: #006699;
}
-->
</style>
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
<?php

session_start();
require_once "class_funciones_activos.php";
$fun_activos = new class_funciones_activos();
$li_row = $fun_activos->uf_obtenervalor_get("row", "");
if ($li_row == "") {
    $li_row = $fun_activos->uf_obtenervalor("hidrow", "");
}
$operacion = $fun_activos->uf_obteneroperacion();
$ls_destino = $fun_activos->uf_obtenervalor_get("destino", "");
if ($operacion == "BUSCAR") {
    $ls_destino = $fun_activos->uf_obtenervalor("destino", "");
}
//-----------------------------------------------------------------------------------------------------------------------------------
// Función que obtiene e imprime los resultados de la busqueda
function uf_imprimirresultados($as_codper, $as_cedper, $as_nomper, $as_apeper, $ls_destino)
{
    require_once "../shared/class_folder/sigesp_include.php";
    $in = new sigesp_include();
    $con = $in->uf_conectar();
    require_once "../shared/class_folder/class_mensajes.php";
    $msg = new class_mensajes();
    require_once "../shared/class_folder/class_sql.php";
    $io_sql = new class_sql($con);
    $ds = new class_datastore();
    require_once "../shared/class_folder/class_funciones.php";
    $fun = new class_funciones();
    $ls_codemp = $_SESSION["la_empresa"]["codemp"];
    print "<table width=500 border=0 cellpadding=1 cellspacing=1 class=fondo-tabla align=center>";
    print "<tr class=titulo-celda>";
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos("../../");
require_once "sigesp_saf_class_report.php";
$io_report = new sigesp_saf_class_report();
$ls_titulo_report = "Bs.";
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ls_titulo = "<b>COMPROBANTE DE ENTREGA </b>";
$ls_fecha = "";
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_cmpent = $io_fun_activos->uf_obtenervalor_get("cmpent", "");
$ld_feccmp = $io_fun_activos->uf_obtenervalor_get("feccmp", "");
$ls_coduniadm = $io_fun_activos->uf_obtenervalor_get("coduniadm", "");
//--------------------------------------------------------------------------------------------------------------------------------
$lb_valido = $io_report->uf_saf_load_cmpentrega($ls_codemp, $ls_cmpent, $ld_feccmp, $ls_coduniadm);
// Cargar el DS con los datos de la cabecera del reporte
if ($lb_valido) {
    $lb_valido = $io_report->uf_saf_load_unidadadministrativas($ls_codemp, $ls_coduniadm, $ls_denuniadm);
    $ls_codunisol = $io_report->ds->data["codunisol"][1];
    if ($ls_codunisol != '----------') {
        $lb_valido = $io_report->uf_saf_load_unidadadministrativas($ls_codemp, $ls_codunisol, $ls_denunisol);
    } else {
        $ls_codunisol = "";
        $ls_denunisol = "";
    }
    if ($lb_valido) {
    $la_columna = array('name1' => '', 'name2' => '', 'name3' => '');
    $la_config = array('showHeadings' => 0, 'fontSize' => 9, 'titleFontSize' => 9, 'showLines' => 0, 'shaded' => 0, 'width' => 900, 'maxWidth' => 930, 'xPos' => 500, 'cols' => array('name1' => array('justification' => 'left', 'width' => 300), 'name2' => array('justification' => 'left', 'width' => 300), 'name3' => array('justification' => 'left', 'width' => 300)));
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
    unset($la_data);
    unset($la_columna);
    unset($la_config);
}
// end function uf_print_firmas		//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ld_fecha = "";
$ls_titulo = "<b>INVENTARIO DE BIENES MUEBLES</b>";
if ($ld_desde != "" && $ld_hasta != "") {
    $ld_fecha = "Desde:" . $ld_desde . "  Hasta:" . $ld_hasta . "";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_distrito = $arre["estemp"];
$ls_direccion = $arre["direccion"];
$ls_coddesde = $_GET["coddesde"];
$ls_codhasta = $_GET["codhasta"];
$ls_ordenact = $_GET["ordenact"];
    $la_columna = array('coduniadm' => '<b>Codigo</b>', 'denuniadm' => '<b>Cuenta</b>', 'saldo_anterior' => '<b>Saldo Anterior</b>', 'tot_inc' => '<b>Incorporacion</b>', 'tot_desinc' => '<b>Desincorporacion</b>', 'tot_desinc_060' => '<b>Faltante Cod. 060</b>', 'saldo_actual' => '<b>Saldo Actual</b>');
    $la_config = array('showHeadings' => 1, 'fontSize' => 8, 'titleFontSize' => 8, 'showLines' => 1, 'shaded' => 0, 'width' => 900, 'maxWidth' => 900, 'xOrientation' => 'center', 'cols' => array('coduniadm' => array('justification' => 'center', 'width' => 100), 'denuniadm' => array('justification' => 'center', 'width' => 254), 'saldo_anterior' => array('justification' => 'center', 'width' => 120), 'tot_inc' => array('justification' => 'center', 'width' => 120), 'tot_desinc' => array('justification' => 'center', 'width' => 120), 'tot_desinc_060' => array('justification' => 'center', 'width' => 120), 'saldo_actual' => array('justification' => 'center', 'width' => 120)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_detalle
//--------------------------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ld_fecha = "";
global $ls_tipoformato;
$ls_titulo = "<b>RENDICION MENSUAL DE LA CUENTA DE BIENES MUEBLES ";
if ($ls_tipoformato == 0) {
    $ls_titulo = $ls_titulo . "CON COSTO EXPRESADO EN BS.</b>";
} elseif ($ls_tipoformato == 1) {
    $ls_titulo = "CON COSTO EXPRESADO EN BS.F.</b>";
}
if ($ld_desde != "" && $ld_hasta != "") {
    if (substr($ld_desde, 3, 2) == '01') {
        $ld_mes = 12;
        $ld_anno = intval(substr($ld_desde, 6, 4)) - 1;
    } else {
        $ld_mes = intval(substr($ld_desde, 3, 2)) - 1;
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    $la_data = array(array('total' => 'TOTAL', 'monto' => $ai_montot, 'sigecof' => ''));
    $la_columna = array('total' => '', 'monto' => '', 'sigecof' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 2, 'fontSize' => 8, 'shaded' => 0, 'width' => 900, 'xOrientation' => 'center', 'cols' => array('total' => array('justification' => 'right', 'width' => 700), 'monto' => array('justification' => 'right', 'width' => 100), 'sigecof' => array('justification' => 'right', 'width' => 100)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ls_titulo = "Listado de Activos " . $ls_titulo_report . "";
$ld_fecha = "";
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_logusr = $_SESSION["la_logusr"];
uf_limpiarvariables();
$li_totrows = $io_fac->uf_obtenervalor("totalfilas", 1);
if (array_key_exists("operacion", $_POST)) {
    $ls_operacion = $io_fac->uf_obtenervalor("operacion", "NUEVO");
    $ls_denact = $io_fac->uf_obtenervalor("txtdenact", "");
    $ls_codact = $io_fac->uf_obtenervalor("txtcodact", "");
} else {
    $ls_operacion = "NUEVO";
}
switch ($ls_operacion) {
    case "NUEVO":
        $li_totrows = 1;
        $ls_denact = $io_fac->uf_obtenervalor_get("denact", "");
        $ls_codact = $io_fac->uf_obtenervalor_get("codact", "");
        $lb_valido = $io_saf->uf_saf_load_seriales($ls_codemp, $ls_codact, $lo_object, $li_totrows);
        uf_agregarlineablanca($lo_object, $li_totrows);
        break;
    case "GUARDAR":
        for ($li_i = 1; $li_i < $li_totrows; $li_i++) {
            $ls_codact = $_POST["txtcodactd" . $li_i];
            $ls_seract = $_POST["txtseractd" . $li_i];
            $ls_chaact = $_POST["txtchaactd" . $li_i];
            $ls_unidad = $_POST["txtunidadd" . $li_i];
            $ls_responsable = $_POST["txtresponsabled" . $li_i];
            $ls_responsableuso = $_POST["txtcodres" . $li_i];
            $ls_observacion = $_POST["txtobserd" . $li_i];
            $ls_idactivo = $_POST["txtidactivod" . $li_i];
            $ls_estact = "R";
    $la_data = array(array('total' => ""));
    $la_columna = array('total' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 0, 'fontSize' => 8, 'shaded' => 0, 'width' => 900, 'xOrientation' => 'center', 'cols' => array('total' => array('justification' => 'right', 'width' => 900)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ld_fecha = "";
$ls_titulo = "<b>Reporte de Activos</b>";
if ($ld_desde != "" && $ld_hasta != "") {
    $ld_fecha = "Compra Desde:" . $ld_desde . "  Hasta:" . $ld_hasta . "";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_ordenact = $io_fun_activos->uf_obtenervalor_get("ordenact", "");
$ls_coddesde = $io_fun_activos->uf_obtenervalor_get("coddesde", "");
$ls_codhasta = $io_fun_activos->uf_obtenervalor_get("codhasta", "");
$ls_status = $io_fun_activos->uf_obtenervalor_get("status", "");
$ls_codrespri = $io_fun_activos->uf_obtenervalor_get("codrespri", "");
    // Orientaci?n de la tabla
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_totales
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
require_once "sigesp_saf_class_report.php";
$io_report = new sigesp_saf_class_report();
$ls_titulo_report = "Bs.";
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ls_fecrec = $io_fun_activos->uf_obtenervalor_get("fecrec", "");
$ls_titulo = "<b>Comprobante de Incorporación " . $ls_titulo_report . "</b>";
$ls_fecha = $ls_fecrec;
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_cmpmov = $io_fun_activos->uf_obtenervalor_get("cmpmov", "");
//--------------------------------------------------------------------------------------------------------------------------------
$lb_valido = $io_report->uf_saf_load_movimiento($ls_codemp, $ls_cmpmov, "", "", "I", "", "", "");
// Cargar el DS con los datos de la cabecera del reporte
if ($lb_valido == false) {
    // Existe algún error ? no hay registros
    print "<script language=JavaScript>";
    print " alert('No hay nada que Reportar');";
    print " close();";
    $io_pdf->addText(410, 140, 9, "<b>FINANZAS</b>");
    $io_pdf->addText(200, 100, 10, "_________________________________________");
    $io_pdf->addText(210, 85, 9, "<b>DEPARTAMENTO DE SEGURIDAD</b>");
    //$io_pdf->addText(30,55,9,"<b>NOTA: Anexar oficio de Solicitud</b>");
    $io_pdf->restoreState();
    $io_pdf->closeObject();
    $io_pdf->addObject($io_encabezado, 'all');
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activo = new class_funciones_activos("../../");
$ls_tipoformato = $io_fun_activo->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_estemp = $arre["estemp"];
    $io_pdf->addText(580, 125, 10, "<b>Madeleine Villamizar/Eglis González</b>");
    $io_pdf->addText(565, 75, 9, "<b>Nombre y Apellidos</b>");
    $io_pdf->addText(700, 85, 9, "<b>CI: 13.219.201</b>");
    $io_pdf->addText(715, 75, 9, "<b>12.147.502</b>");
    $io_pdf->restoreState();
    $io_pdf->closeObject();
    $io_pdf->addObject($io_encabezado, 'all');
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activo = new class_funciones_activos("../../");
$ls_tipoformato = $io_fun_activo->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_direcemp = $arre["direccion"];
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fac = new class_funciones_activos();
if (array_key_exists("hidestact", $_POST)) {
    $ls_estact = $_POST["hidestact"];
} else {
    $ls_estact = $io_fac->uf_obtenervalor_get("estact", "");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Activos </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
a:visited {
	color: #006699;
}
a:active {
	color: #006699;
}
-->
</style>
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
      <tr>
        <td height="22">&nbsp;</td>
        <td><div align="right"><a href="javascript: ue_search();">
          <img src="../shared/imagebank/tools20/buscar.gif" alt="Buscar" width="20" height="20" border="0"> Buscar</a></div></td>
      </tr>
  </table>
    <div align="center"><br>
      <?php 
require_once "../sno/class_folder/class_funciones_nomina.php";
$io_fun_nomina = new class_funciones_nomina();
$ls_operacion = $io_fun_nomina->uf_obteneroperacion();
$ls_tipo = $io_fun_nomina->uf_obtenertipo();
$ls_codnom = $io_fun_nomina->uf_obtenervalor_get("codnom", "");
require_once "class_funciones_activos.php";
$fun_activos = new class_funciones_activos("../");
$ls_respced = $fun_activos->uf_obtenervalor_get("buscaresced", "");
$ls_codresced = $fun_activos->uf_obtenervalor_get("ls_codresced", "");
$ls_codreserec = $fun_activos->uf_obtenervalor_get("ls_codreserec", "");
$ls_buscartest = $fun_activos->uf_obtenervalor_get("buscartest", "");
$ls_buscar = $fun_activos->uf_obtenervalor_get("buscar", "");
if ($ls_operacion == "BUSCAR") {
    $ls_codper = "%" . $_POST["txtcodper"] . "%";
    $ls_cedper = "%" . $_POST["txtcedper"] . "%";
    $ls_nomper = "%" . $_POST["txtnomper"] . "%";
    $ls_apeper = "%" . $_POST["txtapeper"] . "%";
    uf_print($ls_codper, $ls_cedper, $ls_nomper, $ls_apeper, $ls_codnom, $ls_tipo, $ls_respced, $ls_codresced, $ls_buscartest, $ls_codreserec, $ls_buscar);
}
unset($io_fun_nomina);
?>
      </div>
    </div>
    $la_data = array(array('name' => ''));
    $la_columna = array('name' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 0, 'shaded' => 0, 'width' => 500, 'xOrientation' => 'center');
    // Orientación de la tabla
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_totales
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_fecdes = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_fechas = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$li_orden = $io_fun_activos->uf_obtenervalor_get("orden", "");
$ls_coddes = $io_fun_activos->uf_obtenervalor_get("coddesde", "");
$ls_codhas = $io_fun_activos->uf_obtenervalor_get("codhasta", "");
$ls_titulo = "<b>Reporte de Incorporaciones</b>";
$ls_fecha = "Periodo: " . $ld_fecdes . "  -  " . $ld_fechas;
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_cmpmov = $io_fun_activos->uf_obtenervalor_get("cmpmov", "");
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
<?php

session_start();
require_once "class_funciones_activos.php";
$fun_activos = new class_funciones_activos();
$li_row = $fun_activos->uf_obtenervalor_get("row", "");
if ($li_row == "") {
    $li_row = $fun_activos->uf_obtenervalor("hidrow", "");
}
$operacion = $fun_activos->uf_obteneroperacion();
$ls_destino = $fun_activos->uf_obtenervalor_get("destino", "");
$ls_codact = $fun_activos->uf_obtenervalor_get("codact", "");
$ls_idact = $fun_activos->uf_obtenervalor_get("idact", "");
$ls_tiporesponsable = $fun_activos->uf_obtenervalor_get("tiporesponsable", "");
//-----------------------------------------------------------------------------------------------------------------------------------
// Función que obtiene e imprime los resultados de la busqueda
function uf_imprimirresultados($as_codact, $as_idact, $as_tiporesponsable, $as_destino)
{
    require_once "../shared/class_folder/sigesp_include.php";
    $in = new sigesp_include();
    $con = $in->uf_conectar();
    require_once "../shared/class_folder/class_mensajes.php";
    $msg = new class_mensajes();
    require_once "../shared/class_folder/class_sql.php";
    $io_sql = new class_sql($con);
    $ds = new class_datastore();
    require_once "../shared/class_folder/class_funciones.php";
    $fun = new class_funciones();
    $ls_codemp = $_SESSION["la_empresa"]["codemp"];
    print "<table width=500 border=0 cellpadding=1 cellspacing=1 class=fondo-tabla align=center>";
    print "<tr class=titulo-celda>";
        <td colspan="3"><div align="right"><a href="javascript: ue_search();"><img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" width="15" height="15" border="0">Buscar</a></div></td>
        <td colspan="3"><div align="right"><a href="javascript: ue_aceptar();"><img src="../shared/imagebank/tools20/aprobado.gif" width="20" height="20" border="0">Aceptar</a></div></td>
      </tr>
    </table> 
<?php 
if (array_key_exists("operacion", $_POST)) {
    $ls_operacion = $_POST["operacion"];
    $ls_codact = "%" . $_POST["txtcodact"] . "%";
    $ls_denact = "%" . $_POST["txtdenact"] . "%";
    $ls_tipo = "";
} else {
    $ls_operacion = "";
}
require_once "class_funciones_activos.php";
$io_fac = new class_funciones_activos("../");
$ls_totalgrid = $io_fac->uf_obtenervalor_get("total", "");
if (array_key_exists("selected", $_POST)) {
    $li_selected = $_POST["selected"];
} else {
    $li_selected = 0;
}
function uf_print($ls_tipo, &$totrow)
{
    require_once "../shared/class_folder/sigesp_include.php";
    $in = new sigesp_include();
    $con = $in->uf_conectar();
    require_once "../shared/class_folder/class_mensajes.php";
    $io_msg = new class_mensajes();
    require_once "../shared/class_folder/class_datastore.php";
    $ds = new class_datastore();
    require_once "../shared/class_folder/class_sql.php";
<?php

session_start();
require_once "class_funciones_activos.php";
$fun_activos = new class_funciones_activos();
$li_row = $fun_activos->uf_obtenervalor_get("row", "");
if ($li_row == "") {
    $li_row = $fun_activos->uf_obtenervalor("hidrow", "");
}
$operacion = $fun_activos->uf_obteneroperacion();
$ls_destino = $fun_activos->uf_obtenervalor_get("destino", "");
if ($operacion == "BUSCAR") {
    $ls_destino = $fun_activos->uf_obtenervalor("destino", "");
}
if ($ls_destino == "reporte") {
    if (array_key_exists("coddestino", $_POST)) {
        $ls_coddestino = $fun_activos->uf_obtenervalor("coddestino", "");
        $ls_dendestino = $fun_activos->uf_obtenervalor("dendestino", "");
    } else {
        $ls_coddestino = $fun_activos->uf_obtenervalor_get("coddestino", "txtcoduni");
        $ls_dendestino = $fun_activos->uf_obtenervalor_get("dendestino", "txtdenuni");
    }
}
//-----------------------------------------------------------------------------------------------------------------------------------
// Función que obtiene e imprime los resultados de la busqueda
function uf_imprimirresultados($as_coduniadm, $as_denuniadm, $ls_destino, $ls_coddestino, $ls_dendestino)
{
    require_once "../shared/class_folder/sigesp_include.php";
    $in = new sigesp_include();
    $con = $in->uf_conectar();
    require_once "../shared/class_folder/class_mensajes.php";
<?php

session_start();
require_once "class_funciones_activos.php";
$fun_activos = new class_funciones_activos();
$li_row = $fun_activos->uf_obtenervalor_get("row", "");
if ($li_row == "") {
    $li_row = $fun_activos->uf_obtenervalor("hidrow", "");
}
//-----------------------------------------------------------------------------------------------------------------------------------
// Función que obtiene que tipo de operación se va a ejecutar
// NUEVO, GUARDAR, ó ELIMINAR
function uf_obteneroperacion()
{
    if (array_key_exists("operacion", $_POST)) {
        $operacion = $_POST["operacion"];
    } else {
        $operacion = "NUEVO";
    }
    return $operacion;
}
//-----------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------
// Función que le da formato a los valore numéricos que vienen de la BD
// parametro de entrada = Valor númerico que se desa formatear
// parametro de retorno = valor numérico formateado
function uf_formatonumerico($as_valor)
{
    $li_poscoma = strpos($as_valor, ",");
    $li_contador = 0;
    if ($li_poscoma == 0) {
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
    $la_data = array(array('total' => 'TOTAL GENERAL', 'cantidad' => $ai_cant_gru, 'monto' => $ai_montotgen));
    $la_columna = array('total' => '', 'cantidad' => '', 'monto' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 2, 'fontSize' => 8, 'shaded' => 0, 'width' => 540, 'xOrientation' => 'center', 'cols' => array('total' => array('justification' => 'right', 'width' => 340), 'cantidad' => array('justification' => 'center', 'width' => 100), 'monto' => array('justification' => 'right', 'width' => 100)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ls_titulo = "RESUMEN DE BIENES MUEBLES POR GRUPO EN " . $ls_titulo_report . "";
$ld_fecha = "";
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    $la_data = array(array('total' => 'Total x Proveedor', 'monto_inc' => $ai_montotinc, 'monto_desinc' => $ai_montotdesinc));
    $la_columna = array('total' => '', 'monto_inc' => '', 'monto_desinc' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 0, 'fontSize' => 8, 'titleFontSize' => 8, 'shaded' => 0, 'width' => 555, 'xOrientation' => 'center', 'cols' => array('total' => array('justification' => 'right', 'width' => 330), 'monto_inc' => array('justification' => 'center', 'width' => 45), 'monto_desinc' => array('justification' => 'left', 'width' => 180)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
$ls_tipoformato = $_GET["tipoformato"];
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
/*$ld_desde=$io_fun_activos->uf_obtenervalor_get("desde","");
	$ld_hasta=$io_fun_activos->uf_obtenervalor_get("hasta","");*/
$ld_desde = $_GET["desde"];
    $la_columna = array('name' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 0, 'shaded' => 0, 'width' => 500, 'xOrientation' => 'center');
    // Orientación de la tabla
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_totales
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
require_once "../../shared/class_folder/class_fecha.php";
$io_fec = new class_fecha();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ls_titulo = "Reporte de Depreciación Mensual en " . $ls_titulo_report . " ";
$ls_fecha = "";
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$ls_codemp = $_SESSION["la_empresa"]["codemp"];
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fac = new class_funciones_activos("../");
if (array_key_exists("coddestino", $_POST)) {
    $ls_coddestino = $_POST["coddestino"];
    $ls_dendestino = $_POST["dendestino"];
} else {
    $ls_coddestino = $io_fac->uf_obtenervalor_get("coddestino", "txtcodact");
    $ls_dendestino = $io_fac->uf_obtenervalor_get("dendestino", "txtdenact");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Activos </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
a:visited {
	color: #006699;
}
a:active {
	color: #006699;
}
-->
    $io_pdf->addText(200, 100, 10, "__________________________________");
    $io_pdf->addText(200, 85, 10, "<b>Nombre:</b>");
    $io_pdf->addText(200, 70, 10, "<b>C:I. No.:</b>");
    $io_pdf->addText(200, 55, 10, "<b>Cargo:</b>");
    $io_pdf->restoreState();
    $io_pdf->closeObject();
    $io_pdf->addObject($io_encabezado, 'all');
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activo = new class_funciones_activos();
$ls_tipoformato = $io_fun_activo->uf_obtenervalor_get("tipoformato", 0);
global $ls_tipoformato;
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$ls_cmpmov = $io_fun_activo->uf_obtenervalor_get("cmpmov", "");
Esempio n. 25
0
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fac = new class_funciones_activos();
if (array_key_exists("coddestino", $_POST)) {
    $ls_coddestino = $_POST["coddestino"];
    $ls_dendestino = $_POST["dendestino"];
} else {
    $ls_coddestino = $io_fac->uf_obtenervalor_get("coddestino", "txtctacon");
    $ls_dendestino = $io_fac->uf_obtenervalor_get("dendestino", "txtdenctacon");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Cuentas Contables</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
a:visited {
	color: #006699;
}
a:active {
	color: #006699;
}
-->
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fact = new class_funciones_activos("../");
if (array_key_exists("coddestino", $_POST)) {
    $ls_coddestino = $_POST["coddestino"];
    $ls_tipo = $_POST["tipo"];
} else {
    $ls_coddestino = $io_fact->uf_obtenervalor_get("coddestino", "");
    $ls_tipo = $io_fact->uf_obtenervalor_get("tipo", "");
}
if ($ls_tipo == 'retorno') {
    if (array_key_exists("codbenpre", $_POST)) {
        $ls_codbenpre = $_POST["codbenpre"];
        //Beneficiario del Préstamo.
    } else {
        $ls_codbenpre = $io_fact->uf_obtenervalor_get("codbenpre", "");
    }
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Préstamos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
    $la_data = array(array('name' => ''));
    $la_columna = array('name' => '');
    $la_config = array('showHeadings' => 0, 'showLines' => 0, 'shaded' => 0, 'width' => 500, 'xOrientation' => 'center');
    // Orientación de la tabla
    $io_pdf->ezTable($la_data, $la_columna, '', $la_config);
}
// end function uf_print_totales
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
if ($ls_tipoformato == 1) {
    require_once "sigesp_saf_class_reportbsf.php";
    $io_report = new sigesp_saf_class_reportbsf();
    $ls_titulo_report = "Bs.F.";
} else {
    require_once "sigesp_saf_class_report.php";
    $io_report = new sigesp_saf_class_report();
    $ls_titulo_report = "Bs.";
}
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ls_fecrec = $io_fun_activos->uf_obtenervalor_get("fecrec", "");
$ls_titulo = "<b>Comprobante de Reasignación en " . $ls_titulo_report . "</b>";
$ls_fecha = $ls_fecrec;
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
<?php

session_start();
require_once "class_funciones_activos.php";
$io_fact = new class_funciones_activos();
if (array_key_exists("coddestino", $_POST)) {
    $ls_coddestino = $_POST["coddestino"];
    $ls_tipo = $_POST["tipo"];
    $ls_tipcmp = $_POST["tipcmp"];
} else {
    $ls_coddestino = $io_fact->uf_obtenervalor_get("coddestino", "");
    $ls_tipo = $io_fact->uf_obtenervalor_get("tipo", "");
    $ls_tipcmp = $io_fact->uf_obtenervalor_get("tipcmp", "");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Incorporaciones</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
a:visited {
	color: #006699;
}
a:active {
	color: #006699;
    // Para Mostrar las Observaciones
    $io_pdf->Rectangle(550, 65, 400, 100);
    $io_pdf->addText(560, 140, 9, "<b>FALTANTES DETERMINADOS POR:______________________________________________</b>");
    $io_pdf->addText(560, 120, 9, "<b>CARGO QUE DESEMPEÑA:_____________________________________________________</b>");
    $io_pdf->addText(560, 100, 9, "<b>DEPENDENCIA A LA CUAL ESTA ADSCRITO:_____________________________________</b>");
    $io_pdf->addText(560, 80, 9, "                                <b>FIRMA:______________________________________________________</b>");
}
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
$io_fun_activos = new class_funciones_activos();
//----------------------------------------------------  Parámetros del encabezado  -----------------------------------------------
$ld_desde = $io_fun_activos->uf_obtenervalor_get("desde", "");
$ld_hasta = $io_fun_activos->uf_obtenervalor_get("hasta", "");
$ld_fecha = "";
$ls_titulo = "<b>RELACION DE BIENES MUEBLES FALTANTES</b>";
if ($ld_desde != "" && $ld_hasta != "") {
    $ld_fecha = "Desde:" . $ld_desde . "  Hasta:" . $ld_hasta . "";
}
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_estemp = $arre["estemp"];
$ls_nomemp = $arre["nombre"];
$ls_ordenact = $io_fun_activos->uf_obtenervalor_get("ordenact", "");
$ls_coddesde = $io_fun_activos->uf_obtenervalor_get("coddesde", "");
$ls_codhasta = $io_fun_activos->uf_obtenervalor_get("codhasta", "");
$ls_cmpmov_desde = $io_fun_activos->uf_obtenervalor_get("cmpmov_desde", "");
    $la_columna3 = array('dato1' => '', 'dato2' => '', 'dato3' => '', 'dato4' => '', 'dato5' => '', 'dato6' => '');
    $la_config3 = array('showHeadings' => 0, 'showLines' => 1, 'fontSize' => 13, 'shaded' => 0, 'width' => 900, 'xOrientation' => 'center', 'cols' => array('dato1' => array('justification' => 'center', 'width' => 150), 'dato2' => array('justification' => 'center', 'width' => 100), 'dato3' => array('justification' => 'center', 'width' => 150), 'dato4' => array('justification' => 'center', 'width' => 100), 'dato5' => array('justification' => 'center', 'width' => 150), 'dato6' => array('justification' => 'center', 'width' => 100)));
    // Justificación y ancho de la columna
    $io_pdf->ezTable($la_data3, $la_columna3, '', $la_config3);
}
// end function uf_print_pie_cabecera
//--------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------  Instancia de las clases  ------------------------------------------------
require_once "../../shared/ezpdf/class.ezpdf.php";
require_once "../../shared/class_folder/class_funciones.php";
$io_funciones = new class_funciones();
require_once "../class_funciones_activos.php";
require_once "sigesp_saf_class_report.php";
$io_report = new sigesp_saf_class_report();
$io_fun_activos = new class_funciones_activos();
$ls_tipoformato = $io_fun_activos->uf_obtenervalor_get("tipoformato", 0);
//----------------------------------------------------  Parámetros del encabezado  ----------------------------------------------
$ls_titulo = "INVENTARIO DE BIENES POR UNIDAD ORGANIZATIVA";
//--------------------------------------------------  Parámetros para Filtar el Reporte  -----------------------------------------
$arre = $_SESSION["la_empresa"];
$ls_codemp = $arre["codemp"];
$ls_nomemp = $arre["nombre"];
$li_ordenact = $io_fun_activos->uf_obtenervalor_get("ordenact", "");
$ls_coddesde = $io_fun_activos->uf_obtenervalor_get("coddesde", "");
$ls_codhasta = $io_fun_activos->uf_obtenervalor_get("codhasta", "");
$ls_coduniadmdesde = $io_fun_activos->uf_obtenervalor_get("coduniadmdesde", "");
$ls_coduniadmhasta = $io_fun_activos->uf_obtenervalor_get("coduniadmhasta", "");
//--------------------------------------------------------------------------------------------------------------------------------
$lb_valido = $io_report->uf_saf_load_bienes_uniadm($ls_codemp, $li_ordenact, $ls_coddesde, $ls_codhasta, $ls_coduniadmdesde, $ls_coduniadmhasta);
// Cargar el DS con los datos de la cabecera del reporte
if ($lb_valido == false) {