|
|
|
|
@ -189,28 +189,31 @@
|
|
|
|
|
#end
|
|
|
|
|
</table>
|
|
|
|
|
#elseif( $query == "trabalhadores_pendentes" )
|
|
|
|
|
<div class="icons_info">
|
|
|
|
|
<span><img SRC="/siprpWeb/html/images/red.png"> - Pendente</span>
|
|
|
|
|
<span><img SRC="/siprpWeb/html/images/yellow.png"> - Marcado</span>
|
|
|
|
|
<span><img SRC="/siprpWeb/html/images/green.png"> - Tratado </span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info">(*)ECD - Exames Complementares de Diagnóstico</div>
|
|
|
|
|
<table width='98%' cellspacing='0' cellpadding='0' border="0">
|
|
|
|
|
<tr class="tableheader">
|
|
|
|
|
<td width='75%'>Nome</td>
|
|
|
|
|
<td class='box6' width='12%'>ECD(*)</td>
|
|
|
|
|
<td class='box6' width='12%'>Consulta</td>
|
|
|
|
|
</tr>
|
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
|
#set ( $dados_trabalhador = $v2.get($counter) )
|
|
|
|
|
<tr class="elements">
|
|
|
|
|
<td class='box5' ><a class='text' href="$v1.get($counter)">$dados_trabalhador.Nome</a></td>
|
|
|
|
|
<td class='box6'><img SRC="/siprpWeb/html/images/${dados_trabalhador.Exame}.png"></td>
|
|
|
|
|
<td class='box6' ><img SRC="/siprpWeb/html/images/${dados_trabalhador.Consulta}.png"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
#end
|
|
|
|
|
</table>
|
|
|
|
|
<div class="icons_info">
|
|
|
|
|
<span><img SRC="/siprpWeb/html/images/red.png"> - Por Agendar</span>
|
|
|
|
|
<span><img SRC="/siprpWeb/html/images/yellow.png"> - Por Realizar</span>
|
|
|
|
|
</div>
|
|
|
|
|
<table width='98%' cellspacing='0' cellpadding='0' border="0">
|
|
|
|
|
<tr class="tableheader">
|
|
|
|
|
<td width='75%'>Nome</td>
|
|
|
|
|
<td class='box6' width='12%'>Consulta</td>
|
|
|
|
|
<td class='box6' width='12%'>Tipo de Consulta</td>
|
|
|
|
|
</tr>
|
|
|
|
|
#foreach ( $trabalhador in $v1 )
|
|
|
|
|
<tr class="elements">
|
|
|
|
|
<td class="box5"><a href="$trabalhador.link_trabalhador" class="text">$trabalhador.nome_trabalhador</a></td>
|
|
|
|
|
<td class="box6">
|
|
|
|
|
#if ( $trabalhador.estado_consulta )
|
|
|
|
|
<img src="/siprpWeb/html/images/${trabalhador.estado_consulta}.png">
|
|
|
|
|
#else
|
|
|
|
|
-
|
|
|
|
|
#end
|
|
|
|
|
</td>
|
|
|
|
|
<td class="box6">$trabalhador.motivo_consulta</td>
|
|
|
|
|
</tr>
|
|
|
|
|
#end
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
|
|