Example #1
0
 function aListarCronogramaMedicoEmergencia($datos)
 {
     $o_TablaHtmlx = new tablaDHTMLX();
     $o_LCita = new LCita();
     $arrayFilas = $o_LCita->lListarCronogramaMedicoEmergencia($datos);
     $cboUbicacion = $o_LCita->lListaUbicacionCita();
     //        $arrayCabecera = array("0" => "ID", "1" => "HORA", "2" => "IHORAORDEN", "3" => "ESTADO", "4" => "CODIGO PERSONA", "5" => "AFILIACION", "6" => "PACIENTE", "7" => "SEXO", "8" => "EDAD", "9" => "TIPO", "10" => "ACTIVIDAD", "11" => "FECHAHORAATENCION", "12" => "BACTIVO", "13" => "CODIGOPROGRAMACION", "14" => "CRONOGRAMA", "15" => "UBICACIÓN", "16" => "...", "17" => "...", "18" => "...");
     //        $arrayTamano = array("0" => "10", "1" => "70", "2" => "10", "3" => "70", "4" => "10", "5" => "100", "6" => "200", "7" => "10", "8" => "10", "9" => "100", "10" => "*", "11" => "10", "12" => "10", "13" => "10", "14" => "10", "15" => "130", "16" => "30", "17" => "30", "18" => "30");
     //        $arrayTipo = array("0" => "ro", "1" => "ro", "2" => "ro", "3" => "ro", "4" => "ro", "5" => "ro", "6" => "ro", "7" => "ro", "8" => "ro", "9" => "ro", "10" => "ro", "11" => "ro", "12" => "ro", "13" => "ro", "14" => "ro", "15" => "ro", "16" => "ro", "17" => "ro", "18" => "ro");
     //        $arrayAlineacion = array("0" => "center", "1" => "center", "2" => "center", "3" => "left", "4" => "center", "5" => "left", "6" => "left", "7" => "center", "8" => "left", "9" => "left", "10" => "left", "11" => "center", "12" => "center", "13" => "center", "14" => "center", "15" => "center", "16" => "center", "17" => "center", "18" => "center");
     //        $arrayHidden = array("0" => "true", "1" => "false", "2" => "true", "3" => "false", "4" => "true", "5" => "false", "6" => "false", "7" => "true", "8" => "true", "9" => "false", "10" => "false", "11" => "true", "12" => "true", "13" => "true", "14" => "true", "15" => "false", "16" => "true", "17" => "true", "18" => "true");
     //return $o_TablaHtmlx->stringXml($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayAlineacion, 0, $arrayHidden);
     $arrayCabecera = array("0" => "ID", "1" => "HORA", "20" => "TIEMPO", "2" => "IHORAORDEN", "3" => "IDUBICACION", "4" => "REFERENCIA", "5" => "CODIGO PERSONA", "6" => "AFILIACION", "7" => "PACIENTE", "8" => "SEXO", "9" => "EDAD", "10" => "TIPO", "11" => "DESCRIPCION", "18" => "Nro. Placa", "12" => "FECHAHORAATENCION", "13" => "BACTIVO", "14" => "CODIGOPROGRAMACION", "15" => "CRONOGRAMA", "16" => "UBICACIÓN", "17" => "...", "19" => "nsdHistoriaImagen", "21" => "...");
     $arrayTamano = array("0" => "10", "1" => "40", "20" => "30", "2" => "10", "3" => "10", "4" => "70", "5" => "40", "6" => "90", "7" => "210", "8" => "10", "9" => "10", "10" => "100", "11" => "270", "18" => "60", "12" => "10", "13" => "10", "14" => "10", "15" => "10", "16" => "100", "17" => "30", "19" => "30", "21" => "30");
     $arrayTipo = array("0" => "ro", "1" => "ro", "20" => "ro", "2" => "ro", "3" => "ro", "4" => "co", "5" => "ro", "6" => "ro", "7" => "ro", "8" => "ro", "9" => "ro", "10" => "ro", "11" => "ro", "18" => "ro", "12" => "ro", "13" => "ro", "14" => "ro", "15" => "ro", "16" => "ro", "17" => "ro", "19" => "ro", "21" => "ro");
     $arrayAlineacion = array("0" => "center", "1" => "center", "20" => "center", "2" => "center", "3" => "left", "4" => "left", "5" => "center", "6" => "left", "7" => "left", "8" => "center", "9" => "left", "10" => "left", "11" => "left", "18" => "left", "12" => "center", "13" => "center", "14" => "center", "15" => "center", "16" => "center", "17" => "center", "19" => "center", "21" => "center");
     $arrayHidden = array("0" => "true", "1" => "false", "20" => "false", "2" => "true", "3" => "true", "4" => "false", "5" => "true", "6" => "false", "7" => "false", "8" => "true", "9" => "true", "10" => "true", "11" => "false", "18" => "false", "12" => "true", "13" => "true", "14" => "true", "15" => "true", "16" => "false", "17" => "true", "19" => "true", "21" => "false");
     return $o_TablaHtmlx->generaTablaFullCombo($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAlineacion, $cboUbicacion);
 }
Example #2
0
 function aCargarTablaEstadoExamenes($parametros)
 {
     $oLLaboratorio = new LLaboratorio();
     $o_TablaHtmlx = new tablaDHTMLX();
     $arrayFilas = $oLLaboratorio->lCargarTablaEstadoExamenes($parametros);
     $cboActividadesLaboratorio = $oLLaboratorio->lListaActividadesLaboratorio();
     $cboActividadesLaboratorio = is_array($cboActividadesLaboratorio) ? $cboActividadesLaboratorio : array();
     $arrayCabecera = array(0 => "iIdPacienteLaboratorioPuntoControlExamen", 1 => "iIdPacienteLaboratorio", 2 => "Fecha", 3 => "Sede", 4 => "Nombre", 5 => "Afiliacion", 6 => "TipoExamen", 7 => "Procedencia", 8 => "Ubicacion", 9 => "Estado", 10 => "vColor", 11 => "idPuntoControl", 12 => "idTipoProceso", 13 => "iIdPtoCtrlExLab", 14 => "bRecibir", 15 => "iCodigoBarraSeguimiento", 16 => "ver", 17 => "Imp.", 18 => "Rep.", 19 => "Anul.");
     $arrayTamano = array(0 => "45", 1 => "45", 2 => "51", 3 => "100", 4 => "180", 5 => "100", 6 => "*", 7 => "120", 8 => "120", 9 => "80", 10 => "176", 11 => "56", 12 => "176", 13 => "56", 14 => "56", 15 => "63", 16 => "30", 17 => "30", 18 => "30", 19 => "30");
     $arrayTipo = array(0 => "ro", 1 => "ro", 2 => "ro", 3 => "ro", 4 => "ro", 5 => "ro", 6 => "ro", 7 => "co", 8 => "ro", 9 => "ro", 10 => "ro", 11 => "ro", 12 => "ro", 13 => "ro", 14 => "ro", 15 => "ro", 16 => "img", 17 => "img", 18 => "img", 19 => "img");
     $arrayCursor = array(0 => "default", 1 => "default", 2 => "default", 3 => "default", 4 => "default", 5 => "default", 6 => "default", 7 => "default", 8 => "default", 9 => "default", 10 => "default", 11 => "default", 12 => "default", 13 => "default", 14 => "default", 15 => "pointer", 16 => "pointer", 17 => "pointer", 18 => "pointer", 19 => "pointer");
     //$arrayHidden = array(0 => "true", 1 => "true", 2 => "false", 3 => "false", 4 => "false", 5 => "false", 6 => "false", 7 => "false", 8 => "false", 9 => "true", 10 => "true", 11 => "true", 12 => "true", 13 => "true",14 => "true", 15 => "false", 16 => "false");
     $arrayHidden = array(0 => "true", 1 => "false", 2 => "false", 3 => "false", 4 => "false", 5 => "true", 6 => "false", 7 => "false", 8 => "false", 9 => "false", 10 => "true", 11 => "true", 12 => "true", 13 => "true", 14 => "true", 15 => "false", 16 => "false", 17 => "false", 18 => "false", 19 => "false");
     $arrayAling = array(0 => "right", 1 => "right", 2 => "center", 3 => "left", 4 => "left", 5 => "left", 6 => "left", 7 => "left", 8 => "left", 9 => "left", 10 => "left", 11 => "left", 12 => "left", 13 => "left", 14 => "left", 15 => "center", 16 => "center", 17 => "center", 18 => "center", 19 => "center");
     //return $o_TablaHtmlx->generaTabla($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAling);
     return $o_TablaHtmlx->generaTablaFullCombo($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAling, $cboActividadesLaboratorio);
 }
Example #3
0
 public function listaParentescoPaciente($codPersonaTitular)
 {
     $o_TablaHtmlx = new tablaDHTMLX();
     $o_LPersona = new LPersona();
     $arrayFilas = $o_LPersona->listaParentescoPaciente($codPersonaTitular);
     $arrayFilas = is_array($arrayFilas) ? $arrayFilas : array();
     $cboParemtesco = $o_LPersona->listaParentesco();
     $cboParemtesco = is_array($cboParemtesco) ? $cboParemtesco : array();
     $grabar = true;
     $eliminar = true;
     if (isset($_SESSION["permiso_formulario_servicio"][110]["GRABAR_PARENTESCO_PAC"]) && $_SESSION["permiso_formulario_servicio"][110]["GRABAR_PARENTESCO_PAC"] == 1) {
         $grabar = false;
     }
     if (isset($_SESSION["permiso_formulario_servicio"][110]["ELIMINAR_PARENTESCO_PAC"]) && $_SESSION["permiso_formulario_servicio"][110]["ELIMINAR_PARENTESCO_PAC"] == 1) {
         $eliminar = false;
     }
     $arrayCabecera = array(0 => "iidParentescoDePersona", 1 => "cCodigoPersonaPrincipal", 2 => "Código", 3 => "Persona", 4 => "idParentesco", 5 => "Parentesco", 6 => "Grabar", 7 => "Eliminar");
     $arrayTamanio = array(0 => "70", 1 => "70", 2 => "70", 3 => "250", 4 => "60", 5 => "200", 6 => "50", 7 => "70");
     $arrayTipo = array(0 => "ro", 1 => "ro", 2 => "ro", 3 => "ro", 4 => "ro", 5 => "co", 6 => "img", 7 => "img");
     $arrayCursor = array(0 => "default", 1 => "default", 2 => "default", 3 => "default", 4 => "default", 5 => "default", 6 => "default", 7 => "default");
     $arrayHidden = array(0 => "true", 1 => "true", 2 => "false", 3 => "false", 4 => "true", 5 => "false", 6 => $grabar, 7 => $eliminar);
     $arrayAling = array(0 => "left", 1 => "left", 2 => "center", 3 => "center", 4 => "center", 5 => "center", 6 => "center", 7 => "center");
     return $o_TablaHtmlx->generaTablaFullCombo($arrayCabecera, $arrayFilas, $arrayTamanio, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAling, $cboParemtesco);
 }
Example #4
0
 public function listTablaHorarios($datos)
 {
     /*
      * Permisos
      */
     $oLRrhh = new LRrhh();
     $fechasP = $oLRrhh->fechaProgramacion($datos["iIdProgramacionpersonal"]);
     $btnGrabarComoHidden = true;
     if (isset($_SESSION["permiso_formulario_servicio"][232]["GRABAR_HOR_PROG_MEN_EMP"]) && $_SESSION["permiso_formulario_servicio"][232]["GRABAR_HOR_PROG_MEN_EMP"] == 1) {
         $btnGrabarComoHidden = false;
     }
     $btnTotalHorasComoHidden = true;
     if (isset($_SESSION["permiso_formulario_servicio"][232]["VER_HORAS_PROG_MEN_EMP"]) && $_SESSION["permiso_formulario_servicio"][232]["VER_HORAS_PROG_MEN_EMP"] == 1) {
         $btnTotalHorasComoHidden = false;
     }
     $btnAgregarOtroTurnoComoHidden = true;
     if (isset($_SESSION["permiso_formulario_servicio"][232]["AGREGAR_OTRO_TURNO_PROG_MEN_EMP"]) && $_SESSION["permiso_formulario_servicio"][232]["AGREGAR_OTRO_TURNO_PROG_MEN_EMP"] == 1) {
         $btnAgregarOtroTurnoComoHidden = false;
     }
     /*
      * Proceso
      */
     $o_TablaHtmlx = new tablaDHTMLX();
     $m = intval($datos["mes"]);
     $y = $datos["anio"];
     $mes = mktime(0, 0, 0, $m, 1, $y);
     $nDias = intval(date("t", $mes));
     $fechax = $nDias . "/" . $datos["mes"] . "/" . $datos["anio"];
     /*
      Lista de personas que pertenecen al area seleccionada y además estan con un tipo de contrato vigente hasta este mes
     */
     $empleados = $oLRrhh->empleadoXarea($datos["idSedeEmpresaArea"], $fechax, $datos["cboTipoContrato"], $datos["idSubArea"]);
     // Se recupera a todos los empleados que pertenecen a una area especifica
     /*
      Lista por Turnos con codigo estandarizado y areas
     */
     $cboTESA = $oLRrhh->listaTurnoSedeEmpresaArea($datos);
     // Se recupera los turnos que pertenecen al area de una sede
     /*
      Se recupera a todos los empleados que ya fueron programados, tambien puede retornar null
     */
     $datosEmpleadoProg = $oLRrhh->listaTurnoProgramado("", $datos["iIdProgramacionpersonal"], $datos["mes"], $datos["anio"], 'empleadoProgramado', "", $datos["idSEACC"], $datos["cboTipoContrato"]);
     $idEmpleadoProgramado = $datosEmpleadoProg;
     /* =========================== Set datos a la cabecera =========================== */
     $arrayCabecera = array(0 => "Accion", 1 => "Hr.", 2 => "+", 3 => "idEmpleado", 4 => "EMPLEADOS A PROGRAMAR", 5 => "Total de Horas");
     /* ========================== fin datos cabecera ================================= */
     /* ================= Set datos para las columnas fijas =========================== */
     $arrayFilas = array();
     $datosEmpleados = array();
     $filx = 0;
     foreach ($empleados as $i => $value) {
         if ($datosEmpleadoProg) {
             $r = 0;
             foreach ($datosEmpleadoProg as $j => $val) {
                 if ($empleados[$i][0] == $datosEmpleadoProg[$j][0]) {
                     $arrayFilas[$filx + $r][0] = "../../../imagen/icono/editar.png ^ Editar";
                     $arrayFilas[$filx + $r][1] = "../../../imagen/icono/timer.png ^ Ver";
                     $arrayFilas[$filx + $r][2] = "../../../imagen/icono/abrir16.png ^  Agregar otro turno";
                     $arrayFilas[$filx + $r][3] = $empleados[$i][0];
                     $arrayFilas[$filx + $r][4] = $empleados[$i][1] . " " . $empleados[$i][2] . " " . $empleados[$i][3];
                     //--$arrayFilas[$filx+$r][5]="0.00"; //este dato se inserta mas abajo
                     //------------------------------------------------------
                     $datosEmpleados[$filx + $r][0] = $empleados[$i][0];
                     $datosEmpleados[$filx + $r][1] = $datosEmpleadoProg[$j][2];
                     $numProg = $datosEmpleadoProg[$j][1];
                     //------------------------------------------------------
                     $r++;
                     $filx = $filx + $r - 1;
                     if ($r == $numProg) {
                         for ($p = 0; $p < $r; $p++) {
                             if ($p > 0) {
                                 $arrayFilas[$filx - $p][2] = "../../../imagen/icono/no_add.png ^ ...";
                             }
                             unset($datosEmpleadoProg[$j - $p]);
                         }
                         break;
                     }
                 } else {
                     $arrayFilas[$filx][0] = "../../../imagen/icono/grabar.png ^ Grabar";
                     $arrayFilas[$filx][1] = "../../../imagen/icono/timer.png ^ Ver";
                     $arrayFilas[$filx][2] = "../../../imagen/icono/abrir16.png ^  Agregar otro turno";
                     $arrayFilas[$filx][3] = $empleados[$i][0];
                     $arrayFilas[$filx][4] = $empleados[$i][1] . " " . $empleados[$i][2] . " " . $empleados[$i][3];
                     //--$arrayFilas[$filx][5]="0.00"; //este dato se inserta mas abajo
                     //------------------------------------------------------
                     $datosEmpleados[$filx][0] = $empleados[$i][0];
                     $datosEmpleados[$filx][1] = "1";
                     //$datosEmpleadoProg[$j][2];
                     //------------------------------------------------------
                 }
             }
         } else {
             $arrayFilas[$filx][0] = "../../../imagen/icono/grabar.png ^ Grabar";
             $arrayFilas[$filx][1] = "../../../imagen/icono/timer.png ^ Ver";
             $arrayFilas[$filx][2] = "../../../imagen/icono/abrir16.png ^  Agregar otro turno";
             $arrayFilas[$filx][3] = $empleados[$i][0];
             $arrayFilas[$filx][4] = $empleados[$i][1] . " " . $empleados[$i][2] . " " . $empleados[$i][3];
             //--$arrayFilas[$filx][5]="0.00"; //este dato se inserta mas abajo
             //------------------------------------------------------
             $datosEmpleados[$filx][0] = $empleados[$i][0];
             $datosEmpleados[$filx][1] = "1";
             //------------------------------------------------------
         }
         $filx++;
     }
     $arrayTamano = array(0 => "45", 1 => "30", 2 => "30", 3 => "20", 4 => "220", 5 => "80");
     $arrayTipo = array(0 => "img", 1 => "img", 2 => "img", 3 => "ro", 4 => "ro", 5 => "ro");
     $arrayCursor = array(0 => "pointer", 1 => "pointer", 2 => "pointer", 3 => "default", 4 => "default", 5 => "default");
     $arrayHidden = array(0 => $btnGrabarComoHidden, 1 => $btnTotalHorasComoHidden, 2 => $btnAgregarOtroTurnoComoHidden, 3 => "true", 4 => "false", 5 => "false");
     $arrayAling = array(0 => "center", 1 => "center", 2 => "center", 3 => "left", 4 => "left", 5 => "center");
     $arrayCombo = array();
     /* =================  fin Set datos para las columnas fijas ====================== */
     //        print_r($datosEmpleados);
     /* =============================   Manejo de fechas   ============================ */
     $diasSem = array('Monday' => 'Lunes', 'Tuesday' => 'Martes', 'Wednesday' => 'Miercoles', 'Thursday' => 'Jueves', 'Friday' => 'Viernes', 'Saturday' => 'Sabado', 'Sunday' => 'Domingo');
     $fecha = getdate(time());
     if ($datos["mes"] != "") {
         $mes = $datos["mes"];
     } else {
         $mes = $fecha['mon'];
     }
     if ($datos["anio"] != "") {
         $anio = $datos["anio"];
     } else {
         $anio = $fecha['year'];
     }
     $fecha = mktime(0, 0, 0, $mes, 1, $anio);
     $fechaInicioMes = mktime(0, 0, 0, $mes, 1, $anio);
     $fechaInicioMes = date("w", $fechaInicioMes);
     $ultimoDia = date('t', $fecha);
     $númeroDeDias = intval(date("t", $mes));
     /* =============================   Fin Manejo de fechas   ============================ */
     /* ============  Set de la cabecera de las horas programadas existentes  ============= */
     $diaMes = 0;
     for ($coln = 6; $coln < $númeroDeDias + 6; $coln++) {
         if ($diaMes < $ultimoDia) {
             $diaMes++;
             $diaInicial = date("l", mktime(0, 0, 0, $mes, $diaMes, $anio));
             $arrayCabecera[$coln] = $diasSem[$diaInicial] . " - " . $diaMes;
             $arrayTamano[$coln] = "130";
             $arrayTipo[$coln] = "co";
             $arrayCursor[$coln] = "pointer";
             $arrayHidden[$coln] = "false";
             $arrayAling[$coln] = "center";
         }
     }
     /* ==========  Fin set de la cabecera de las horas programadas existentes  ============ */
     /* ================== set datos de las horas programadas existentes  ================= */
     $turnoProgramado = array();
     $flag = "NO";
     $totalHoras = "0.0";
     //================================================================================================
     //        print_r($datosEmpleados);
     foreach ($datosEmpleados as $i => $valor) {
         $diaMes = 0;
         if ($idEmpleadoProgramado) {
             //verificar que haya empleados programados
             foreach ($idEmpleadoProgramado as $j => $valx) {
                 if ($datosEmpleados[$i][0] == $idEmpleadoProgramado[$j][0]) {
                     $oLRrhh = new LRrhh();
                     $turnoProgramado = $oLRrhh->listaTurnoProgramado($idEmpleadoProgramado[$j][0], $datos["iIdProgramacionpersonal"], $datos["mes"], $datos["anio"], 'listaTurnoProgramado', $datosEmpleados[$i][1], $datos["idSEACC"], $datos["cboTipoContrato"]);
                     if ($turnoProgramado && $turnoProgramado[0][2] == null) {
                         $arrayFilas[$i][0] = "../../../imagen/icono/adicionar.png ^ Adicionar";
                     }
                     $flag = "SI";
                     unset($idEmpleadoProgramado[$j]);
                     break;
                 } else {
                     $turnoProgramado = null;
                     $flag = "NO";
                 }
             }
             $totalHoras = "0";
             if ($flag == "SI") {
                 foreach ($turnoProgramado as $r => $value) {
                     $totalHoras = $totalHoras + $value[5];
                 }
             }
         } else {
             $totalHoras = "0";
         }
         $cadenaHid = "";
         for ($coln = 6; $coln < $númeroDeDias + 6; $coln++) {
             if ($diaMes < $ultimoDia) {
                 $diaMes++;
                 if ($flag == "NO") {
                     $arrayFilas[$i][$coln] = "Doble Click";
                 } else {
                     if ($turnoProgramado) {
                         foreach ($turnoProgramado as $n => $value) {
                             if ($turnoProgramado[$n][4] == $diaMes) {
                                 foreach ($cboTESA as $s => $val) {
                                     if ($cboTESA[$s][0] == $turnoProgramado[$n][2]) {
                                         $arrayFilas[$i][$coln] = "( " . $cboTESA[$s][0] . " ) " . $cboTESA[$s][1];
                                         if ($cadenaHid == "") {
                                             $cadenaHid .= $turnoProgramado[$n][0] . "_" . $diaMes . "_" . $turnoProgramado[$n][5];
                                         } else {
                                             $cadenaHid .= "|" . $turnoProgramado[$n][0] . "_" . $diaMes . "_" . $turnoProgramado[$n][5];
                                         }
                                         unset($turnoProgramado[$n]);
                                         break;
                                     } else {
                                         if ($cboTESA[$s][0] == $turnoProgramado[$n][2] && $turnoProgramado[$n][2] != null) {
                                             $arrayFilas[$i][$coln] = "Doble Click";
                                         }
                                     }
                                     //----------------------------------------------------------------
                                     if ($turnoProgramado[$n][2] == null) {
                                         $arrayFilas[$i][$coln] = "Doble Click";
                                         //es nulo
                                         if ($cadenaHid == "") {
                                             $cadenaHid .= $turnoProgramado[$n][0] . "_" . $diaMes . "_" . $turnoProgramado[$n][5];
                                         } else {
                                             $cadenaHid .= "|" . $turnoProgramado[$n][0] . "_" . $diaMes . "_" . $turnoProgramado[$n][5];
                                         }
                                         unset($turnoProgramado[$n]);
                                         break;
                                     }
                                     //---------------------------------------------------------------
                                 }
                                 break;
                             } else {
                                 $arrayFilas[$i][$coln] = "Doble Click";
                             }
                         }
                     } else {
                         $arrayFilas[$i][$coln] = "Doble Click";
                     }
                 }
             }
         }
         $arrayFilas[$i][$númeroDeDias + 6] = $cadenaHid;
         //la concadenacion del idTurnoSedeEmpresaArea y dia
         $arrayFilas[$i][$númeroDeDias + 7] = $totalHoras;
         $arrayFilas[$i][$númeroDeDias + 8] = $datosEmpleados[$i][1];
         //numero de programacioones: 1 o 2
         $arrayFilas[$i][5] = $totalHoras;
     }
     //================================================================================================
     /* ===============  Fin set datos de las horas programadas existentes  =============== */
     /* ========================= Cabecera de los hidden ocultos  ========================= */
     $arrayCabecera[$númeroDeDias + 6] = "idTSEADia";
     $arrayTamano[$númeroDeDias + 6] = "100";
     $arrayTipo[$númeroDeDias + 6] = "ro";
     $arrayCursor[$númeroDeDias + 6] = "default";
     $arrayHidden[$númeroDeDias + 6] = "true";
     $arrayAling[$númeroDeDias + 6] = "center";
     $arrayCabecera[$númeroDeDias + 7] = "totalHoras";
     $arrayTamano[$númeroDeDias + 7] = "50";
     $arrayTipo[$númeroDeDias + 7] = "ro";
     $arrayCursor[$númeroDeDias + 7] = "default";
     $arrayHidden[$númeroDeDias + 7] = "true";
     $arrayAling[$númeroDeDias + 7] = "center";
     $arrayCabecera[$númeroDeDias + 8] = "nroProg";
     $arrayTamano[$númeroDeDias + 8] = "50";
     $arrayTipo[$númeroDeDias + 8] = "ro";
     $arrayCursor[$númeroDeDias + 8] = "default";
     $arrayHidden[$númeroDeDias + 8] = "true";
     $arrayAling[$númeroDeDias + 8] = "center";
     /* ==================== Fin de la cabecera de los hidden ocultos =================== */
     /* ================================================================================= */
     /* =============================== Llenado del Combo =============================== */
     $arrayCombo = array();
     if ($cboTESA) {
         foreach ($cboTESA as $i => $value) {
             $arrayCombo[$i][0] = $value[0] . "|" . $value[2];
             $arrayCombo[$i][1] = "( " . $value[0] . " ) " . $value[1];
         }
     } else {
         $arrayCombo[0][0] = "";
         $arrayCombo[0][1] = "No hay data";
     }
     /* ============================  Fin Llenado del Combo ============================ */
     /* ================================================================================ */
     return $o_TablaHtmlx->generaTablaFullCombo($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAling, $arrayCombo);
 }