Se repasan todos los estados de las ofertas y funcionalidad, y poder redimensionar la ventana de capacidades.
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@97 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
ef305065d8
commit
dc577d3296
@ -98,7 +98,7 @@
|
|||||||
echo '<a href="addOferta.php" class="menuOption" style="color:#000000">'.$this->locale['5101'].'</a>';
|
echo '<a href="addOferta.php" class="menuOption" style="color:#000000">'.$this->locale['5101'].'</a>';
|
||||||
}
|
}
|
||||||
/*echo '<a href="buscar_oferta.php" class="menuOption" style="color:#000000">'.$this->locale['5102'].'</a>';*/
|
/*echo '<a href="buscar_oferta.php" class="menuOption" style="color:#000000">'.$this->locale['5102'].'</a>';*/
|
||||||
|
/*
|
||||||
if(!in_array("gestionar", $opcionesThis)){
|
if(!in_array("gestionar", $opcionesThis)){
|
||||||
if(substr_count($_SERVER['REQUEST_URI'],"/oferta.php?idOferta")==1){
|
if(substr_count($_SERVER['REQUEST_URI'],"/oferta.php?idOferta")==1){
|
||||||
echo '<a href="gestion_oferta.php?idOferta='.$_GET['idOferta'].'" class="menuOption" style="color:#000000">'.$this->locale['284'].'</a>';
|
echo '<a href="gestion_oferta.php?idOferta='.$_GET['idOferta'].'" class="menuOption" style="color:#000000">'.$this->locale['284'].'</a>';
|
||||||
@ -107,6 +107,7 @@
|
|||||||
echo '<a href="oferta.php?idOferta='.$_GET['idOferta'].'" class="menuOption" style="color:#000000">'.$this->locale['5103'].'</a>';
|
echo '<a href="oferta.php?idOferta='.$_GET['idOferta'].'" class="menuOption" style="color:#000000">'.$this->locale['5103'].'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuCandidatos(){
|
function menuCandidatos(){
|
||||||
|
|||||||
@ -38,7 +38,7 @@ class Oferta {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// eliminamos en la oferta de la BD
|
// eliminamos en la oferta de la BD
|
||||||
$consulta = "DELETE FROM candidato_pedido WHERE oid = ".$this->campos['oid'];
|
$consulta = "DELETE FROM candidato_pedido WHERE oid = ".$this->campos['oid'];
|
||||||
|
|
||||||
@ -272,13 +272,19 @@ class Oferta {
|
|||||||
$candidato = new Candidato($this->usuario, $idCand);
|
$candidato = new Candidato($this->usuario, $idCand);
|
||||||
$estadoCand = $candidato->getValor("estado");
|
$estadoCand = $candidato->getValor("estado");
|
||||||
$numOfertasCandidato = $this->getOfertasCandidato($idCand);
|
$numOfertasCandidato = $this->getOfertasCandidato($idCand);
|
||||||
|
|
||||||
switch ($estadoCand) {
|
switch ($estadoCand) {
|
||||||
//Disponible asignado exclusivo, Disponible asignado, No disponible.
|
//TODO CANDIDATO ASOCIADO A UNA OFERTA (este como este su situación) pasará a disponible si no tiene alguna otra oferta,
|
||||||
|
//si tiene alguna otra oferta asociada se deja tal cual esta su situación
|
||||||
//El estado del candidato no cambia si está asociado a alguna otra oferta, sino pasará a Disponible
|
//El estado del candidato no cambia si está asociado a alguna otra oferta, sino pasará a Disponible
|
||||||
case "560":
|
case 560: return true; break;
|
||||||
case "550":
|
case 510:;
|
||||||
case "530":
|
case 521:;
|
||||||
|
case 522:;
|
||||||
|
case 523:;
|
||||||
|
case 530:;
|
||||||
|
case 540:;
|
||||||
|
case 550:
|
||||||
if (count($numOfertasCandidato) <= 1) {
|
if (count($numOfertasCandidato) <= 1) {
|
||||||
$candidato->transita("540", "");
|
$candidato->transita("540", "");
|
||||||
$nombre_candidato = $candidato->getValor("nombre") . " " . $candidato->getValor("apellidos");
|
$nombre_candidato = $candidato->getValor("nombre") . " " . $candidato->getValor("apellidos");
|
||||||
@ -287,8 +293,6 @@ class Oferta {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
//Pendiente de clasificar, Rechazados tipo1, tipo2, tipo3, Disponible.
|
|
||||||
//No podrá darse el caso ya que todo candidato asociado a una oferta debe estar Disponible asignado, Disponible asignado exclusivo, o no disponible
|
|
||||||
default:
|
default:
|
||||||
$error = "[quitarCandidato]. El candidato tiene un estado no permitido ('" . $estadoCand . "')";
|
$error = "[quitarCandidato]. El candidato tiene un estado no permitido ('" . $estadoCand . "')";
|
||||||
throw new Exception($error);
|
throw new Exception($error);
|
||||||
@ -297,14 +301,14 @@ class Oferta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function asignarCandidato($idCandidato) {
|
function asignarCandidato($idCandidato) {
|
||||||
/*
|
//Lo primero es tratar el candidato asociado actualmente antes de asignar el pasado por parametro
|
||||||
$idCand = $this->getValor("candidato");
|
$idCand = $this->getValor("candidato");
|
||||||
if (!empty($idCand)) {
|
if (!empty($idCand)) {
|
||||||
if (!$this->quitarCandidato()) {
|
if (!$this->quitarCandidato()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
$candidato = new Candidato($this->usuario, $idCandidato);
|
$candidato = new Candidato($this->usuario, $idCandidato);
|
||||||
$estadoCand = $candidato->getValor("estado");
|
$estadoCand = $candidato->getValor("estado");
|
||||||
$numOfertasCandidato = $this->getOfertasCandidato($idCand);
|
$numOfertasCandidato = $this->getOfertasCandidato($idCand);
|
||||||
@ -334,10 +338,21 @@ class Oferta {
|
|||||||
throw new Exception($error);
|
throw new Exception($error);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//("550")Disponible asignado exclusivo,u otro que no exista
|
//Asignado exlusivo sin ofertas asociada se asigna y ya esta
|
||||||
|
case 550: if ($numOfertasCandidato > 0) {
|
||||||
|
$error = "El candidato tiene un estado no permitido ('" . $candidato->getValor("estado") . "')";
|
||||||
|
throw new Exception($error);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$this->setCampo("candidato", $idCandidato);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
//("530") No Disponible
|
||||||
default:
|
default:
|
||||||
$error = "El candidato tiene un estado no permitido ('" . $candidato->getValor("estado") . "')";
|
$error = "El candidato tiene un estado no permitido ('" . $candidato->getValor("nombre_estado") . "')";
|
||||||
throw new Exception($error);
|
throw new Exception($error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,7 @@ if (!empty($_POST)) {
|
|||||||
$arrayInsert = array();
|
$arrayInsert = array();
|
||||||
$arrayInsert["pedido"] = $solicitud;
|
$arrayInsert["pedido"] = $solicitud;
|
||||||
$arrayInsert["obsGerente"] = $observaciones;
|
$arrayInsert["obsGerente"] = $observaciones;
|
||||||
$arrayInsert["estado"] = "110";
|
$arrayInsert["estado"] = "100";
|
||||||
|
|
||||||
/* $arrayInsert["prioridad"]= $prioridad;
|
/* $arrayInsert["prioridad"]= $prioridad;
|
||||||
$arrayInsert["empleados"]=$empleados;
|
$arrayInsert["empleados"]=$empleados;
|
||||||
|
|||||||
@ -194,7 +194,7 @@ if (in_array("laborables", $mostrarDetalle)) { ?>
|
|||||||
echo $nombre . ", ";
|
echo $nombre . ", ";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<br>". $persona->getValor("observaciones_prov_deseada");
|
echo "<br>". nl2br($persona->getValor("observaciones_prov_deseada"));
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td colspan="2" class="sinborde">
|
<td colspan="2" class="sinborde">
|
||||||
@ -206,7 +206,7 @@ if (in_array("laborables", $mostrarDetalle)) { ?>
|
|||||||
foreach ($localidadesNoDeseadas as $nombre => $valor) {
|
foreach ($localidadesNoDeseadas as $nombre => $valor) {
|
||||||
echo $nombre . ", ";
|
echo $nombre . ", ";
|
||||||
}
|
}
|
||||||
echo "<br>". $persona->getValor("observaciones_prov_nodeseada");
|
echo "<br>". nl2br($persona->getValor("observaciones_prov_nodeseada"));
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -494,7 +494,7 @@ TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
|
|||||||
|
|
||||||
var strFeatures = "dialogWidth:" + w + "px;" + "dialogHeight:" + h + "px;" +
|
var strFeatures = "dialogWidth:" + w + "px;" + "dialogHeight:" + h + "px;" +
|
||||||
"dialogLeft:" + LeftPosition + "px;" + "dialogTop:" + TopPosition + "px;" +
|
"dialogLeft:" + LeftPosition + "px;" + "dialogTop:" + TopPosition + "px;" +
|
||||||
"status:no;resizable:no;scroll:no;";
|
"status:no;resizable:yes;scroll:yes;";
|
||||||
|
|
||||||
window.showModalDialog(mylink, windowname, strFeatures);
|
window.showModalDialog(mylink, windowname, strFeatures);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -36,7 +36,7 @@ include LOCALE.LOCALESET."lenguaje.php";
|
|||||||
echo "<td>".$campos["perfil_funcional"]." ";
|
echo "<td>".$campos["perfil_funcional"]." ";
|
||||||
if ($campos["meses_funcional"] > 0)
|
if ($campos["meses_funcional"] > 0)
|
||||||
echo "(".$campos["meses_funcional"]." meses)";
|
echo "(".$campos["meses_funcional"]." meses)";
|
||||||
echo "</td><td>".$campos["observaciones"]."</td></tr>";
|
echo "</td><td>".nl2br($campos["observaciones"])."</td></tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|||||||
@ -64,14 +64,20 @@ switch ($action) {
|
|||||||
|
|
||||||
if(count($errores)==0){
|
if(count($errores)==0){
|
||||||
$arrayInsert=array();
|
$arrayInsert=array();
|
||||||
|
|
||||||
|
//BORRAR
|
||||||
$camposQuitar=array();
|
$camposQuitar=array();
|
||||||
$camposQuitar["action"]=stripinput($_POST['action']);
|
$camposQuitar["action"]=stripinput($_POST['action']);
|
||||||
$camposQuitar["id_perfil_tecnico"]=stripinput($_POST['id_perfil_tecnico']);
|
$camposQuitar["id_perfil_tecnico"]=stripinput($_POST['id_perfil_tecnico']);
|
||||||
$camposQuitar["id_perfil_funcional"]=stripinput($_POST['id_perfil_funcional']);
|
$camposQuitar["id_perfil_funcional"]=stripinput($_POST['id_perfil_funcional']);
|
||||||
$camposQuitar["tecnologias"]=$_POST['tecnologias'];
|
$camposQuitar["tecnologias"]=$_POST['tecnologias'];
|
||||||
$camposInsertar=array_diff_assoc($_POST,$camposQuitar);
|
// $camposInsertar=array_diff_assoc($_POST,$camposQuitar);
|
||||||
|
|
||||||
$camposInsertar["id_perfil_tecnico"]=$perfil_tecnico[0]; //Sabemos que siempre va a tener un unico elemento el array ya que no le dejamos seleccionar mas de uno
|
$camposInsertar["id_perfil_tecnico"]=$perfil_tecnico[0]; //Sabemos que siempre va a tener un unico elemento el array ya que no le dejamos seleccionar mas de uno
|
||||||
$camposInsertar["id_perfil_funcional"]=$perfil_funcional[0]; //Sabemos que siempre va a tener un unico elemento el array ya que no le dejamos seleccionar mas de uno
|
$camposInsertar["id_perfil_funcional"]=$perfil_funcional[0]; //Sabemos que siempre va a tener un unico elemento el array ya que no le dejamos seleccionar mas de uno
|
||||||
|
$camposInsertar["meses_funcional"]=$_POST['meses_funcional'];
|
||||||
|
$camposInsertar["meses_tecnico"]=$_POST['meses_tecnico'];
|
||||||
|
$camposInsertar["observaciones"]=$_POST['observaciones'];
|
||||||
$vacio=array();
|
$vacio=array();
|
||||||
$vacio['0']="";
|
$vacio['0']="";
|
||||||
$tecnologias=array_diff_assoc($tecnologias,$vacio);
|
$tecnologias=array_diff_assoc($tecnologias,$vacio);
|
||||||
@ -90,11 +96,13 @@ switch ($action) {
|
|||||||
foreach ($tec_aux as $fila){
|
foreach ($tec_aux as $fila){
|
||||||
$tecnologias[]=$fila["id_tecnologia"];
|
$tecnologias[]=$fila["id_tecnologia"];
|
||||||
}
|
}
|
||||||
|
|
||||||
//Metemos los meses de cada tecnologia si los tuviera
|
//Metemos los meses de cada tecnologia si los tuviera
|
||||||
for ($i=0; $i < count($tecnologias); $i++){
|
for ($i=0; $i < count($tecnologias); $i++){
|
||||||
$caption="meses_".$tecnologias[$i];
|
$caption="meses_".$tecnologias[$i];
|
||||||
$tecnologias[$i]=$tecnologias[$i]."-".$_POST[$caption];
|
$tecnologias[$i]=$tecnologias[$i]."-".$_POST[$caption];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($tecnologias)>0)
|
if (count($tecnologias)>0)
|
||||||
$capacidad->addTecnologias($tecnologias);
|
$capacidad->addTecnologias($tecnologias);
|
||||||
|
|
||||||
|
|||||||
@ -137,6 +137,7 @@ switch ($action) {
|
|||||||
$candidato->addCurriculum($_FILES['userfile']);
|
$candidato->addCurriculum($_FILES['userfile']);
|
||||||
$mensaje=$locale['1583'];
|
$mensaje=$locale['1583'];
|
||||||
$tipomsg="ok";
|
$tipomsg="ok";
|
||||||
|
$candidato=new Candidato($usuario,$_GET ['oid']);
|
||||||
|
|
||||||
} catch (Exception $e){
|
} catch (Exception $e){
|
||||||
$tipomsg="error";
|
$tipomsg="error";
|
||||||
|
|||||||
@ -93,6 +93,7 @@ switch ($action) {
|
|||||||
$pedido->addProvincias($_POST['provincias']);
|
$pedido->addProvincias($_POST['provincias']);
|
||||||
$pedido->setCampo("observaciones",$_POST['observaciones']);
|
$pedido->setCampo("observaciones",$_POST['observaciones']);
|
||||||
$mensaje=$locale['1063'];
|
$mensaje=$locale['1063'];
|
||||||
|
$pedido=new Pedido($idPedido,$usuario);
|
||||||
}
|
}
|
||||||
} catch (Exception $e){
|
} catch (Exception $e){
|
||||||
$mensaje=$locale[$e->getMessage()];
|
$mensaje=$locale[$e->getMessage()];
|
||||||
|
|||||||
@ -186,6 +186,7 @@ $locale['Ofertas005'] = "GRADO DE CONCORDANCIA";
|
|||||||
$locale['Ofertas006'] = "Ver ficha candidato";
|
$locale['Ofertas006'] = "Ver ficha candidato";
|
||||||
$locale['Ofertas007'] = "SOLICITUD";
|
$locale['Ofertas007'] = "SOLICITUD";
|
||||||
$locale['Ofertas008'] = "CANDIDATO";
|
$locale['Ofertas008'] = "CANDIDATO";
|
||||||
|
$locale['Ofertas009'] = "Todas las ofertas";
|
||||||
|
|
||||||
|
|
||||||
//Historial:
|
//Historial:
|
||||||
|
|||||||
@ -30,7 +30,10 @@ if (!isset($variablesExtra)) $variablesExtra = "";
|
|||||||
<ul id="tabnav">
|
<ul id="tabnav">
|
||||||
<li class="<?php if ($tipoOfertas == "") echo "activo";
|
<li class="<?php if ($tipoOfertas == "") echo "activo";
|
||||||
else echo "inactivo";
|
else echo "inactivo";
|
||||||
?>"><a href="<?php echo $destinoURL . "?byEstado=0" . $variablesExtra; ?>"><?php echo $locale['5108']; ?></a></li>
|
?>"><a href="<?php echo $destinoURL . "?byEstado=0" . $variablesExtra; ?>"><?php echo $locale['Ofertas009']; ?></a></li>
|
||||||
|
<li class="<?php if ($tipoOfertas == "100") echo "activo";
|
||||||
|
else echo "inactivo";
|
||||||
|
?>"><a href="<?php echo $destinoURL . "?byEstado=100" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("100"); ?></a></li>
|
||||||
<li class="<?php if ($tipoOfertas == "110") echo "activo";
|
<li class="<?php if ($tipoOfertas == "110") echo "activo";
|
||||||
else echo "inactivo";
|
else echo "inactivo";
|
||||||
?>"><a href="<?php echo $destinoURL . "?byEstado=110" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("110"); ?></a></li>
|
?>"><a href="<?php echo $destinoURL . "?byEstado=110" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("110"); ?></a></li>
|
||||||
@ -46,6 +49,12 @@ else echo "inactivo";
|
|||||||
<li class="<?php if ($tipoOfertas == "150") echo "activo";
|
<li class="<?php if ($tipoOfertas == "150") echo "activo";
|
||||||
else echo "inactivo";
|
else echo "inactivo";
|
||||||
?>"><a href="<?php echo $destinoURL . "?byEstado=150" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("150"); ?></a></li>
|
?>"><a href="<?php echo $destinoURL . "?byEstado=150" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("150"); ?></a></li>
|
||||||
|
<li class="<?php if ($tipoOfertas == "160") echo "activo";
|
||||||
|
else echo "inactivo";
|
||||||
|
?>"><a href="<?php echo $destinoURL . "?byEstado=160" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("160"); ?></a></li>
|
||||||
|
<li class="<?php if ($tipoOfertas == "170") echo "activo";
|
||||||
|
else echo "inactivo";
|
||||||
|
?>"><a href="<?php echo $destinoURL . "?byEstado=170" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("170"); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 35px; border-bottom:1px solid #CCC"></div>
|
<div style="height: 35px; border-bottom:1px solid #CCC"></div>
|
||||||
@ -57,7 +66,7 @@ echo '<div id="ContTabul">';
|
|||||||
echo "<table width=\"100%\"> ";
|
echo "<table width=\"100%\"> ";
|
||||||
// Acciones
|
// Acciones
|
||||||
echo "<tr class=\"encabezado\">";
|
echo "<tr class=\"encabezado\">";
|
||||||
echo " <td align=\"center\" colspan=\"3\">" . $locale['2014'] . "</td>";
|
echo " <td align=\"center\" colspan=\"2\">" . $locale['2014'] . "</td>";
|
||||||
// denominacion
|
// denominacion
|
||||||
$orderView = "denominacion";
|
$orderView = "denominacion";
|
||||||
echo " <td align=\"center\">" . $locale['1042'].":" . "<br />" .
|
echo " <td align=\"center\">" . $locale['1042'].":" . "<br />" .
|
||||||
@ -118,7 +127,7 @@ if (count($listadeOfertas) == 0) {
|
|||||||
if (($ofertaAct->getValor("gerente") == $usuario->getValor("oid")) || $usuario->tieneRol("1")) {
|
if (($ofertaAct->getValor("gerente") == $usuario->getValor("oid")) || $usuario->tieneRol("1")) {
|
||||||
// Es el gerente de ese pedido, puede editarlo y eliminarlo
|
// Es el gerente de ese pedido, puede editarlo y eliminarlo
|
||||||
//echo '<td align="center"><a href="gestion_oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>';
|
//echo '<td align="center"><a href="gestion_oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>';
|
||||||
echo '<td align="center"><a href="#"><img src="css/edit.png" title="' . $locale['2020'] . '"/></a></td>';
|
//echo '<td align="center"><a href="#"><img src="css/edit.png" title="' . $locale['2020'] . '"/></a></td>';
|
||||||
echo "<td align=\"center\"><a href=\"#\" onclick=eliminarOferta('" . $ofertaAct->getValor("oid") . "') ><img src=\"css/eliminar.png\" title=\"" . $locale['2019'] . "\"/></a></td>";
|
echo "<td align=\"center\"><a href=\"#\" onclick=eliminarOferta('" . $ofertaAct->getValor("oid") . "') ><img src=\"css/eliminar.png\" title=\"" . $locale['2019'] . "\"/></a></td>";
|
||||||
} else {
|
} else {
|
||||||
// No es el gerente no puede ni editarlo ni eliminarlo
|
// No es el gerente no puede ni editarlo ni eliminarlo
|
||||||
|
|||||||
@ -50,7 +50,7 @@ if (!empty($action)) {
|
|||||||
$idCand = $_GET['idCand'];
|
$idCand = $_GET['idCand'];
|
||||||
|
|
||||||
$estado = $oferta->asignarCandidato($idCand);
|
$estado = $oferta->asignarCandidato($idCand);
|
||||||
|
$candidato = new Candidato($usuario, $idCand);
|
||||||
if ($estado) {
|
if ($estado) {
|
||||||
$tipo = "ok";
|
$tipo = "ok";
|
||||||
$mensaje = "El candidato se ha asignado a la oferta";
|
$mensaje = "El candidato se ha asignado a la oferta";
|
||||||
@ -216,7 +216,7 @@ echo $mensaje;
|
|||||||
}
|
}
|
||||||
echo nl2br($pedido->getValor("observaciones_direccion"));
|
echo nl2br($pedido->getValor("observaciones_direccion"));
|
||||||
?>
|
?>
|
||||||
<span class="resaltado"><?php echo $locale['Solicitudes008']; ?></span> <?php echo $pedido->getValor("direccion_solicitud"); ?><br/>
|
<br/><span class="resaltado"><?php echo $locale['Solicitudes008']; ?></span> <?php echo $pedido->getValor("direccion_solicitud"); ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="resaltado"><?php echo $locale['1561']; ?></span>
|
<span class="resaltado"><?php echo $locale['1561']; ?></span>
|
||||||
@ -233,7 +233,7 @@ echo $mensaje;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<span class="resaltado"><?php echo $locale['5001']; ?></span>
|
<br/><span class="resaltado"><?php echo $locale['5001']; ?></span>
|
||||||
<?php
|
<?php
|
||||||
if (!empty($candidato)) {
|
if (!empty($candidato)) {
|
||||||
$localidadesNoDeseadas = $candidato->getProvinciasNoDeseadas();
|
$localidadesNoDeseadas = $candidato->getProvinciasNoDeseadas();
|
||||||
|
|||||||
@ -3,7 +3,6 @@ include_once("Objects/Pedido.php");
|
|||||||
include_once("Objects/ListaOfertas.php");
|
include_once("Objects/ListaOfertas.php");
|
||||||
include_once("seguridad.php");
|
include_once("seguridad.php");
|
||||||
$usuario = $_SESSION['usuario'];
|
$usuario = $_SESSION['usuario'];
|
||||||
//$pedido=new Pedido($idPedido,$usuario);
|
|
||||||
$pedido = new Pedido($idPedido, $usuario);
|
$pedido = new Pedido($idPedido, $usuario);
|
||||||
|
|
||||||
if (($pedido->getValor("gerente") != $usuario->getValor("oid"))
|
if (($pedido->getValor("gerente") != $usuario->getValor("oid"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user