Se arregla el proceso proponer a un candidato (no se tenia en cuenta el gerente que daba de alta la oferta)
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@153 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
62f10c084f
commit
f096620b3c
@ -332,7 +332,8 @@ if (in_array("curriculum", $mostrarDetalle)) { ?>
|
|||||||
|
|
||||||
<?php }
|
<?php }
|
||||||
if ((in_array("candidaturas", $mostrarDetalle)) &&
|
if ((in_array("candidaturas", $mostrarDetalle)) &&
|
||||||
(($persona->getValor("estado") == "540") ||
|
(($persona->getValor("estado") == "530") ||
|
||||||
|
($persona->getValor("estado") == "540") ||
|
||||||
($persona->getValor("estado") == "560"))) { ?>
|
($persona->getValor("estado") == "560"))) { ?>
|
||||||
<!-- CANDIDATURAS -->
|
<!-- CANDIDATURAS -->
|
||||||
<div class="encabezado"><?php echo $locale['1551']; ?></div>
|
<div class="encabezado"><?php echo $locale['1551']; ?></div>
|
||||||
|
|||||||
@ -18,6 +18,7 @@ $pedidos=$_POST['propPed'];
|
|||||||
$back=$_POST['back'];
|
$back=$_POST['back'];
|
||||||
$observacion=$_POST['obsProponer'];
|
$observacion=$_POST['obsProponer'];
|
||||||
$salario_ofertado=$_POST['salario_ofertado'];
|
$salario_ofertado=$_POST['salario_ofertado'];
|
||||||
|
$gerente=$usuario->getValor("oid");
|
||||||
|
|
||||||
$listaOfertas = new ListaOfertas($usuario, "", "", "0");
|
$listaOfertas = new ListaOfertas($usuario, "", "", "0");
|
||||||
$arrayInsert = array();
|
$arrayInsert = array();
|
||||||
@ -29,7 +30,7 @@ foreach($pedidos as $codigo) {
|
|||||||
$arrayInsert["estado"] = "100";
|
$arrayInsert["estado"] = "100";
|
||||||
$arrayInsert["candidato"] = $idCandidato;
|
$arrayInsert["candidato"] = $idCandidato;
|
||||||
$arrayInsert["salario_ofertado"] = $salario_ofertado;
|
$arrayInsert["salario_ofertado"] = $salario_ofertado;
|
||||||
|
$arrayInsert["gerente"]=$gerente;
|
||||||
|
|
||||||
$idOferta = $listaOfertas->addOferta($arrayInsert);
|
$idOferta = $listaOfertas->addOferta($arrayInsert);
|
||||||
unset ($arrayInsert);
|
unset ($arrayInsert);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user