- Añadir campo "Salario ofertado para ésta oferta" a la oferta en el alta y modifica-ción.
- Además en la ficha del candidato, en la lista de ofertas a las que está asociado, sacar también el salario ofertado. - El campo observaciones de las ofertas que se pueda modificar. git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@135 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
5c48d45424
commit
1b46718a76
@ -34,7 +34,7 @@ switch ($action) {
|
|||||||
case "edit":
|
case "edit":
|
||||||
try{
|
try{
|
||||||
if(count($errores)==0){
|
if(count($errores)==0){
|
||||||
$Oferta->setCampo("pedido",$_POST['solicitud'][0]);
|
// $Oferta->setCampo("pedido",$_POST['solicitud'][0]);
|
||||||
$Oferta->setCampo("obsGerente",$_POST['observaciones']);
|
$Oferta->setCampo("obsGerente",$_POST['observaciones']);
|
||||||
$Oferta->setCampo("gerente",$usuario->getValor("oid"));
|
$Oferta->setCampo("gerente",$usuario->getValor("oid"));
|
||||||
$Oferta->setCampo("salario_ofertado",$_POST['salario_ofertado']);
|
$Oferta->setCampo("salario_ofertado",$_POST['salario_ofertado']);
|
||||||
@ -51,7 +51,7 @@ switch ($action) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "<h2>".$Oferta->getValor("referencia") ." - ". $Oferta->getValor("nombre_candidato")."</h2>";
|
echo "<h2>".$Oferta->getValor("referencia") ." - ". $Oferta->getValor("nombre_solicitud") . " - ". $Oferta->getValor("nombre_candidato")."</h2>";
|
||||||
if($mensaje!=""){
|
if($mensaje!=""){
|
||||||
// Mostramos el mensaje
|
// Mostramos el mensaje
|
||||||
if(in_array("9",$errores)){
|
if(in_array("9",$errores)){
|
||||||
@ -61,21 +61,21 @@ if($mensaje!=""){
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
echo '<div class="encabezado">'. $locale['Solicitudes005'] .'</div>';
|
||||||
echo '<form method="POST" action="gestion_oferta.php?idOferta='.$Oferta->getValor("oid").'" name="form_registro" enctype="multipart/form-data">';
|
echo '<form method="POST" action="gestion_oferta.php?idOferta='.$Oferta->getValor("oid").'" name="form_registro" enctype="multipart/form-data">';
|
||||||
echo "<input type=\"hidden\" name=\"action\" value=\"edit\" />";
|
echo "<input type=\"hidden\" name=\"action\" value=\"edit\" />";
|
||||||
echo "<table id=\"editOferta\">" .
|
echo "<table id=\"editOferta\">";
|
||||||
"<tr>" .
|
// "<tr>" .
|
||||||
" <td";
|
// " <td";
|
||||||
if (in_array("1", $errores))
|
//if (in_array("1", $errores))
|
||||||
echo " class=\"errorcampo\"";
|
// echo " class=\"errorcampo\"";
|
||||||
|
|
||||||
echo ">" . $locale['1025'] . ":<br/>";
|
//echo ">" . $locale['1025'] . ":<br/>";
|
||||||
rellena_desplegable_pedidos_estado("solicitud", "130, 140", array($Oferta->getValor('pedido')));
|
//rellena_desplegable_pedidos_estado("solicitud", "130, 140", array($Oferta->getValor('pedido')));
|
||||||
|
|
||||||
echo " </td>";
|
//echo " </td>";
|
||||||
|
|
||||||
echo "</td></tr>";
|
//echo "</td></tr>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
|
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
@ -93,7 +93,7 @@ echo '<tr>' .
|
|||||||
// Botones de guardar y restablecer
|
// Botones de guardar y restablecer
|
||||||
echo "<tr><td colspan=\"3\" align=\"center\">";
|
echo "<tr><td colspan=\"3\" align=\"center\">";
|
||||||
echo '<input type="submit" value="' . $locale['gu'] . '" onclick="return comprobar_registro(this)" class="button">';
|
echo '<input type="submit" value="' . $locale['gu'] . '" onclick="return comprobar_registro(this)" class="button">';
|
||||||
echo '<input type="reset" value="' . $locale['res'] . '" class="button"></td>';
|
//echo '<input type="reset" value="' . $locale['res'] . '" class="button"></td>';
|
||||||
echo "</tr></table>";
|
echo "</tr></table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
include_once("html/pie.php");
|
include_once("html/pie.php");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user