getValor("gerente")!=$usuario->getValor("oid")) && !$usuario->tieneRol("4") && !$usuario->tieneRol("1")){ header("Location: aplicacion.php?e=permiso"); exit; } include_once("html/cabecera.php"); include_once("Objects/Administracion.php"); $administracion=new Administracion($usuario,$locale); $constantes=$administracion->getItem("constantes"); $mostrarTabla = $constantes['candPagina']; $altoScroll=83/2 * $mostrarTabla; ?> getMensaje($_GET["msgSem"]); echo "
".$mensajeSemaforo."
"; } /* PROYECTOS.PHP */ //menu_pedidos(""); // MEN� if($pedido->getValor("estado")==40){ echo $html->menuPedidos($usuario,array("gestionar")); } elseif (!$usuario->tieneRol("3")) { echo $html->menuPedidos($usuario,array("gestionar")); }else echo $html->menuPedidos($usuario,""); // Comprobamos mensajes que pueden llegar hasta aqui if (isset($_GET["msg"])) { switch ($_GET['msg']) { case "1": $mensaje="
".$locale['1061']."
"; break; default: break; } } else { $mensaje = ""; } ?>

getValor("nombre"); ?>

aceptarCandidato($_GET['idCand']); if($estado){ $tipo="ok"; $mensaje=$locale['1055']; }else{ $tipo="error"; $mensaje=$locale['1053']; } } catch (Exception $e){ $mensaje=$e->getMessage(); $tipo="error"; } } else { $tipo="error"; $mensaje=$locale['1053']; } break; case "dell": if($_GET['idCand']!=""){ try{ $estado=$pedido->rechazarCandidato($_GET['idCand']); if($estado){ $tipo="ok"; $mensaje=$locale['1056']; }else{ $tipo="error"; $mensaje=$locale['1054']; } } catch (Exception $e){ $mensaje=$e->getMessage(); $tipo="error"; } } else { $tipo="error"; $mensaje=$locale['1053']; } break; case "cambEst": if($_GET['idEst']!=""){ try{ $camb=$pedido->transita($_GET['idEst'], ""); if($camb){ $tipo="ok"; $mensaje=$locale['1072']; }else{ $tipo="error"; $mensaje=$locale['1073']; } } catch (Exception $e){ $mensaje=$e->getMessage(); $tipo="error"; } } break; case "cambEstObs": if($_POST['idEstado']!=""){ try{ $camb=$pedido->transita($_POST['idEstado'], $_POST['txtObsCamb']); if($camb){ $tipo="ok"; $mensaje=$locale['1087']; }else{ $tipo="error"; $mensaje=$locale['1088']; } } catch (Exception $e){ $mensaje=$e->getMessage(); $tipo="error"; } } break; case "addComent": if(($_POST['obs']!="") && ($_POST['idCandidato']!="")){ // Agregamso comentario al candidato sobre el pedido try{ $pedido->addComentarioPropuesta($_POST['idCandidato'],$_POST['obs']); $mensaje=$locale['4047']; $tipo="ok"; } catch(Exception $e){ $mensaje=$e->getMessage(); $tipo="error"; } } break; default: $error=true; $mensaje=$locale['1057']; break; } if($mensaje!=""){ // Mostramos el mensaje echo "
".$mensaje."
"; } } ?>
getValor("fecha")); ?> getValor("prioridad")); ?> getPerfiles(); if(count($perfiles)>0){ foreach($perfiles as $nombre => $codigo){ echo $nombre."
"; } } else { ?>
getValor("nombre_cliente");?>
getValor("duracion");?> getValor("empleados");?> getValor("nombre_gerente");?> getValor("nombre_salario_min")." - ".$pedido->getValor("nombre_salario_max");?>
getValor("nombre_estado");?>
&action=cambEstObs" method="post" >
getValor("msgEstado")!=""){ echo " -> ".$pedido->getValor("msgEstado"); } echo "
"; $estadosSiguientes=$pedido->getSiguientes(); foreach($estadosSiguientes as $codEstado => $nombreEstado){ // En estados 50 se necesita mensaj obs if($codEstado=="50"){ ?> ','','txt')" style="margin-bottom:5px"> &action=cambEst&idEst='" style="width:200px; margin-bottom:5px">
getIdiomas(); if(count($idiomas)>0){ foreach($idiomas as $nombre => $codigo){ echo $nombre."
"; } } else { ?> getValor("pesoIdioma") > 0) echo $locale['1097'];?>
getTecnologias(); if(count($tecnologias)>0){ foreach($tecnologias as $nombre => $codigo){ echo $nombre."
"; } } else { ?> getValor("pesoTecno") > 0) echo $locale['1097'];?>
getProvincias(); if(count($tecnologias)>0){ foreach($tecnologias as $nombre => $codigo){ echo $nombre."
"; } } else { ?>
getValor("pesoTecno")."% ) - "; echo $locale['1079']."( ".$pedido->getValor("pesoIdioma")."% ) - "; echo $locale['1080']."( ".$pedido->getValor("pesoPerfil")."% )"; ?>
getValor("observaciones");?>

getCandidatosAceptados(); if(gettype($listaCandidatos)=="NULL"){ ?> "; /*if(count($listaCandidatos)<$mostrarTabla) echo ""; else echo ""; */ $final=count($listaCandidatos); for($i=0;$i<$final;$i++){ $candidato=$listaCandidatos[$i]; ?>
')" ondblclick="ocultarCapa('obs-getValor("oid"); ?>')"> getValor("obsRRHH")!=""))? "css/coment.png" : "css/add_coment.png"; ?>" />
" class="capaObs" onmouseover="mostrarCapa('obs-getValor("oid"); ?>')"> ')" style="padding:2px 10px 2px 0px ">
Comentario de RRHH Comentario del Gerente
">
" target=popup onclick=window.open('', 'popup', ',',',',',',',','width = 600, height = 800')>getValor("nombre")." ".$candidato->getValor("apellidos"); ?>
  getPerfiles(); $keylocalidades=array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre =>$valor) { echo "- ".$nombre."
"; } ?>
 getValor("estado_usuario"); ?>  getValor("fecha"); ?>  getValor("oid")); if(gettype($tecnologias)!="NULL"){ foreach($tecnologias as $tecno){ echo $tecno.","; } } ?>  getValor("oid")); if(gettype($idiomas)!="NULL"){ foreach($idiomas as $tecno){ echo $tecno.","; } } ?>  getValor("afinidad"); ?> &action=dell&idCand=getValor("oid"); ?>" >
paginacion($numPaginas, $pagAcept,"pedido.php","idPedido=".$pedido->getValor("oid"),"pagAcept"); ?>

getCandidatosPropuestosRRHH(); if(gettype($listaCandidatos)=="NULL"){ ?> "; /*if(count($listaCandidatos)<$mostrarTabla) echo ""; else echo ""; */ $final=count($listaCandidatos); for($i=0;$i<$final;$i++){ $candidato=$listaCandidatos[$i]; ?>
  ')" ondblclick="ocultarCapa('obs-getValor("oid"); ?>')"> getValor("obsRRHH")!=""))? "css/coment.png" : "css/add_coment.png"; ?>" />
" class="capaObs" onmouseover="mostrarCapa('obs-getValor("oid"); ?>')"> ')" style="padding:2px 10px 2px 0px ">
Comentario de RRHH Comentario del Gerente
">
" target=popup onclick=window.open('', 'popup', ',',',',',',',','width = 600, height = 800')>getValor("nombre")." ".$candidato->getValor("apellidos"); ?>
  getPerfiles(); $keylocalidades=array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre =>$valor) { echo "- ".$nombre."
"; } ?>
 getValor("estado_usuario"); ?>  getValor("fecha"); ?>  getValor("oid")); if(gettype($tecnologias)!="NULL"){ foreach($tecnologias as $tecno){ echo $tecno.","; } } ?>  getValor("oid")); if(gettype($idiomas)!="NULL"){ foreach($idiomas as $tecno){ echo $tecno.","; } } ?>  getValor("afinidad"); ?> &action=aceptar&idCand=getValor("oid"); ?>" > &action=dell&idCand=getValor("oid"); ?>" >

getCandidatosPropuestos(); if(gettype($listaCandidatos)=="NULL"){ ?> "; /*if(count($listaCandidatos)<$mostrarTabla) echo ""; else echo ""; */ $final=count($listaCandidatos); for($i=0;$i<$final;$i++){ $candidato=$listaCandidatos[$i]; ?>
  ')" ondblclick="ocultarCapa('obs-getValor("oid"); ?>')"> getValor("obsRRHH")!=""))? "css/coment.png" : "css/add_coment.png"; ?>" />
" class="capaObs" onmouseover="mostrarCapa('obs-getValor("oid"); ?>')"> ')" style="padding:2px 10px 2px 0px ">
Comentario de RRHH Comentario del Gerente
">
" target=popup onclick=window.open('', 'popup', ',',',',',',',','width = 600, height = 800')>getValor("nombre")." ".$candidato->getValor("apellidos"); ?>
getPerfiles(); $keylocalidades=array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre =>$valor) { echo "- ".$nombre."
"; } ?>
 getValor("estado_usuario"); ?>  getValor("fecha"); ?>  getValor("oid")); if(gettype($tecnologias)!="NULL"){ foreach($tecnologias as $tecno){ echo $tecno.","; } } ?>  getValor("oid")); if(gettype($idiomas)!="NULL"){ foreach($idiomas as $tecno){ echo $tecno.","; } } ?>  getValor("afinidad"); ?> &action=aceptar&idCand=getValor("oid"); ?>" > &action=dell&idCand=getValor("oid"); ?>" >

getCandidatosRechazados(); if(gettype($listaCandidatos)=="NULL"){ ?> "; /*if(count($listaCandidatos)<$mostrarTabla) echo ""; else echo ""; */ $final=count($listaCandidatos); for($i=0;$i<$final;$i++){ $candidato=$listaCandidatos[$i]; ?>
  ')" ondblclick="ocultarCapa('obs-getValor("oid"); ?>')"> getValor("obsRRHH")!=""))? "css/coment.png" : "css/add_coment.png"; ?>" />
" class="capaObs" onmouseover="mostrarCapa('obs-getValor("oid"); ?>')"> ')" style="padding:2px 10px 2px 0px ">
Comentario de RRHH Comentario del Gerente
">
" target=popup onclick=window.open('', 'popup', ',',',',',',',','width = 600, height = 800')>getValor("nombre")." ".$candidato->getValor("apellidos"); ?>
  getPerfiles(); $keylocalidades=array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre =>$valor) { echo "- ".$nombre."
"; } ?>
 getValor("estado_usuario"); ?>  getValor("fecha"); ?>  getValor("oid")); if(gettype($tecnologias)!="NULL"){ foreach($tecnologias as $tecno){ echo $tecno.","; } } ?>  getValor("oid")); if(gettype($idiomas)!="NULL"){ foreach($idiomas as $tecno){ echo $tecno.","; } } ?>  getValor("afinidad"); ?> &action=aceptar&idCand=getValor("oid"); ?>" >