Esempio n. 1
0
 public function getDatosEncargado($idSedeEmpresaArea)
 {
     $o_DRrhh = new DRrhh();
     $resultado = $o_DRrhh->getDatosEncargado($idSedeEmpresaArea);
     $resul = "<p style='font-size: 14px; color: red; font-weight: bold'>No existe encargado alguno</p>";
     if ($resultado) {
         //$nombres = $resultado[0][4] . " " . $resultado[0][5] . " " . $resultado[0][6];
         $nombres = htmlentities($resultado[0][4]) . " " . htmlentities($resultado[0][5]) . " " . htmlentities($resultado[0][6]);
         $hidden = '<input name="hidIdProgramacionPersonal" type="hidden" id="hidIdProgramacionPersonal" value="' . $resultado[0][0] . '" />';
         $resul = "<p style='font-size: 13px;'>Encargado del &Aacute;rea : " . $nombres . "</p><br>" . $hidden;
     }
     return $resul;
 }