Ticket #563 -> En la pantalla de búsqueda de pedidos (solicitudes), se debe poder elegir varios perfiles técnicos
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@22 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
9e1daae059
commit
b80d050cb0
@ -17,10 +17,10 @@ include_once("ConexionBackup.php");
|
||||
|
||||
function execQuery($query){
|
||||
$res = mysql_query($query);
|
||||
// $mensaje = $query." - ".$res."\r\n";
|
||||
// $fichero = fopen("querys.log","a");
|
||||
// fputs($fichero,$mensaje);
|
||||
// fclose($fichero);
|
||||
$mensaje = $query." - ".$res."\r\n";
|
||||
$fichero = fopen("querys.log","a");
|
||||
fputs($fichero,$mensaje);
|
||||
fclose($fichero);
|
||||
return $res;
|
||||
|
||||
}
|
||||
|
||||
@ -28,14 +28,14 @@ echo $html->menuPedidos($usuario,"");
|
||||
?></td>
|
||||
<td><?php echo $locale['1027'];
|
||||
$auxiliar = '<option value="">'.$locale['ns'].'</option>';
|
||||
rellena_personal_permiso("gerente","GP",$auxiliar,$gerente);?></td>
|
||||
rellena_personal_permiso("gerente","GP", $auxiliar, $gerente);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $locale['1504'];
|
||||
rellena_desplegable_select_oid("clientes","clientes",$auxiliar,$cliente);
|
||||
?></td>
|
||||
<td><?php echo $locale['121'];
|
||||
rellena_desplegable_select_oid("perfil","perfil",$auxiliar,$perfil);
|
||||
<td><?php echo $locale['121']."<br/>";
|
||||
echo $html->listaSelect("perfil","oid","id","perfil", array("",$locale['ns']." ".$locale['4048']),array(),true,true,"15");
|
||||
?></td>
|
||||
<td><?php echo $locale['132'];
|
||||
rellena_desplegable_select_oidCol("pedidos_estados","cod","nombre","estado",$auxiliar,$estado);
|
||||
|
||||
@ -57,8 +57,15 @@ if ($procedencia != ""){
|
||||
$condicion .= "pedidos.procedencia = '".$procedencia."',";
|
||||
}
|
||||
|
||||
$puesto_perfil = false;
|
||||
if ($perfil != ""){
|
||||
$condicion .= "pedidos.perfil = '".$perfil."',";
|
||||
foreach($perfil as $per)
|
||||
if ($per != "") {
|
||||
if(!$puesto_perfil)
|
||||
$tabla .= ",perfil_pedido";
|
||||
$puesto_perfil = true;
|
||||
$condicion .= "perfil_pedido.perfil = '".$per."' and perfil_pedido.oid_i = pedidos.oid or ";
|
||||
}
|
||||
}
|
||||
|
||||
$puesto_tecno = false;
|
||||
|
||||
@ -8,7 +8,7 @@ $prioridad = stripinput($_POST["prioridad"]);
|
||||
$nombre = stripinput($_POST["nombre"]);
|
||||
$fecha = stripinput($_POST["fecha"]);
|
||||
$cliente = stripinput($_POST["clientes"]);
|
||||
$perfil = stripinput($_POST["perfil"]);
|
||||
$perfil = $_POST["perfil"];
|
||||
$duracion = stripinput($_POST["duracion"]);
|
||||
$empleados = stripinput($_POST["empleados"]);
|
||||
$observaciones = stripinput($_POST["observaciones"]);
|
||||
|
||||
@ -99,7 +99,7 @@ include("functions.php");
|
||||
<td width="33%" textalign="right"><?php echo $locale['1012']; ?><br/>
|
||||
<?php /* Ticket #562 -> En la pantalla de búsqueda de candidato, se debe poder elegir varios perfiles técnicos. */ ?>
|
||||
<?php
|
||||
echo $html->listaSelect("perfil","oid","id","perfil",array("",$locale['ns']),"",true,true);
|
||||
echo $html->listaSelect("perfil","oid","id","perfil",array("",$locale['ns']),"",true,true, 15);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -113,7 +113,7 @@ include("functions.php");
|
||||
<td>
|
||||
<?php
|
||||
$auxiliar = '<option selected value="">'.$locale['ns'].'</option>';
|
||||
echo $html->listaSelect("tecnologia","oid","id","tecnologia",array("",$locale['ns']),"",true,true);
|
||||
echo $html->listaSelect("tecnologia","oid","id","tecnologia",array("",$locale['ns']),"",true,true,15);
|
||||
|
||||
?>
|
||||
</td>
|
||||
@ -121,7 +121,7 @@ include("functions.php");
|
||||
<td>
|
||||
<?php
|
||||
$auxiliar = '<option selected value="">'.$locale['ns'].'</option>';
|
||||
echo $html->listaSelect("idiomas","oid","id","idiomas",array("",$locale['ns']),"",true,true);
|
||||
echo $html->listaSelect("idiomas","oid","id","idiomas",array("",$locale['ns']),"",true,true,15);
|
||||
|
||||
?>
|
||||
</td>
|
||||
@ -129,7 +129,7 @@ include("functions.php");
|
||||
<td>
|
||||
<?php
|
||||
$auxiliar = '<option selected value="">'.$locale['ns'].'</option>';
|
||||
echo $html->listaSelect("titulaciones","oid","id","titulaciones",array("",$locale['ns']),"",true,true);
|
||||
echo $html->listaSelect("titulaciones","oid","id","titulaciones",array("",$locale['ns']),"",true,true,15);
|
||||
|
||||
?>
|
||||
</td>
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
<?php
|
||||
include ("functions.php");
|
||||
include ("./functions.php");
|
||||
include_once("./Objects/HTML.php");
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
|
||||
@ -1008,4 +1008,5 @@ $locale['4045'] = "CV no encontrado.";
|
||||
$locale['4046'] = "No se ha podido actualiar la observación";
|
||||
$locale['4047'] = "Se ha añadido correctamente la observación";
|
||||
|
||||
$locale['4048'] = "Cualquier perfil técnico";
|
||||
?>
|
||||
|
||||
@ -133,7 +133,7 @@ if($_GET['pagLista']>0){
|
||||
}
|
||||
// Vemos si tiene pedidos
|
||||
if(count($listadePedidos)==0){
|
||||
echo "<tr><td colspan=\"11\" align=\"center\">no tiene pedidos</td></tr></table>";
|
||||
echo "<tr><td colspan=\"11\" align=\"center\">no tiene solicitudes de oferta</td></tr></table>";
|
||||
}else{
|
||||
$inicio=($pagLista-1)*constante("lista");
|
||||
if(count($listadePedidos)>($inicio+constante("lista"))){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user