Se quita columna de supervisor para el usuario ISBAN.
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@148 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
parent
7a8dbc2420
commit
40ddf5a541
@ -113,11 +113,14 @@ echo " <td align=\"center\">".$locale['1023']."<br />" .
|
||||
" <a href=\"".$destinoURL."?byEstado=".$tipoPedidos."&order=".$orderView."&modo=asc".$variablesExtra."\" ><img src=\"css/asc.png\" /></a>" .
|
||||
" <a href=\"".$destinoURL."?byEstado=".$tipoPedidos."&order=".$orderView."&modo=desc".$variablesExtra."\" ><img src=\"css/desc.png\" /></a></td>";
|
||||
|
||||
//Si es usuario cliente para consulta quitamos las acciones para ganr espacio
|
||||
if (!$usuario->tieneRol("7")) {
|
||||
// Gerente
|
||||
$orderView="gerente";
|
||||
echo " <td align=\"center\">".$locale['1027']."<br />" .
|
||||
" <a href=\"".$destinoURL."?byEstado=".$tipoPedidos."&order=".$orderView."&modo=asc".$variablesExtra."\" ><img src=\"css/asc.png\" /></a>" .
|
||||
" <a href=\"".$destinoURL."?byEstado=".$tipoPedidos."&order=".$orderView."&modo=desc".$variablesExtra."\" ><img src=\"css/desc.png\" /></a></td>";
|
||||
}
|
||||
|
||||
echo " <td align=\"center\">".$locale['Ofertas009']."</td>";
|
||||
// Capacidad profesional
|
||||
@ -176,7 +179,11 @@ if(count($listadePedidos)==0){
|
||||
echo '<td align="center">'.$pedidoAct->getValor("nombre").'</td>';
|
||||
echo '<td align="center">'.$pedidoAct->getValor("nombre_estado").'</td>';
|
||||
echo '<td align="center">'.nombre_cliente($pedidoAct->getValor("cliente")).'</td>';
|
||||
|
||||
//Si es usuario cliente para consulta quitamos las acciones para ganr espacio
|
||||
if (!$usuario->tieneRol("7")) {
|
||||
echo '<td align="center">'.$pedidoAct->getValor("nombre_gerente").'</td>';
|
||||
}
|
||||
|
||||
//////////////////////////////////////
|
||||
//OFERTAS/////////////////////////////
|
||||
@ -189,6 +196,7 @@ $listaOfertas = $pedidoAct->getListaOfertas();
|
||||
for ($j = 0; $j < count($listaOfertas); $j++) {
|
||||
$ofertaAct = $listaOfertas[$j];
|
||||
echo '<a href="oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '">'.$ofertaAct->getValor("referencia").'</a> : '.$ofertaAct->getValor("nombre_estado").' ';
|
||||
|
||||
if ($ofertaAct->getValor("nombre_candidato")=="") {
|
||||
echo " - No asignado";
|
||||
}
|
||||
@ -200,7 +208,13 @@ for ($j = 0; $j < count($listaOfertas); $j++) {
|
||||
echo ' - '. $ofertaAct->getValor("nombre_candidato");
|
||||
}
|
||||
}
|
||||
echo ' "'. $ofertaAct->getValor("nombre_gerente").'"<br/>';
|
||||
|
||||
//Si es usuario cliente para consulta quitamos las acciones para ganr espacio
|
||||
if (!$usuario->tieneRol("7")) {
|
||||
echo ' "'. $ofertaAct->getValor("nombre_gerente").'"<br/>';
|
||||
}
|
||||
else
|
||||
echo '<br/>';
|
||||
}
|
||||
echo '</td>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user