git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@22 e2b1556b-49f8-d141-9351-52d6861a72d9
87 lines
2.8 KiB
PHP
87 lines
2.8 KiB
PHP
<?php
|
|
|
|
include("seguridad.php");
|
|
include("functions.php");
|
|
// Sólo los gerentes, administradores y rrhh pueden buscar
|
|
if(!$usuario->tieneRol("1")
|
|
&& !$usuario->tieneRol("3")
|
|
&& !$usuario->tieneRol("4")){
|
|
header("Location: aplicacion.php?e=permiso");
|
|
exit;
|
|
}
|
|
include_once("html/cabecera.php");
|
|
|
|
/* BUSCAR_PROYECTOS.PHP */
|
|
include_once("Objects/HTML.php");
|
|
$html=new HTML($locale);
|
|
echo $html->menuPedidos($usuario,"");
|
|
?>
|
|
<h2><?php echo $locale['800']; ?></h2>
|
|
<form action="busqueda_pedidos_multiple.php" method="POST" name="form_busqueda_pedidos_multiple">
|
|
|
|
<table align="center" width="80%" cellspacing="2" cellpadding="2" border="0">
|
|
<tr>
|
|
<td><?php echo $locale['1043']; ?><input type="text" name="nombre" value="" size="30" maxlength="30"></td>
|
|
<td><?php echo $locale['1022'];
|
|
rellena_prioridad_select("prioridad",0,5,"");
|
|
|
|
?></td>
|
|
<td><?php echo $locale['1027'];
|
|
$auxiliar = '<option value="">'.$locale['ns'].'</option>';
|
|
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']."<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);
|
|
?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"> </td>
|
|
<td><?php echo $locale['1800'];
|
|
rellena_procedencias("procedencia",$auxiliar,$procedencia);
|
|
?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<table><tr>
|
|
<td align="right"><?php echo $locale['122']; ?></td>
|
|
<td>
|
|
<?php
|
|
echo $html->listaSelect("tecnologia","oid","id","tecnologia",array("",$locale['ns']." ".$locale['1074']),array(),true,true,"15");
|
|
?>
|
|
</td>
|
|
<td align="right"><?php echo $locale['123'];?></td>
|
|
<td>
|
|
<?php
|
|
echo $html->listaSelect("idiomas","oid","id","idiomas",array("",$locale['ns']." ".$locale['1075']),array(),true,true,"15");
|
|
|
|
?>
|
|
</td>
|
|
<td align="right"><?php echo $locale['209'];?></td><td>
|
|
<?php
|
|
|
|
echo $html->listaSelect("provincias","oid","id","provincias",array("",$locale['ns']." ".$locale['1076']),array(),true,true,"15");
|
|
?>
|
|
</td>
|
|
</tr></table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" align="center">
|
|
<input type="submit" name="enviar" value="Buscar" class="button" onclick="return comprobar_busqueda_multiple(this)">
|
|
<input type="reset" name="borrar" value="Borrar" class="button" >
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
<?php
|
|
include_once("html/pie.php");
|
|
?>
|