Tareas #851:En los candidatos hay que quitar las etiquetas de las capacidades (títulos de la ta-bla de capacidades profesionales)
Tareas #857:Cambiar visualizar por imprimir en todas las SO Tareas #861:En la pantalla de detalle de la Solicitud de Oferta : Quitar el campo “Procedencia”, Fecha de fin de servicio, tanto en la visualización como en la Edicion de la SO se han de ver las Ofertas relacionadas. Quitar los popups de las acciones en las Ofertas relacio-nadas. git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@131 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
395876850f
commit
cdd3d01b46
@ -8,12 +8,12 @@ include LOCALE.LOCALESET."lenguaje.php";
|
||||
|
||||
if(count($ListaCapacidadesProfesionales->capacidad) > 0){
|
||||
echo "<table width='100%'>";
|
||||
echo "<tr class='encabezado'>";
|
||||
echo "<td width='5%'>".$locale['2014']."</td>";
|
||||
echo "<td width='25%'>".$locale['1524']."</td>";
|
||||
echo "<td width='25%'>".$locale['203']."</td>";
|
||||
echo "<td width='25%'>".$locale['Capacidades002_1']."</td>";
|
||||
echo "<td width='20%'>".$locale['562']."</td></tr>";
|
||||
// echo "<tr class='encabezado'>";
|
||||
// echo "<td width='5%'>".$locale['2014']."</td>";
|
||||
// echo "<td width='25%'>".$locale['1524']."</td>";
|
||||
// echo "<td width='25%'>".$locale['203']."</td>";
|
||||
// echo "<td width='25%'>".$locale['Capacidades002_1']."</td>";
|
||||
// echo "<td width='20%'>".$locale['562']."</td></tr>";
|
||||
|
||||
for($i=0;$i<count($ListaCapacidadesProfesionales->capacidad);$i++){
|
||||
$campos = $ListaCapacidadesProfesionales->capacidad[$i]->getCampos();
|
||||
|
||||
@ -6,6 +6,7 @@ $idPedido=$_GET['idPedido'];
|
||||
include_once("html/cabecera.php");
|
||||
include_once("Objects/HTML.php");
|
||||
include_once("Objects/Pedido.php");
|
||||
include_once("Objects/ListaOfertas.php");
|
||||
|
||||
$pedido=new Pedido($idPedido,$usuario);
|
||||
$html=new HTML($locale);
|
||||
@ -291,7 +292,7 @@ echo '<tr><td colspan="3" align="center">'.$locale['135'].'<br><textarea name="o
|
||||
$pedido->getValor("observaciones").
|
||||
'</textarea></td></tr>';
|
||||
echo "</table>";
|
||||
|
||||
echo '<input type="submit" value="'.$locale['gu'].'" onclick="return comprobar_registro(this)" class="button">';
|
||||
///////////////////////////
|
||||
//CAPACIDADES PROFESIONALES
|
||||
///////////////////////////
|
||||
@ -299,14 +300,70 @@ echo '<div id="capacidades" name="capacidades" class="encabezado">'.$locale['Cap
|
||||
echo '<input language="javascript" type="button" value="'.$locale['Capacidades003'].'" class="button" onclick="if(popup(\'addCapacidadProfesional.php?id_solicitud='.$pedido->getValor("oid").'&entidad=solicitud\', \'notes\')) window.location.reload()">';
|
||||
$CapacidadesProfesionales = $pedido->getCapacidadesProfesionales();
|
||||
VerListaCapacidadesProfesionales($CapacidadesProfesionales, "gestion_pedido");
|
||||
?>
|
||||
|
||||
echo '<input type="submit" value="'.$locale['gu'].'" onclick="return comprobar_registro(this)" class="button">';
|
||||
<div class="encabezado"><?php echo $locale['Solicitudes013']?></div>
|
||||
<table width="100%">
|
||||
<thead>
|
||||
<tr class="nombre">
|
||||
<!--th><?php echo $locale['2014']; ?></th-->
|
||||
<th><?php echo $locale['5106']; ?></th>
|
||||
<th><?php echo $locale['1021']; ?></th>
|
||||
<th><?php echo $locale['1102']; ?></th>
|
||||
<th><?php echo $locale['5107']; ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
$oidPedido = $pedido->getValor("oid");
|
||||
|
||||
// sacado de http://patrickallaert.blogspot.com/2007/09/building-dynamic-sql-queries-elegant.html
|
||||
$cond = array();
|
||||
$cond[] = "pedido = '$oidPedido'";
|
||||
|
||||
$orden = array();
|
||||
$orden[] = "referencia";
|
||||
|
||||
$listaOfertas = new ListaOfertas($usuario, $cond, $orden);
|
||||
$ofertas = $listaOfertas->getOfertas();
|
||||
|
||||
// Vemos si tiene ofertas
|
||||
$totalOfertas = count($ofertas);
|
||||
if ($totalOfertas == 0) {
|
||||
echo "<tr><td colspan=\"11\" align=\"center\">Esta solicitud no tiene ofertas</td></tr>";
|
||||
} else {
|
||||
for ($i = 0; $i < $totalOfertas; $i++) {
|
||||
$ofertaAct = $ofertas[$i];
|
||||
|
||||
echo "<tr>";
|
||||
|
||||
/*if (($ofertaAct->getValor("gerente") == $usuario->getValor("oid")) || $usuario->tieneRol("1")) {
|
||||
// Es el gerente de ese pedido, puede editarlo y eliminarlo
|
||||
echo '<td align="center"><a href="gestion_pedido.php?idPedido=' . $ofertaAct->getValor("oid") . '"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>';
|
||||
echo "<td align=\"center\"><a href=\"#\" onclick=eliminarPedido('" . $ofertaAct->getValor("oid") . "') ><img src=\"css/eliminar.png\" title=\"" . $locale['2016'] . "\"/></a></td>";
|
||||
} else {
|
||||
// No es el gerente no puede ni editarlo ni eliminarlo
|
||||
echo '<td></td><td></td>';
|
||||
}*/
|
||||
|
||||
//echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/brick_go.png" title="' . $locale['2015'] . '" /></a></td>';
|
||||
echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '">'.$ofertaAct->getValor("referencia").'</a></td>';
|
||||
echo '<td align="center">' . $ofertaAct->getValor("fecha") . '</td>';
|
||||
echo '<td align="center">' . $ofertaAct->getValor("nombre_estado") . '</td>';
|
||||
echo '<td align="center"><a href="/detalle_candidato.php?oid=' . $ofertaAct->getValor("candidato") . '">' . $ofertaAct->getValor("nombre_candidato") . '</td>';
|
||||
echo "</tr>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
|
||||
<?php
|
||||
echo '<div class="encabezado">'.$locale['1552'].'</div>';
|
||||
echo '<tr><td colspan="3" align="center">'.$locale['127'].'<br><textarea name="historial" readonly rows="8" cols="120" maxlength="300" style="overflow: auto;">';
|
||||
echo $pedido->getHistorial();
|
||||
echo '</textarea></td></tr>';
|
||||
|
||||
|
||||
/* Botones de guardar y restablecer */
|
||||
echo "<!--tr><td colspan=\"3\" align=\"center\">";
|
||||
echo '<input type="submit" value="'.$locale['gu'].'" onclick="return comprobar_registro(this)" class="button">';
|
||||
|
||||
@ -647,7 +647,7 @@ $locale['1073'] = "Error al cambiar el estado";
|
||||
$locale['1074'] = "Cualquier tecnología";
|
||||
$locale['1075'] = "Cualquier idioma";
|
||||
$locale['1076'] = "Cualquier provincia";
|
||||
$locale['1077'] = "Ver solicitud de oferta";
|
||||
$locale['1077'] = "Imprimir solicitud de oferta";
|
||||
$locale['1078'] = "Peso tecnología";
|
||||
$locale['1079'] = "Peso idioma";
|
||||
$locale['1080'] = "Peso perfíl";
|
||||
@ -897,10 +897,10 @@ $locale['2011'] = "Ya existe un informe con ese nombre.";
|
||||
$locale['2012'] = " Error eliminando el informe.";
|
||||
$locale['2013'] = " Informe eliminado.";
|
||||
$locale['2014'] = "Acciones";
|
||||
$locale['2015'] = "Ver la información de esta solicitud de oferta";
|
||||
$locale['2015'] = "Imprimir la información de esta solicitud de oferta";
|
||||
$locale['2016'] = "Eliminar la solicitud de oferta";
|
||||
$locale['2017'] = "Modificar los datos de la solicitud de oferta";
|
||||
$locale['2018'] = "Ver la información de esta oferta";
|
||||
$locale['2018'] = "Imprimir la información de esta oferta";
|
||||
$locale['2019'] = "Eliminar la oferta";
|
||||
$locale['2020'] = "Modificar los datos de la oferta";
|
||||
|
||||
|
||||
@ -200,7 +200,6 @@ echo $mensaje;
|
||||
</td>
|
||||
<td class="sinborde">
|
||||
<span class="resaltado"><?php echo $locale['Solicitudes002']; ?></span> <?php echo ver_fecha_larga($pedido->getValor("fecha_inicio_servicio")); ?><br/>
|
||||
<span class="resaltado"><?php echo $locale['Solicitudes003']; ?></span> <?php echo ver_fecha_larga($pedido->getValor("fecha_fin_servicio")); ?><br/>
|
||||
<span class="resaltado"><?php echo $locale['1026']; ?></span> <?php echo $pedido->getValor("duracion"); ?><br/>
|
||||
</td>
|
||||
</tr>
|
||||
@ -208,7 +207,6 @@ echo $mensaje;
|
||||
<tr>
|
||||
<td class="sinborde">
|
||||
<span class="resaltado"><?php echo $locale['Solicitudes006']; ?></span> <?php echo ver_fecha_larga($pedido->getValor("fecha_recepcion_solicitud")); ?><br/>
|
||||
<span class="resaltado"><?php echo $locale['1800']; ?></span> <?php echo $pedido->getValor("procedencia"); ?><br/>
|
||||
<span class="resaltado"><?php echo $locale['1027']; ?></span> <?php echo $pedido->getValor("nombre_gerente"); ?><br/>
|
||||
</td>
|
||||
<td class="sinborde">
|
||||
@ -353,7 +351,7 @@ VerListaCapacidadesProfesionales($CapacidadesProfesionales, "detalle_solicitud")
|
||||
<table width="100%">
|
||||
<thead>
|
||||
<tr class="nombre">
|
||||
<th><?php echo $locale['2014']; ?></th>
|
||||
<!--th><?php echo $locale['2014']; ?></th-->
|
||||
<th><?php echo $locale['5106']; ?></th>
|
||||
<th><?php echo $locale['1021']; ?></th>
|
||||
<th><?php echo $locale['1102']; ?></th>
|
||||
@ -393,8 +391,8 @@ if ($totalOfertas == 0) {
|
||||
echo '<td></td><td></td>';
|
||||
}*/
|
||||
|
||||
echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/brick_go.png" title="' . $locale['2015'] . '" /></a></td>';
|
||||
echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("referencia") . '">'.$ofertaAct->getValor("referencia").'</a></td>';
|
||||
//echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/brick_go.png" title="' . $locale['2015'] . '" /></a></td>';
|
||||
echo '<td align="center"><a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '">'.$ofertaAct->getValor("referencia").'</a></td>';
|
||||
echo '<td align="center">' . $ofertaAct->getValor("fecha") . '</td>';
|
||||
echo '<td align="center">' . $ofertaAct->getValor("nombre_estado") . '</td>';
|
||||
echo '<td align="center"><a href="/detalle_candidato.php?oid=' . $ofertaAct->getValor("candidato") . '">' . $ofertaAct->getValor("nombre_candidato") . '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user