From fc1a436c6dc7daed39ee0513698fffa4c6d62e86 Mon Sep 17 00:00:00 2001 From: roberto Date: Thu, 3 May 2012 09:41:07 +0000 Subject: [PATCH] =?UTF-8?q?Cambios=20solicitados=20por=20correo:=20-=09Al?= =?UTF-8?q?=20entrar=20con=20isban=20deben=20de=20aparecer=20todas=20las?= =?UTF-8?q?=20solicitudes=20no=20solo=20las=20EP=20-=09Al=20visualizar=20l?= =?UTF-8?q?a=20oferta=20(isban)=20ocultar=20el=20campo=20observaciones=20y?= =?UTF-8?q?=20salario=20ofertado=20para=20la=20oferta=20-=09Quitar=20bot?= =?UTF-8?q?=C3=B3n=20a=C3=B1adir=20oferta=20en=20solicitudes=20de=20oferta?= =?UTF-8?q?=20y=20a=C3=B1adir=20salario=20ofertado=20en=20el=20bot=C3=B3n?= =?UTF-8?q?=20a=C3=B1adir=20oferta=20de=20la=20ficha=20de=20candidato?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@138 e2b1556b-49f8-d141-9351-52d6861a72d9 --- src/Objects/HTML.php | 8 ++------ src/aplicacion.php | 2 +- src/detalles_usuario.php | 1 + src/proponerCandidato.php | 2 ++ src/ver_lista_ofertas.php | 7 ------- src/ver_lista_pedidos.php | 4 ++-- src/ver_oferta.php | 3 +++ 7 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/Objects/HTML.php b/src/Objects/HTML.php index cfa32e0..1908b0f 100644 --- a/src/Objects/HTML.php +++ b/src/Objects/HTML.php @@ -93,12 +93,8 @@ } else { $opcionesThis = $opciones; } - if (!$usuario->tieneRol("7")) { - echo ''.$this->locale['5100'].''; - } - else { - echo ''.$this->locale['5100'].''; - } + + echo ''.$this->locale['5100'].''; if((!$usuario->tieneRol("7")) && (substr_count($_SERVER['REQUEST_URI'],"/oferta.php?idOferta")==1)){ echo ''.$this->locale['ed'].''; diff --git a/src/aplicacion.php b/src/aplicacion.php index 8fd1a7f..1c59046 100644 --- a/src/aplicacion.php +++ b/src/aplicacion.php @@ -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"]){ diff --git a/src/detalles_usuario.php b/src/detalles_usuario.php index 8027f73..9de5899 100644 --- a/src/detalles_usuario.php +++ b/src/detalles_usuario.php @@ -376,6 +376,7 @@ if (in_array("curriculum", $mostrarDetalle)) { ?>
Comentario:

+
diff --git a/src/proponerCandidato.php b/src/proponerCandidato.php index ca9beaf..5234989 100644 --- a/src/proponerCandidato.php +++ b/src/proponerCandidato.php @@ -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); diff --git a/src/ver_lista_ofertas.php b/src/ver_lista_ofertas.php index 59f8a59..36c07e5 100644 --- a/src/ver_lista_ofertas.php +++ b/src/ver_lista_ofertas.php @@ -28,11 +28,6 @@ if (!isset($variablesExtra)) $variablesExtra = ""; ?> -tieneRol("7")) { -?> -
- -
diff --git a/src/ver_lista_pedidos.php b/src/ver_lista_pedidos.php index 073c099..9b7725a 100644 --- a/src/ver_lista_pedidos.php +++ b/src/ver_lista_pedidos.php @@ -173,8 +173,8 @@ if(count($listadePedidos)==0){ ////////////////////////////////////// echo ''; $listaOfertas = $pedidoAct->getListaOfertas(); -if (($pedidoAct->getValor("estado")=='130')||($pedidoAct->getValor("estado")=='140')) - echo '
'; +//if (($pedidoAct->getValor("estado")=='130')||($pedidoAct->getValor("estado")=='140')) +// echo '
'; for ($j = 0; $j < count($listaOfertas); $j++) { $ofertaAct = $listaOfertas[$j]; diff --git a/src/ver_oferta.php b/src/ver_oferta.php index 6f0362e..5abad8a 100644 --- a/src/ver_oferta.php +++ b/src/ver_oferta.php @@ -168,8 +168,11 @@ echo $mensaje;    getValor("nombre_gerente"); ?>
+ +tieneRol("7")) {?>  getValor("obsGerente")); ?>
 getValor("salario_ofertado"); ?> +