Tareas #844:En ofertas quitar la lista de candidatos que supuestamente cumplen los requisitos.

Se quita la lista de candidatos disponibles para la oferta, si la oferta esta en estado presentada y siguientes estados, solo tiene sentido que nos aparezcan cuando estamos "en configuración" o "preparada oferta"

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk@126 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
roberto 2012-03-13 17:43:09 +00:00
parent 4206694e94
commit 9bcde1d6ee

View File

@ -198,7 +198,8 @@ echo $mensaje;
<div class="encabezado"><?php echo $locale['Ofertas005']?></div>
<table width="100%">
<tr><td>
<tr><td>
<div class="encabezado"><?php echo $locale['1550']?></div>
<table width="100%">
<tr class='encabezado'>
@ -253,13 +254,13 @@ echo $mensaje;
<tr>
<td>
<span class="resaltado"><?php echo $locale['129']; ?></span>&nbsp;&nbsp;&nbsp;<?php echo $pedido->getValor("nombre_salario_max"); ?><br/>
<span class="resaltado"><?php echo $locale['130']; ?></span>&nbsp;&nbsp;&nbsp;<?php echo $pedido->getValor("nombre_salario_min"); ?><br/>
<span class="resaltado"><?php echo $locale['129']; ?></span>&nbsp;&nbsp;&nbsp;<?php echo $pedido->getValor("nombre_salario_min"); ?><br/>
<span class="resaltado"><?php echo $locale['130']; ?></span>&nbsp;&nbsp;&nbsp;<?php echo $pedido->getValor("nombre_salario_max"); ?><br/>
<span class="resaltado"><?php echo $locale['Solicitudes007']; ?></span>&nbsp;&nbsp;&nbsp;<?php echo $pedido->getValor("tasa_economica"); ?><br/>
</td>
<td>
<span class="resaltado"><?php echo $locale['129']; ?></span><?php if (!empty($candidato)) echo $candidato->getValor("nombre_salario_min"); ?><br>
<span class="resaltado"><?php echo $locale['130']; ?></span><?php if (!empty($candidato)) echo $candidato->getValor("nombre_salario_max"); ?><br>
<span class="resaltado"><?php echo $locale['129']; ?></span><?php if (!empty($candidato)) echo nombre_salario($candidato->getValor("salario_max")); ?><br>
<span class="resaltado"><?php echo $locale['130']; ?></span><?php if (!empty($candidato)) echo nombre_salario($candidato->getValor("salario_min")); ?><br>
<span class="resaltado"><?php echo $locale['100118']; ?></span><?php if (!empty($candidato)) echo $candidato->getValor("tarifa"); ?>
</td>
</tr>
@ -354,6 +355,9 @@ echo $mensaje;
</tr>
</table>
</td></tr>
<tr><td>
<div class="encabezado"><?php echo $locale['Capacidades001']?></div>
<table width="100%">
<tr class='encabezado'>
@ -390,14 +394,17 @@ if (!empty($candidato)){
</td></tr>
</table>
<br/>
<table width="100%">
<?php
if (($oferta->getValor("estado") == 100) || ($oferta->getValor("estado") == 110))
{ ?>
<?php
$listaCandidatos = $oferta->getCandidatosDisponibles()->getCandidatos();
if (!empty($listaCandidatos)) {
?>
<table width="100%">
<tr> <!-- Tabla de candidatos -->
<td>
<h3><span class="nombre">Candidatos disponibles</span></h3>
@ -474,14 +481,17 @@ if (!empty($candidato_aux)){
<?php
} // if
?>
</table>
<?php } //FIN DE LISTA DE CANDIDATOS DISPONIBLES ?>
<tr align="center"> <!-- HISTORIAL -->
<td ><a name="historial"><?php echo $locale['127']; ?></a><br />
<textarea name="historial" readonly rows="8" cols="90" maxlength="300" style="overflow: auto;width:100%"><?php echo $oferta->getHistorial(); ?></textarea>
</td>
<div class="encabezado"><?php echo $locale['127']?></div>
<table width="100%">
<tr align="center">
<td>
<textarea name="historial" readonly rows="8" cols="90" maxlength="300" style="overflow: auto;width:100%"><?php echo $oferta->getHistorial(); ?></textarea>
</td>
</tr>
</table>