Cambios solicitados por correo:
- Al entrar con isban deben de aparecer todas las solicitudes no solo las EP - Al visualizar la oferta (isban) ocultar el campo observaciones y salario ofertado para la oferta - Quitar botón añadir oferta en solicitudes de oferta y añadir salario ofertado en el botón añadir oferta de la ficha de candidato git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@138 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
4d5c12c76d
commit
fc1a436c6d
@ -93,12 +93,8 @@
|
||||
} else {
|
||||
$opcionesThis = $opciones;
|
||||
}
|
||||
if (!$usuario->tieneRol("7")) {
|
||||
echo '<a href="lista_ofertas.php" class="menuOption" style="color:#000000">'.$this->locale['5100'].'</a>';
|
||||
}
|
||||
else {
|
||||
echo '<a href="lista_ofertas.php?byEstado=100" class="menuOption" style="color:#000000">'.$this->locale['5100'].'</a>';
|
||||
}
|
||||
|
||||
echo '<a href="lista_ofertas.php" class="menuOption" style="color:#000000">'.$this->locale['5100'].'</a>';
|
||||
|
||||
if((!$usuario->tieneRol("7")) && (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['ed'].'</a>';
|
||||
|
||||
@ -13,7 +13,7 @@ if(!$usuario->tieneRol("7")) {
|
||||
include("tablero.php");
|
||||
}
|
||||
else {
|
||||
header("Location: lista_ofertas.php?byEstado=100");
|
||||
header("Location: lista_ofertas.php");
|
||||
}
|
||||
|
||||
if($_SESSION["oid"]){
|
||||
|
||||
@ -376,6 +376,7 @@ if (in_array("curriculum", $mostrarDetalle)) { ?>
|
||||
<div style="float:left;margin-left:20px; ">
|
||||
Comentario:<br />
|
||||
<textarea name="obsProponer" style="width:250px; height:90px; "></textarea><br />
|
||||
<input type="text" name="salario_ofertado" value="" size="15" maxlength="20">
|
||||
<input value="<?php echo $locale['1084']; ?>" class="button" type="submit">
|
||||
|
||||
</div>
|
||||
|
||||
@ -17,6 +17,7 @@ $idCandidato=$_POST['idCandidato'];
|
||||
$pedidos=$_POST['propPed'];
|
||||
$back=$_POST['back'];
|
||||
$observacion=$_POST['obsProponer'];
|
||||
$salario_ofertado=$_POST['salario_ofertado'];
|
||||
|
||||
$listaOfertas = new ListaOfertas($usuario, "", "", "0");
|
||||
$arrayInsert = array();
|
||||
@ -27,6 +28,7 @@ foreach($pedidos as $codigo) {
|
||||
$arrayInsert["obsGerente"] = $observacion;
|
||||
$arrayInsert["estado"] = "100";
|
||||
$arrayInsert["candidato"] = $idCandidato;
|
||||
$arrayInsert["salario_ofertado"] = $salario_ofertado;
|
||||
|
||||
|
||||
$idOferta = $listaOfertas->addOferta($arrayInsert);
|
||||
|
||||
@ -28,11 +28,6 @@ if (!isset($variablesExtra)) $variablesExtra = "";
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
//Si es usuario ISBAN solo podrá ver ofertas en proceso por lo que no se saca el filtro de estado
|
||||
if (!$usuario->tieneRol("7")) {
|
||||
?>
|
||||
|
||||
<div style="float:left; padding-top:10px; border-top:1px solid #CCC; border-left:1px solid #CCC; border-right:1px solid #CCC;background-color:#F0F0F0">
|
||||
<ul id="tabnav">
|
||||
|
||||
@ -70,8 +65,6 @@ else echo "inactivo";
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div style="height: 35px; border-bottom:1px solid #CCC"></div>
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
@ -173,8 +173,8 @@ if(count($listadePedidos)==0){
|
||||
//////////////////////////////////////
|
||||
echo '<td align="left">';
|
||||
$listaOfertas = $pedidoAct->getListaOfertas();
|
||||
if (($pedidoAct->getValor("estado")=='130')||($pedidoAct->getValor("estado")=='140'))
|
||||
echo '<input language="javascript" type="button" value="'.$locale['5101'].'" class="button" onclick="javascript:document.location=\'addOferta.php?solicitud='.$pedidoAct->getValor("oid").'\'"><br/>';
|
||||
//if (($pedidoAct->getValor("estado")=='130')||($pedidoAct->getValor("estado")=='140'))
|
||||
// echo '<input language="javascript" type="button" value="'.$locale['5101'].'" class="button" onclick="javascript:document.location=\'addOferta.php?solicitud='.$pedidoAct->getValor("oid").'\'"><br/>';
|
||||
|
||||
for ($j = 0; $j < count($listaOfertas); $j++) {
|
||||
$ofertaAct = $listaOfertas[$j];
|
||||
|
||||
@ -168,8 +168,11 @@ echo $mensaje;
|
||||
<tr>
|
||||
<td colspan="3" class="sinborde">
|
||||
<span class="resaltado"><?php echo $locale['1027']; ?></span> <?php echo $oferta->getValor("nombre_gerente"); ?><br/>
|
||||
|
||||
<?php if(!$usuario->tieneRol("7")) {?>
|
||||
<span class="resaltado"><?php echo $locale['135']; ?></span> <?php echo nl2br($oferta->getValor("obsGerente")); ?><br/>
|
||||
<span class="resaltado"><?php echo $locale['Ofertas010']; ?></span> <?php echo$oferta->getValor("salario_ofertado"); ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user