|
|
|
@ -125,13 +125,13 @@ a.copy:active
|
|
|
|
td.box5
|
|
|
|
td.box5
|
|
|
|
{
|
|
|
|
{
|
|
|
|
border-style: solid;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 1px 1px 1px;
|
|
|
|
border-width: 0px 1px 1px 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
td.box6
|
|
|
|
td.box6
|
|
|
|
{
|
|
|
|
{
|
|
|
|
border-style: solid;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 1px 1px 0px;
|
|
|
|
border-width: 0px 1px 1px 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
|
|
|
|
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
|
|
|
|
@ -163,7 +163,11 @@ td.box6
|
|
|
|
<td> </td-->
|
|
|
|
<td> </td-->
|
|
|
|
<!-- <td style="width: 120px; vertical-align: top;"><a href="html/frame_relatorio.html" target="_blank">relatório</a></td>-->
|
|
|
|
<!-- <td style="width: 120px; vertical-align: top;"><a href="html/frame_relatorio.html" target="_blank">relatório</a></td>-->
|
|
|
|
<td style="color: white; width: 120px; vertical-align: top; text-align: left"> $userName </td>
|
|
|
|
<td style="color: white; width: 120px; vertical-align: top; text-align: left"> $userName </td>
|
|
|
|
<td style='color: white; vertical-align: top; text-align: right'> <a href="/siprpWeb/">logout » </a></td>
|
|
|
|
#if( $userRole != "manager" )
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: right'> </td>
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: right'><a href="/siprpWeb/?$empresa_id/pedir_relatorio">pedido de relatório anual...</a></td>
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: right'><a href="/siprpWeb/">logout » </a></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
@ -207,7 +211,7 @@ td.box6
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
#if( $query == "trabalhador" )
|
|
|
|
#if( $query == "trabalhador" )
|
|
|
|
<a class='text' href='/siprpWeb/?$empresa_id/$estabelecimento_id'>Funcionário</a>: $!funcionario.nome Data de Nascimento: $!funcionario.data_nascimento
|
|
|
|
<a class='text' href='/siprpWeb/?$empresa_id/$estabelecimento_id'>Funcionário</a>: $!funcionario.nome - Data de Nascimento: $!funcionario.data_nascimento
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
Funcionário:
|
|
|
|
Funcionário:
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
@ -236,15 +240,29 @@ td.box6
|
|
|
|
#set( $listaTitle = "empresas" )
|
|
|
|
#set( $listaTitle = "empresas" )
|
|
|
|
#elseif( $query == "estabelecimentos" )
|
|
|
|
#elseif( $query == "estabelecimentos" )
|
|
|
|
#set( $listaTitle = "estabelecimentos" )
|
|
|
|
#set( $listaTitle = "estabelecimentos" )
|
|
|
|
#elseif( $query == "trabalhadores" )
|
|
|
|
#elseif( $query == "trabalhadores" || $query == "trabalhadores_tudo" || $query == "trabalhadores_pendentes" )
|
|
|
|
#set( $listaTitle = "funcionários" )
|
|
|
|
#set( $listaTitle = "funcionários:" )
|
|
|
|
|
|
|
|
#set( $lista_funcionarios = 1 )
|
|
|
|
#else ##( $query == "trabalhador" )
|
|
|
|
#else ##( $query == "trabalhador" )
|
|
|
|
#set( $listaTitle = "funcionário" )
|
|
|
|
#set( $listaTitle = "funcionário" )
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
<!-- LISTA -->
|
|
|
|
<!-- LISTA -->
|
|
|
|
<tr>
|
|
|
|
<tr >
|
|
|
|
|
|
|
|
#if( $lista_funcionarios )
|
|
|
|
|
|
|
|
|
|
|
|
<!-- titulo -->
|
|
|
|
<!-- titulo -->
|
|
|
|
<td colspan='5' class='title' style="background: url(/siprpWeb/html/images/topo_740.gif); width: 740px; height: 29px; vertical-align: top;"> $listaTitle</td>
|
|
|
|
<td colspan='5' class='title' style="background: url(/siprpWeb/html/images/topo_740.gif); width: 740px; height: 29px; vertical-align: top;">
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0'>
|
|
|
|
|
|
|
|
<tr style="vertical-align: top;">
|
|
|
|
|
|
|
|
<td colspan='1' class='title'> funcionários:</td>
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: left'> <a href="/siprpWeb/?$empresa_id/$estabelecimento_id">todos</a></td>
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: left'> <a href="/siprpWeb/?$empresa_id/$estabelecimento_id/trabalhadores_tudo">com tudo resolvido</a></td>
|
|
|
|
|
|
|
|
<td style='color: white; vertical-align: top; text-align: left'> <a href="/siprpWeb/?$empresa_id/$estabelecimento_id/trabalhadores_pendentes">com pendências</a></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
<td colspan='5' class='title' style="background: url(/siprpWeb/html/images/topo_740.gif); width: 740px; height: 29px; vertical-align: top;"> $listaTitle</td>
|
|
|
|
|
|
|
|
#end
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td style="width: 2px; background-color: #789BB5;"></td>
|
|
|
|
<td style="width: 2px; background-color: #789BB5;"></td>
|
|
|
|
@ -252,12 +270,24 @@ td.box6
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
#if ($query == "trabalhador")
|
|
|
|
#if ($query == "trabalhador")
|
|
|
|
<table width='100%' cellspacing='0' cellpadding='0'>
|
|
|
|
<table width='100%' cellspacing='0' cellpadding='0'>
|
|
|
|
<tr align='center' style='background-color: #789BB5; color: #ffffff;'>
|
|
|
|
<tr align='center' style='background-color: #789BB5;'>
|
|
|
|
<td width='14%'>Último Exame</td><td width='14%'>Realizado</td><td width='14%'>Próximo Exame</td><td width='14%'>Última Consulta</td><td width='14%'>Realizada</td><td width='14%'>Próxima Consulta</td><td>Marcação</td>
|
|
|
|
<td width='14%' style='color: #ffffff'>Último Exame</td>
|
|
|
|
|
|
|
|
<td width='14%' style='color: #ffffff'>Realizado</td>
|
|
|
|
|
|
|
|
<td width='14%' style='color: #ffffff'>Última Consulta</td>
|
|
|
|
|
|
|
|
<td width='14%' style='color: #ffffff'>Realizada</td>
|
|
|
|
|
|
|
|
<td width='14%' style='color: #ffffff'>Resultado</td>
|
|
|
|
|
|
|
|
<td width='14%'><a href='javascript:marcacaoWindow();'>Próximo Exame</a></td>
|
|
|
|
|
|
|
|
<td width='14%'><a href='javascript:marcacaoWindow();'>Próxima Consulta</a></td>
|
|
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr align='center'>
|
|
|
|
<tr align='center'>
|
|
|
|
<td class='box5'>$!funcionario.ultimo_exame </td><td class='box6'>$!funcionario.realizado </td><td class='box6'>$!funcionario.proximo_exame </td><td class='box6'>$!funcionario.ultima_consulta </td><td class='box6'>$!funcionario.realizada </td><td class='box6'>$!funcionario.proxima_consulta </td>
|
|
|
|
<td class='box5'>$!funcionario.ultimo_exame </td>
|
|
|
|
<td class='box6'><a class='text' href='javascript:marcacaoWindow();'>Marcar</a></td>
|
|
|
|
<td class='box6'>$!funcionario.realizado </td>
|
|
|
|
|
|
|
|
<td class='box6'>$!funcionario.ultima_consulta </td>
|
|
|
|
|
|
|
|
<td class='box6'>$!funcionario.realizada </td>
|
|
|
|
|
|
|
|
<td class='box6'>$!funcionario.resultado </td>
|
|
|
|
|
|
|
|
<td class='box6'>$!funcionario.proximo_exame </td>
|
|
|
|
|
|
|
|
<td class='box6'>$!funcionario.proxima_consulta </td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
#elseif( $query == "trabalhadores" )
|
|
|
|
#elseif( $query == "trabalhadores" )
|
|
|
|
@ -266,6 +296,38 @@ td.box6
|
|
|
|
#set ( $dados_trabalhador = $v2.get($counter) )
|
|
|
|
#set ( $dados_trabalhador = $v2.get($counter) )
|
|
|
|
<a class='text' href="$v1.get($counter)">$dados_trabalhador.Nome</a><br>
|
|
|
|
<a class='text' href="$v1.get($counter)">$dados_trabalhador.Nome</a><br>
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
#elseif( $query == "trabalhadores_tudo" )
|
|
|
|
|
|
|
|
<table width='100%' cellspacing='0' cellpadding='0' border="0">
|
|
|
|
|
|
|
|
<tr style='background-color: #789BB5; color: #ffffff;'>
|
|
|
|
|
|
|
|
<td width='75%' align='left' > Nome</td>
|
|
|
|
|
|
|
|
<td width='25%' align='center' >Data da Ficha de Aptidão</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
|
|
|
|
#set ( $dados_trabalhador = $v2.get($counter) )
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class='box5' align='left' ><a class='text' href="$v1.get($counter)"> $dados_trabalhador.Nome</a></td>
|
|
|
|
|
|
|
|
<td class='box6' align='center' >$dados_trabalhador.Data </td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
#elseif( $query == "trabalhadores_pendentes" )
|
|
|
|
|
|
|
|
<table width='100%' cellspacing='0' cellpadding='0' border="0">
|
|
|
|
|
|
|
|
<tr style='background-color: #789BB5; color: #ffffff;'>
|
|
|
|
|
|
|
|
<td width='75%' align='left' > Nome</td>
|
|
|
|
|
|
|
|
<td width='12%' align='center' >Exame</td>
|
|
|
|
|
|
|
|
<td width='12%' align='center'>Consulta</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
|
|
|
|
#set ( $dados_trabalhador = $v2.get($counter) )
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class='box5' align='left' ><a class='text' href="$v1.get($counter)"> $dados_trabalhador.Nome</a></td>
|
|
|
|
|
|
|
|
<td class='box6' align='center' ><IMG SRC="/siprpWeb/html/images/${dados_trabalhador.Exame}.gif"></td>
|
|
|
|
|
|
|
|
<td class='box6' align='center' ><IMG SRC="/siprpWeb/html/images/${dados_trabalhador.Consulta}.gif"></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
</table>
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
#foreach( $element in $v1 )
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
#set ( $counter = $velocityCount - 1 )
|
|
|
|
|