<!DOCTYPE html>
<html>
<head>
<META NAME="AUTHOR" CONTENT="Agrobrasil Operadora de Seguro Agrícola">
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
<title>AgroNet 2.0 - renato</title>

<link rel="stylesheet" href="/resources/css/seguro/propostaprint.css" type="text/css" media="all" />
<link rel="shortcut icon" href="/resources/imagens/agronet.ico" type="image/x-icon" />

<style media="all">
* {
	font-family: Verdana, Helvetica;
	font-size: 11pt;
}

.print {
	padding: 10px;
}

h1 {
	margin: 10px 10px;
}

h2 {
	margin: 0 30px;
}

li {
	margin: 5px 50px;
}

</style>

</head>
<body>
	
	<table width="100%" border="0" cellpadding="1" cellspacing="0" class="">
		<tr>
			<td width="10%" align="center"><img src="/resources/imagens/agrobrasil_72_79.jpg" /></td>
			<td valign="middle">
				<table width="100%" cellpadding="1" cellspacing="0" border="0">
					<tr>
						<td colspan="3"><b>Relatório de Solicitações</b></td>
					</tr>
					<tr>
						<td colspan="3" class="produto">Tarefas do departamento de: <?=$this->departamento->ds_nome_departamento;?></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	
	<? if ($this->funcinarios->count()): ?>
		<? foreach($this->funcinarios as $funcionario): ?>
			<table width="100%" cellpadding="0" cellspacing="1" class="gadget">
				<thead>
					<tr>
						<th colspan="6" align="left"><?=$funcionario->ds_nome_guerra;?></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>
							<ul>
								<? foreach ($funcionario->solicitacoes($this->filter) as $solicitacao):?>
									<li><?=Agro_Util::formatDate($solicitacao->dt_criacao);?> - <?=$solicitacao->ds_titulo?> - <span style="<?echo "color:#{$solicitacao->rowStatus()->ds_cor}"?>"><?=$solicitacao->rowStatus()->ds_status?></span></li>
								<? endforeach; ?>
							</ul>
						</td>
					</tr>
				</tbody>
			</table>
		<? endforeach; ?>
	<? endif; ?>
</body>
</html>