<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>
	<body class="{$stylename} function-list" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		<div class="r-topbar-page">
			<div data-menu-width="full" 
				 
				class="r-topheader" 
				data-resize-name="topbar"
				data-body-align="left"
			>
								{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="topbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-header" data-itemid="logo" {$item_logo}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo" {$item_logo} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</span>
		 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-collapse" data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main horizontal}			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search" {$item_simple_search} data-topcell-item-type="simple_search" >
				<span data-itemtype="simple_search" data-itemid="simple_search" {$item_simple_search} data-pageid="{$pageid}" class="form-group">

<div  class="input-group">
{BEGIN searchform_text}
	<input type="search" class="form-control" {$searchfor_attrs} size="25">
{END searchform_text}
	<span class="input-group-btn">
	{BEGIN searchform_showall}
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs} title="Mostrar Todos">
			<span class="glyphicon glyphicon-remove"></span>
		</button>
	{END searchform_showall}
	{BEGIN searchform_search}
	<button {$searchbutton_attrs} class="btn btn-primary" >
		<span class="glyphicon glyphicon-search"></span>
	</button>
	{END searchform_search}
	</span>
</div>
		
</span>			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="list_options" {$item_list_options} data-topcell-item-type="list_options" >
				<span data-itemtype="list_options" data-itemid="list_options" {$item_list_options} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-cog"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN exportselected_link}
	<li data-itemtype="export_selected" data-itemid="export_selected" {$item_export_selected} data-pageid="{$pageid}" data-small >
				<a  href="#" {$exportselectedlink_attrs} {$exportselectedlink_span}  title="" >
				
		Exportação selecionada		
		</a>
	</li>
{END exportselected_link}
							{BEGIN deleteselected_link}
	<li data-itemtype="delete_selected" data-itemid="delete_selected" {$item_delete_selected} data-pageid="{$pageid}" data-small >
				<a  href="#" {$deleteselectedlink_attrs} {$deleteselectedlink_span}  title="" >
				
		Eliminar Selecionados		
		</a>
	</li>
{END deleteselected_link}
							<li role="separator" class="divider"></li>								<li data-itemtype="advsearch_link" data-itemid="advsearch_link" {$item_advsearch_link} data-pageid="{$pageid}" data-small >
				<a   href="visitas_search.php" {$advsearchlink_attrs}  title="" >
				
		Procura Avançada		
		</a>
	</li>
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="show_search_panel" data-itemid="show_search_panel" {$item_show_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="showOptPanel{$id}"  title="" >
				
		Show search panel		
		</a>
	</li>
{END searchPanelTopButtons}
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="hide_search_panel" data-itemid="hide_search_panel" {$item_hide_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="hideOptPanel{$id}"  title="" >
				
		Hide search panel		
		</a>
	</li>
{END searchPanelTopButtons}
							<li role="separator" class="divider"></li>							{BEGIN export_link}
	<li data-itemtype="export" data-itemid="export" {$item_export} data-pageid="{$pageid}" data-small >
				<a  href="#" {$exportlink_attrs}  title="" >
				
		Exportar os Resultados		
		</a>
	</li>
{END export_link}
							<li role="separator" class="divider"></li>							{BEGIN import_link}
	<li data-itemtype="import" data-itemid="import" {$item_import} data-pageid="{$pageid}" data-small >
				<a  {$importlink_attrs} href="visitas_import.php?{$crosstable_attrs}"  title="" >
				
		Importar		
		</a>
	</li>
{END import_link}
					</ul>
	</span>
</span>
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							Login			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-user"></span>
						{$username}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		Log Out		
		</a>
	</li>
{END logoutbutton}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
					{$locking}
			</div>	
			<div data-body-align="left"  data-body-width="standard" class="r-body" data-resize-top="topbar" >
				<div class="r-top">
								{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="topbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	
">
		 
		{BEGIN breadcrumb}
<ol class="breadcrumb" data-itemtype="breadcrumb" data-itemid="breadcrumb" {$item_breadcrumb} data-pageid="{$pageid}">
<li ><a href="{$crumb_home_link}"><span class="glyphicon glyphicon-home"></span></a>{$crumb_dropdown}</li>
{BEGIN crumb}
  <li class="{$crumb_item_class}">
{BEGIN crumb_title_link}
	<a {$crumb_attrs}>{$crumb_title}</a>
{END crumb_title_link}
{BEGIN crumb_title_span}
	<span {$crumb_attrs}>{$crumb_title}</span>
{END crumb_title_span}	
	{$crumb_dropdown}
  </li>
{END crumb}
</ol>
{END breadcrumb}		</div>					</div>
	</div>		
{END top_block}
					</div>
				<div class="r-content">
										<div class="r-left" {$blockattr_left} {$form_left} >
										{BEGIN left_block}
<table class="r-fluid r-form" data-location="left" id="form_left_{$pageid}" data-makeup="topbar" {$form_left} data-pageid="{$pageid}" >
						<tbody>
			
								<tr>
									<td 
	class=" r-ori-vert			"
			 
	data-cellId="left_c1" data-pageid="{$pageid}">
 
<!-- Begin Search panel content -->
<div class="searchOptions panel panel-primary searchPanelContainer " {$srchOpt_attrs} data-itemtype="search_panel" data-itemid="search_panel" {$item_search_panel} data-pageid="{$pageid}" >

	<div class="panel-heading">
		<div class="btn-group" id="addSearchFieldButton{$id}">
			<button id="showHideControlChooseMenu{$id}" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			Search in			<span class="caret"></span>
			</button>
		</div>


		<div class="btn-group searchpanel-options" id="searchPanelOptions{$id}">
			<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				<span class="glyphicon glyphicon glyphicon-option-vertical"></span>
			</button>
			<ul class="dropdown-menu dropdown-left">
				<li id="showHideSearchType{$id}" {$showHideCtrlsOpt_attrs}><a>Mostrar opções</a></li>
				<li role="separator" class="divider"></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAll" {$all_checkbox}><label for="radioAll"><span class="glyphicon">&nbsp;</span>all conditions</label></a></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAny" {$any_checkbox}><label for="radioAny"><span class="glyphicon">&nbsp;</span>any condition</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>esconder</a></li>
			</ul>
		</div>


		</div>
	<div class="panel-body controlsBlock" {$bottomSearchButt_attrs} >


		
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow form-group" {$filterRow_attrs}>
			<label>{$fLabel}</label>	{$delCtrlButt}
				<span class="rnr-searchtype">{$searchtype}</span>
				<span class="rnr-searchcontrol">{$searchcontrol}</span>
				<span class="rnr-searchcontrol">{$searchcontrol1}</span>
		</div>
		{END searchCtrlBlock}
																		{BEGIN searchCtrlBlock_Data}


		<div class="form-group srchPanelRow {$filterRow_class_Data}" {$filterRow_attrs_Data}>
			<label>{$label Visitas Data }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Data}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Data}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Data}</span>
						</div>
		{END searchCtrlBlock_Data}
																{BEGIN searchCtrlBlock_CodVisita}


		<div class="form-group srchPanelRow {$filterRow_class_CodVisita}" {$filterRow_attrs_CodVisita}>
			<label>{$label Visitas CodVisita }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_CodVisita}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_CodVisita}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_CodVisita}</span>
						</div>
		{END searchCtrlBlock_CodVisita}
																{BEGIN searchCtrlBlock_Latitude}


		<div class="form-group srchPanelRow {$filterRow_class_Latitude}" {$filterRow_attrs_Latitude}>
			<label>{$label Visitas Latitude }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Latitude}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Latitude}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Latitude}</span>
						</div>
		{END searchCtrlBlock_Latitude}
																{BEGIN searchCtrlBlock_Longitude}


		<div class="form-group srchPanelRow {$filterRow_class_Longitude}" {$filterRow_attrs_Longitude}>
			<label>{$label Visitas Longitude }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Longitude}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Longitude}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Longitude}</span>
						</div>
		{END searchCtrlBlock_Longitude}
																{BEGIN searchCtrlBlock_T_cnico}


		<div class="form-group srchPanelRow {$filterRow_class_T_cnico}" {$filterRow_attrs_T_cnico}>
			<label>{$label Visitas T_cnico }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_T_cnico}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_T_cnico}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_T_cnico}</span>
						</div>
		{END searchCtrlBlock_T_cnico}
																{BEGIN searchCtrlBlock_Agricultor}


		<div class="form-group srchPanelRow {$filterRow_class_Agricultor}" {$filterRow_attrs_Agricultor}>
			<label>{$label Visitas Agricultor }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Agricultor}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Agricultor}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Agricultor}</span>
						</div>
		{END searchCtrlBlock_Agricultor}
																{BEGIN searchCtrlBlock_Rega_Instalada}


		<div class="form-group srchPanelRow {$filterRow_class_Rega_Instalada}" {$filterRow_attrs_Rega_Instalada}>
			<label>{$label Visitas Rega_Instalada }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Rega_Instalada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Rega_Instalada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Rega_Instalada}</span>
						</div>
		{END searchCtrlBlock_Rega_Instalada}
																{BEGIN searchCtrlBlock_Sem_Rega}


		<div class="form-group srchPanelRow {$filterRow_class_Sem_Rega}" {$filterRow_attrs_Sem_Rega}>
			<label>{$label Visitas Sem_Rega }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Sem_Rega}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Sem_Rega}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Sem_Rega}</span>
						</div>
		{END searchCtrlBlock_Sem_Rega}
																{BEGIN searchCtrlBlock_Plantacao_Hidroinjetor}


		<div class="form-group srchPanelRow {$filterRow_class_Plantacao_Hidroinjetor}" {$filterRow_attrs_Plantacao_Hidroinjetor}>
			<label>{$label Visitas Plantacao_Hidroinjetor }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Plantacao_Hidroinjetor}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Plantacao_Hidroinjetor}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Plantacao_Hidroinjetor}</span>
						</div>
		{END searchCtrlBlock_Plantacao_Hidroinjetor}
																{BEGIN searchCtrlBlock_Plantacao_Direta}


		<div class="form-group srchPanelRow {$filterRow_class_Plantacao_Direta}" {$filterRow_attrs_Plantacao_Direta}>
			<label>{$label Visitas Plantacao_Direta }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Plantacao_Direta}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Plantacao_Direta}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Plantacao_Direta}</span>
						</div>
		{END searchCtrlBlock_Plantacao_Direta}
																{BEGIN searchCtrlBlock_Plantacao_Maquina}


		<div class="form-group srchPanelRow {$filterRow_class_Plantacao_Maquina}" {$filterRow_attrs_Plantacao_Maquina}>
			<label>{$label Visitas Plantacao_Maquina }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Plantacao_Maquina}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Plantacao_Maquina}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Plantacao_Maquina}</span>
						</div>
		{END searchCtrlBlock_Plantacao_Maquina}
																{BEGIN searchCtrlBlock_Abrulhada}


		<div class="form-group srchPanelRow {$filterRow_class_Abrulhada}" {$filterRow_attrs_Abrulhada}>
			<label>{$label Visitas Abrulhada }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Abrulhada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Abrulhada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Abrulhada}</span>
						</div>
		{END searchCtrlBlock_Abrulhada}
																{BEGIN searchCtrlBlock_Plnta_Apertada}


		<div class="form-group srchPanelRow {$filterRow_class_Plnta_Apertada}" {$filterRow_attrs_Plnta_Apertada}>
			<label>{$label Visitas Plnta_Apertada }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Plnta_Apertada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Plnta_Apertada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Plnta_Apertada}</span>
						</div>
		{END searchCtrlBlock_Plnta_Apertada}
																{BEGIN searchCtrlBlock_Larga_Raizes_Novas}


		<div class="form-group srchPanelRow {$filterRow_class_Larga_Raizes_Novas}" {$filterRow_attrs_Larga_Raizes_Novas}>
			<label>{$label Visitas Larga_Raizes_Novas }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Larga_Raizes_Novas}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Larga_Raizes_Novas}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Larga_Raizes_Novas}</span>
						</div>
		{END searchCtrlBlock_Larga_Raizes_Novas}
																{BEGIN searchCtrlBlock_Raiz_menor_5cm}


		<div class="form-group srchPanelRow {$filterRow_class_Raiz_menor_5cm}" {$filterRow_attrs_Raiz_menor_5cm}>
			<label>{$label Visitas Raiz_menor_5cm }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Raiz_menor_5cm}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Raiz_menor_5cm}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Raiz_menor_5cm}</span>
						</div>
		{END searchCtrlBlock_Raiz_menor_5cm}
																{BEGIN searchCtrlBlock_Raiz_Aparada}


		<div class="form-group srchPanelRow {$filterRow_class_Raiz_Aparada}" {$filterRow_attrs_Raiz_Aparada}>
			<label>{$label Visitas Raiz_Aparada }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Raiz_Aparada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Raiz_Aparada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Raiz_Aparada}</span>
						</div>
		{END searchCtrlBlock_Raiz_Aparada}
																{BEGIN searchCtrlBlock_Raiz_Inteira}


		<div class="form-group srchPanelRow {$filterRow_class_Raiz_Inteira}" {$filterRow_attrs_Raiz_Inteira}>
			<label>{$label Visitas Raiz_Inteira }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Raiz_Inteira}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Raiz_Inteira}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Raiz_Inteira}</span>
						</div>
		{END searchCtrlBlock_Raiz_Inteira}
																{BEGIN searchCtrlBlock_Raiz_Hidratada}


		<div class="form-group srchPanelRow {$filterRow_class_Raiz_Hidratada}" {$filterRow_attrs_Raiz_Hidratada}>
			<label>{$label Visitas Raiz_Hidratada }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Raiz_Hidratada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Raiz_Hidratada}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Raiz_Hidratada}</span>
						</div>
		{END searchCtrlBlock_Raiz_Hidratada}
																{BEGIN searchCtrlBlock_Raiz_Seca}


		<div class="form-group srchPanelRow {$filterRow_class_Raiz_Seca}" {$filterRow_attrs_Raiz_Seca}>
			<label>{$label Visitas Raiz_Seca }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Raiz_Seca}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Raiz_Seca}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Raiz_Seca}</span>
						</div>
		{END searchCtrlBlock_Raiz_Seca}
																{BEGIN searchCtrlBlock_Tx_Sucesso}


		<div class="form-group srchPanelRow {$filterRow_class_Tx_Sucesso}" {$filterRow_attrs_Tx_Sucesso}>
			<label>{$label Visitas Tx_Sucesso }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Tx_Sucesso}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Tx_Sucesso}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Tx_Sucesso}</span>
						</div>
		{END searchCtrlBlock_Tx_Sucesso}
																{BEGIN searchCtrlBlock_Observacoes}


		<div class="form-group srchPanelRow {$filterRow_class_Observacoes}" {$filterRow_attrs_Observacoes}>
			<label>{$label Visitas Observacoes }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Observacoes}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Observacoes}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Observacoes}</span>
						</div>
		{END searchCtrlBlock_Observacoes}
																{BEGIN searchCtrlBlock_Temperatura}


		<div class="form-group srchPanelRow {$filterRow_class_Temperatura}" {$filterRow_attrs_Temperatura}>
			<label>{$label Visitas Temperatura }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Temperatura}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Temperatura}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Temperatura}</span>
						</div>
		{END searchCtrlBlock_Temperatura}
																{BEGIN searchCtrlBlock_vendas}


		<div class="form-group srchPanelRow {$filterRow_class_vendas}" {$filterRow_attrs_vendas}>
			<label>{$label Visitas vendas }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_vendas}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_vendas}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_vendas}</span>
						</div>
		{END searchCtrlBlock_vendas}
																{BEGIN searchCtrlBlock_CodCliente}


		<div class="form-group srchPanelRow {$filterRow_class_CodCliente}" {$filterRow_attrs_CodCliente}>
			<label>{$label Visitas CodCliente }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_CodCliente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_CodCliente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_CodCliente}</span>
						</div>
		{END searchCtrlBlock_CodCliente}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary" id="searchButton{$id}" {$searchbutton_attrs}>Procurar</button>
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs}>Mostrar Todos</button>
	</div>
</div>
<!-- End Search panel content -->
</td>
							</tr>
					
					</tbody>
				</table>
{END left_block}
						</div>
										<div class="r-data-block" data-body-width="standard" >
						
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="topbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="			col-md-6
	
">
		{BEGIN firstAboveGridCell}
		 
		{BEGIN add_link}
<span data-itemtype="add" data-itemid="add" {$item_add} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$addlink_attrs} href="visitas_add.php" >
							Adicionar Novo			</a>
</span>
{END add_link}
	 
		{BEGIN deleteselected_link}
<span data-itemtype="delete" data-itemid="delete" {$item_delete} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$deleteselectedlink_attrs} {$deleteselectedlink_span} disabled >
							Eliminar			</a>
</span>
{END deleteselected_link}
			{END firstAboveGridCell}	
	</div>			 
				<div 
	data-cellId="above-grid_c2" data-pageid="{$pageid}"	{$cell_above-grid_c2}
	class="r-align-right			col-md-6
	
">
		 
		<span data-itemtype="details_found" data-itemid="details_found" {$item_details_found} data-pageid="{$pageid}" data-small >
{$details_found_labeldetails_found}
</span>	 
		<span data-itemtype="page_size" data-itemid="page_size" {$item_page_size} data-pageid="{$pageid}" >
		{$recsPerPage}
</span>	 
		{BEGIN print_friendly}
<span id="printpanelblock{$id}"  data-pageid="{$pageid}" {$printpanel_hiddenattr} data-itemtype="print_panel" data-itemid="print_panel" {$item_print_panel} data-pageid="{$pageid}">
	<button title="Print-friendly page" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
					<span class="glyphicon glyphicon-print"></span>
				<span class="caret"></span>
	</button>
	<ul class="dropdown-menu pull-right">
										 
				 
					<li class="container-fluid 
										">
									<div id="print_friendly_scope{$id}">
	<div class="row">
		<div class="col-md-4">
			Scope:		</div>

		{BEGIN print_friendly_all}
		<div class="col-md-8">
			<label for="printAll{$id}">
				<input type="radio" id="printAll{$id}" data-href="visitas_print.php?all=1&amp;{$crosstable_attrs}" name="printScope">
									Print all pages							</label>
		</div>
		{END print_friendly_all}
	</div>
	<div class="row">
		<div class="col-md-4">&nbsp;</div>
		<div class="col-md-8">
			<label for="printPage{$id}">
				<input name="printScope" id="printPage{$id}" type="radio" checked data-href="visitas_print.php?{$crosstable_attrs}">
				Print this page			</label>
		</div>
	</div>
	
		<div class="row">
		<div class="col-md-4">
			&nbsp;
		</div>
		<div class="col-md-8">
			<label style="color: gray;" for="printSelection{$id}">
			<input name="printScope" disabled="disabled" id="printSelection{$id}" type="radio">
			Print selected			</label>
		</div>
	</div>
	</div>				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									<div>
	<label for="printPerPage{$id}">
					Registos por Página							
	</label>
	<input type="number" id="printPerPage{$id}" value="{$print_recspp}" class="rnr-printrecspp">		
</div>
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
					 text-center 					">
									<span data-itemtype="print_button" data-itemid="print_button" {$item_print_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" id="print_friendly_button{$id}" >
							Print			</a>
</span>
				 
					</li>
															</ul>
</span>
{END print_friendly}
		</div>					</div>
	</div>		
{END above-grid_block}
							
						<div class="r-grid">
										{BEGIN grid_block}
{BEGIN grid_tabs}
  <ul class="nav nav-tabs bsgrid_tabs">
	{$grid_tabs_content}
  </ul>
{END grid_tabs}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}	<style>
@media screen and (max-width: 767px) {
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="CodVisita"]:before {
		content: "{$label Visitas CodVisita}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Data"]:before {
		content: "{$label Visitas Data}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="CodCliente"]:before {
		content: "{$label Visitas CodCliente}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Temperatura"]:before {
		content: "{$label Visitas Temperatura}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Raiz_Seca"]:before {
		content: "{$label Visitas Raiz_Seca}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Raiz_Hidratada"]:before {
		content: "{$label Visitas Raiz_Hidratada}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Abrulhada"]:before {
		content: "{$label Visitas Abrulhada}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Raiz_Inteira"]:before {
		content: "{$label Visitas Raiz_Inteira}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Raiz_Aparada"]:before {
		content: "{$label Visitas Raiz_Aparada}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Raiz_menor_5cm"]:before {
		content: "{$label Visitas Raiz_menor_5cm}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Plnta_Apertada"]:before {
		content: "{$label Visitas Plnta_Apertada}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Larga_Raizes_Novas"]:before {
		content: "{$label Visitas Larga_Raizes_Novas}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Plantacao_Maquina"]:before {
		content: "{$label Visitas Plantacao_Maquina}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Plantacao_Hidroinjetor"]:before {
		content: "{$label Visitas Plantacao_Hidroinjetor}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Plantacao_Direta"]:before {
		content: "{$label Visitas Plantacao_Direta}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Rega_Instalada"]:before {
		content: "{$label Visitas Rega_Instalada}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Sem_Rega"]:before {
		content: "{$label Visitas Sem_Rega}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Observacoes"]:before {
		content: "{$label Visitas Observacoes}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Tx_Sucesso"]:before {
		content: "{$label Visitas Tx_Sucesso}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Foto"]:before {
		content: "{$label Visitas Foto}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Latitude"]:before {
		content: "{$label Visitas Latitude}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Longitude"]:before {
		content: "{$label Visitas Longitude}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Agricultor"]:before {
		content: "{$label Visitas Agricultor}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="T_cnico"]:before {
		content: "{$label Visitas T_cnico}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="vendas"]:before {
		content: "{$label Visitas vendas}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Foto1"]:before {
		content: "{$label Visitas Foto1}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Foto2"]:before {
		content: "{$label Visitas Foto2}";
	}
	
}
</style>
<table data-location="grid" id="form_grid_{$pageid}" data-makeup="topbar" {$form_grid} data-pageid="{$pageid}" class=" table {$grid_classes}  r-flexgrid rnr-b-grid rnr-gridtable" 
	cellpadding="0" 
	data-body-height="1"
>
						<thead>
			{BEGIN grid_header}
					
		 
						<tr {$rowattrs} {$row_grid_0} class="{$rowclass} 
									{$gridHeader_class}
									
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_headcell_icons}
	<th
	
	{$cell_grid_headcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"		data-control-cell
	
	>

	
	</th>
	{END cellblock_grid_headcell_icons}
				 
					{BEGIN cellblock_grid_headcell_checkbox}
	<th
	
	{$cell_grid_headcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox_head" data-itemid="grid_checkbox_head" {$item_grid_checkbox_head} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkboxheader_attrs}>
</span>
{END checkbox_column}
	
	</th>
	{END cellblock_grid_headcell_checkbox}
				 
					{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$CodVisita_class}
			"

			data-field="CodVisita"
	
	data-cellId="grid_headcell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CodVisita_fieldheadercolumn}
	{BEGIN CodVisita_fieldheader}
	<SPAN {$CodVisita_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field14" {$item_simple_grid_field14} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CodVisita">
	{$label Visitas CodVisita }	{$arrow_icon_CodVisita}
	</SPAN>
	{END CodVisita_fieldheader}
{END CodVisita_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field}
				 
					{BEGIN cellblock_grid_headcell_field1}
	<th
	
	{$cell_grid_headcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert				{$Data_class}
			"

			data-field="Data"
	
	data-cellId="grid_headcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Data_fieldheadercolumn}
	{BEGIN Data_fieldheader}
	<SPAN {$Data_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field5" {$item_simple_grid_field5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Data">
	{$label Visitas Data }	{$arrow_icon_Data}
	</SPAN>
	{END Data_fieldheader}
{END Data_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field1}
				 
					{BEGIN cellblock_grid_headcell_field2}
	<th
	
	{$cell_grid_headcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$Tx_Sucesso_class}
			"

			data-field="Tx_Sucesso"
	
	data-cellId="grid_headcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Tx_Sucesso_fieldheadercolumn}
	{BEGIN Tx_Sucesso_fieldheader}
	<SPAN {$Tx_Sucesso_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field6" {$item_simple_grid_field6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Tx_Sucesso">
	{$label Visitas Tx_Sucesso }	{$arrow_icon_Tx_Sucesso}
	</SPAN>
	{END Tx_Sucesso_fieldheader}
{END Tx_Sucesso_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
				 
					{BEGIN cellblock_grid_headcell_field3}
	<th
	
	{$cell_grid_headcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$CodCliente_class}
			"

			data-field="CodCliente"
	
	data-cellId="grid_headcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CodCliente_fieldheadercolumn}
	{BEGIN CodCliente_fieldheader}
	<SPAN {$CodCliente_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field7" {$item_simple_grid_field7} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CodCliente">
	{$label Visitas CodCliente }	{$arrow_icon_CodCliente}
	</SPAN>
	{END CodCliente_fieldheader}
{END CodCliente_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field3}
				 
					{BEGIN cellblock_grid_headcell_field4}
	<th
	
	{$cell_grid_headcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$Observacoes_class}
			"

			data-field="Observacoes"
	
	data-cellId="grid_headcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Observacoes_fieldheadercolumn}
	{BEGIN Observacoes_fieldheader}
	<SPAN {$Observacoes_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field8" {$item_simple_grid_field8} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Observacoes">
	{$label Visitas Observacoes }	{$arrow_icon_Observacoes}
	</SPAN>
	{END Observacoes_fieldheader}
{END Observacoes_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field4}
				 
					{BEGIN cellblock_grid_headcell_field5}
	<th
	
	{$cell_grid_headcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert				{$Agricultor_class}
			"

			data-field="Agricultor"
	
	data-cellId="grid_headcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Agricultor_fieldheadercolumn}
	{BEGIN Agricultor_fieldheader}
	<SPAN {$Agricultor_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field11" {$item_simple_grid_field11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Agricultor">
	{$label Visitas Agricultor }	{$arrow_icon_Agricultor}
	</SPAN>
	{END Agricultor_fieldheader}
{END Agricultor_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field5}
				 
					{BEGIN cellblock_grid_headcell_field6}
	<th
	
	{$cell_grid_headcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$T_cnico_class}
			"

			data-field="T_cnico"
	
	data-cellId="grid_headcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN T_cnico_fieldheadercolumn}
	{BEGIN T_cnico_fieldheader}
	<SPAN {$T_cnico_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field12" {$item_simple_grid_field12} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="T_cnico">
	{$label Visitas T_cnico }	{$arrow_icon_T_cnico}
	</SPAN>
	{END T_cnico_fieldheader}
{END T_cnico_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field6}
				 
					{BEGIN cellblock_grid_headcell_field7}
	<th
	
	{$cell_grid_headcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert				{$Foto1_class}
			"

			data-field="Foto1"
	
	data-cellId="grid_headcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Foto1_fieldheadercolumn}
 
	<span data-itemtype="grid_field_label" data-itemid="simple_grid_field15" {$item_simple_grid_field15} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Foto1">
	{$label Visitas Foto1 }	</span>
{END Foto1_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field7}
							</tr>
					 
					 
					
					{END grid_header}
			</thead>
															<tbody>
					{BEGIN grid_row}
									
		 
					 
						<tr {$rowattrs} {$row_grid_1} class="{$rowclass} 
								
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_cell_icons}
	<td
	
	{$cell_grid_cell_icons}
	{$recordattrs}
	class="
					"

	
	data-cellId="grid_cell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"		data-control-cell
	
	>

	 
		{BEGIN edit_column}
{BEGIN edit_link}
<span data-itemtype="grid_edit" data-itemid="grid_edit" {$item_grid_edit} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Editar" class="btn-link   
	 glyphicon glyphicon-pencil" href="visitas_edit.php?{$editlink}" {$editlink_attrs} title="Editar" >		
				
								</a>
</span>
{END edit_link}
{END edit_column}
	 
		{BEGIN view_column}
{BEGIN view_link}
<span data-itemtype="grid_view" data-itemid="grid_view" {$item_grid_view} data-pageid="{$pageid}" data-record-id="{$recId}" data-small data-button-item>
	<a type="button" title="Mostrar Registo" class="btn-link   
	 glyphicon glyphicon-search" href="visitas_view.php?{$editlink}" {$viewlink_attrs} title="Mostrar" >		
				
								</a>
</span>
{END view_link}
{END view_column}
	
	</td>
	{END cellblock_grid_cell_icons}
				 
					{BEGIN cellblock_grid_cell_checkbox}
	<td
	
	{$cell_grid_cell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"		data-control-cell
	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox" data-itemid="grid_checkbox" {$item_grid_checkbox} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkbox_attrs}>
</span>	
{END checkbox_column}
	
	</td>
	{END cellblock_grid_cell_checkbox}
				 
					{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$CodVisita_class}
			"

			data-field="CodVisita"
	
	data-cellId="grid_cell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CodVisita_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field13" {$item_simple_grid_field13} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CodVisita" data-default-width >
{$CodVisita_value}
</span>
{END CodVisita_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
				 
					{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert				{$Data_class}
			"

			data-field="Data"
	
	data-cellId="grid_cell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Data_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Data" data-default-width >
{$Data_value}
</span>
{END Data_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
				 
					{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$Tx_Sucesso_class}
			"

			data-field="Tx_Sucesso"
	
	data-cellId="grid_cell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Tx_Sucesso_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field3" {$item_simple_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Tx_Sucesso" data-default-width >
{$Tx_Sucesso_value}
</span>
{END Tx_Sucesso_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
				 
					{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$CodCliente_class}
			"

			data-field="CodCliente"
	
	data-cellId="grid_cell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CodCliente_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CodCliente" data-default-width >
{$CodCliente_value}
</span>
{END CodCliente_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
				 
					{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$Observacoes_class}
			"

			data-field="Observacoes"
	
	data-cellId="grid_cell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Observacoes_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Observacoes" data-default-width >
{$Observacoes_value}
</span>
{END Observacoes_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
				 
					{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert				{$Agricultor_class}
			"

			data-field="Agricultor"
	
	data-cellId="grid_cell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Agricultor_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field9" {$item_simple_grid_field9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Agricultor" data-default-width >
{$Agricultor_value}
</span>
{END Agricultor_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field5}
				 
					{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$T_cnico_class}
			"

			data-field="T_cnico"
	
	data-cellId="grid_cell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN T_cnico_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field10" {$item_simple_grid_field10} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="T_cnico" data-default-width >
{$T_cnico_value}
</span>
{END T_cnico_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
				 
					{BEGIN cellblock_grid_cell_field7}
	<td
	
	{$cell_grid_cell_field7}
	{$recordattrs}
	class="
		 r-ori-vert				{$Foto1_class}
			"

			data-field="Foto1"
	
	data-cellId="grid_cell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Foto1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Foto1" data-default-width >
{$Foto1_value}
</span>
{END Foto1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field7}
							</tr>
					 
					
											{END grid_row}
					</tbody>
													<tfoot>
					
		 
					 
					 
						<tr {$rowattrs} {$row_grid_2} class="{$rowclass} 
									{$gridFooter_class}
									
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_footcell_icons}
	<td
	
	{$cell_grid_footcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_icons}
				 
					{BEGIN cellblock_grid_footcell_checkbox}
	<td
	
	{$cell_grid_footcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_checkbox}
				 
					{BEGIN cellblock_grid_footcell_field}
	<td
	
	{$cell_grid_footcell_field}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field}
				 
					{BEGIN cellblock_grid_footcell_field1}
	<td
	
	{$cell_grid_footcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field1}
				 
					{BEGIN cellblock_grid_footcell_field2}
	<td
	
	{$cell_grid_footcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field2}
				 
					{BEGIN cellblock_grid_footcell_field3}
	<td
	
	{$cell_grid_footcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field3}
				 
					{BEGIN cellblock_grid_footcell_field4}
	<td
	
	{$cell_grid_footcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field4}
				 
					{BEGIN cellblock_grid_footcell_field5}
	<td
	
	{$cell_grid_footcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field5}
				 
					{BEGIN cellblock_grid_footcell_field6}
	<td
	
	{$cell_grid_footcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field6}
				 
					{BEGIN cellblock_grid_footcell_field7}
	<td
	
	{$cell_grid_footcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="visitas_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field7}
							</tr>
					
					</tfoot>
				</table>
{END grid_block}
							</div>
						
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="topbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		{BEGIN pagination_block}
<span data-itemtype="pagination" data-itemid="pagination" {$item_pagination} data-pageid="{$pageid}" >
{$pagination}
</span>
{END pagination_block}
		</div>					</div>
	</div>		
{END below-grid_block}
							
					</div>
				</div>
			</div>
		</div>
		{$footer}
	{END body}
	</body>
</html>
