<?=$this->headerSinistro($this->data['id_proposta'], $this->data['id_processo'])?>

<div id="tabs">
	<ul>
		<li><a href="#tabs-aba1">Aviso</a></li>
	</ul>
	
	<div class="geral">
		<div id="tabs-aba1">
			<?=$this->form->id;?>
				
			<?=$this->title('Dados do Aviso de Início de Colheita');?>
			<div class="padding-10">
				<table cellpadding="10" cellspacing="5">
					<tr>
						<td><b>Código</b><br /><?=str_pad($this->data['id'], 10, 0, STR_PAD_LEFT)?></td>
						<td><b>Data Início</b><br /><?=$this->data['dt_inicio_colheita']?></td>
						<td><b>Data Envio</b><br /><?=$this->data['dt_envio']?></td>
					</tr>
				</table>
			</div>
			
			<?=$this->title('Unidades Seguradas');?>
			<div class="padding-10">
				<table class="grid">
		            <thead>
		                <tr>
		                    <th>Item</th>
		                    <th>Quadra/Talhão</th>
		                    <th>Variedade</th>
		                    <th>Área</th>
		                </tr>
		            </thead>
		            <tbody style="text-align: center;">
		                <?foreach($this->data['arItensSegurados'] as $ItemSegurado):?>
		                <tr>
		                    <td><?=$ItemSegurado['nr_item_segurado']?></td>
		                    <td><?=$ItemSegurado['ds_item_segurado']?></td>
		                    <td><?=$ItemSegurado['ds_nome_variedade']?></td>
		                    <td><?=$ItemSegurado['vl_area']?></td>
		                </tr>
		                <?endforeach?>
		            </tbody>
		        </table>
			</div>
		</div>
	</div>
</div>
