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 '';
- }
- else {
- echo '';
- }
+
+ echo '';
if((!$usuario->tieneRol("7")) && (substr_count($_SERVER['REQUEST_URI'],"/oferta.php?idOferta")==1)){
echo '';
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")) {
-?>
-
@@ -70,8 +65,6 @@ else echo "inactivo";
-
-
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"); ?>
+
|