addCurriculum * -> personales * -> laborables * -> curriculum * -> candidaturas * -> historial */ include_once("functions_get.php"); include_once("seguridad.php"); $destinoURL = substr($_SERVER['REQUEST_URI'], strripos($_SERVER['REQUEST_URI'], "/") + 1); if (stripos($destinoURL, "?") > 0) { $destinoURL = substr($destinoURL, 0, stripos($destinoURL, "?")); } /* * Comprobamos acciones com�nes a editar en los detalles como: * - Cambiar la observaci�n de una candidatura por parte de RRHH */ $action = ""; if ($_GET['action'] != "") $action = $_GET['action']; if ($_POST['action'] != "") $action = $_POST['action']; switch ($action) { case "addComent": if (($_POST['obs'] != "") && ($_POST['idCandidato'] != "") && ($_POST['idPedido'] != "")) { // Agregamso comentario al candidato sobre el pedido try { $pedido = new Pedido($_POST['idPedido'], $usuario); $pedido->addComentarioPropuestaRRHH($_POST['idCandidato'], $_POST['obs']); $msg = $locale['4047']; $tipo = "ok"; } catch (Exception $e) { $msg = $e->getMessage(); $tipo = "error"; } } break; ; default: break; } ?>
| getValor("nombre") . " " . $persona->getValor("apellidos"); ?> | getValor("dni"); ?> | getValor("fecha_nacimiento"); ?> | getValor("lugar_nacimiento"); ?> |
| ">getValor("email"); ?> | getValor("t_movil"); ?> | getValor("t_casa"); ?> | getValor("sexo") == "" || $persona->getValor("sexo") == "h") echo "hombre"; else echo "mujer"; ?> |
| getValor("titulacion")); ?> | |||
" . $locale['1094'] . " " . $persona->getValor("diasEspera") . " " . $locale['1093']; } echo " "; $estadosSiguientes = $persona->getSiguientes(); foreach ($estadosSiguientes as $codEstado => $nombreEstado) { // En estados 20,60 se necesita mensaj obs if (($codEstado == "20") || ($codEstado == "60")) { ?> ','','txt;dias')" style="margin-bottom:5px"> ','','salario')" style="margin-bottom:5px"> &action=cambEst&idEst='" style="margin-bottom:5px"> "; } ?> |
||||
| getValor("tipo") == "candidato") { echo $locale['1578'] . " : " . $persona->getValor("fecha_registro"); } elseif ($persona->getValor("tipo") == "usuario") { echo $locale['1589'] . " : " . $persona->getValor("fecha_alta"); } ?> | getValor("fecha_modificacion"); ?> | getValor("tipo") == "candidato") { ?>: getValor("fecha_entrevista"); ?> | ||
|
getValor("tipo") == "candidato") {
?>
getValor("procedencia")); ?> : getValor("nombre_procedencia_cv"); ?> |
getValor("tipo") == "usuario") { ?> getValor("localidad_trabajo")); ?> |
getProvinciasDeseadas();
$keylocalidades = array_values($localidadesDeseadas);
// Mostramos la lista
foreach ($localidadesDeseadas as $nombre => $valor) {
echo $nombre . ", ";
}
?>
getProvinciasNoDeseadas(); $keylocalidades = array_values($localidadesNoDeseadas); // Mostramos la lista foreach ($localidadesNoDeseadas as $nombre => $valor) { echo $nombre . ", "; } ?> |
||
| getValor("seguridad_social"); ?> | getValor("cuenta_corriente"); ?> | getValor("nombre_rol"); ?> | ||
| getPerfiles(); $keylocalidades = array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre => $valor) { echo $nombre . ", "; } ?> | getValor("tipo") == "usuario") { ?>: getValor("salario"); ?> | tieneRol("4")) {
?>
','v')">
";
$diaoff = substr(constante("daycacationsoff"), 0, 2);
$mesoff = substr(constante("daycacationsoff"), 3, 2);
$diaCierreVac = mktime(0, 0, 0, $mesoff, $diaoff, date('Y'));
$hoy = mktime(0, 0, 0, date('m'), date('d'), date('Y'));
if ($hoy > $diaCierreVac) {
// este y posterior
echo "(" . date('Y') . ") " . $persona->getDiasVacaciones(date('Y')) . " "; $pos = date('Y') + 1; echo "(" . $pos . ") " . $persona->getDiasVacaciones($pos); } else { $pos = date('Y') - 1; echo "(" . $pos . ") " . $persona->getDiasVacaciones($pos) . " "; echo "(" . date('Y') . ") " . $persona->getDiasVacaciones(date('Y')); } ?> |
getValor("tipo") == "candidato") {
?>
getValor("nombre_salario_min"); ?> | getValor("nombre_salario_max"); ?> |
| getValor("cliente_actual")); ?> | ||||
|
getValor("observaciones")); } ?> |
||||
getValor("oid")); if (gettype($titulaciones) != "NULL") { foreach ($titulaciones as $tecno) { echo $tecno . " "; } } ?> |
getValor("oid")); if (gettype($tecnologias) != "NULL") { foreach ($tecnologias as $tecno) { echo $tecno . " "; } } ?> |
getValor("oid")); if (gettype($idiomas) != "NULL") { foreach ($idiomas as $tecno) { echo $tecno . " "; } } ?> |
| addCurriculum($_FILES['userfile']); } ?> getValor("oid"), $tipo); ?> | ||
|
|