<!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}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}">
{BEGIN left_block}
 
     
         

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="image" {$item_image} data-topcell-item-type="image" >
				<img src="{$file_url images/Logo_fatto_software_72x80.png}" data-itemtype="image" data-itemid="image" {$item_image} data-pageid="{$pageid}" />
			</div>
		
 

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Expand" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main}			</div>
		
 

			<div class="clearfix  r-ori-vert" data-cellId="left_c1" data-pageid="{$pageid}" data-itemid="search_panel" {$item_search_panel} data-topcell-item-type="search_panel" >
				<!-- 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">
			Buscar em			<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>todas as condições</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>qualquer condição</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>ocultar</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_componente}


		<div class="form-group srchPanelRow {$filterRow_class_componente}" {$filterRow_attrs_componente}>
			<label>{$label w_resumo_calculo componente }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_componente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_componente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_componente}</span>
						</div>
		{END searchCtrlBlock_componente}
																{BEGIN searchCtrlBlock_nome_aux}


		<div class="form-group srchPanelRow {$filterRow_class_nome_aux}" {$filterRow_attrs_nome_aux}>
			<label>{$label w_resumo_calculo nome_aux }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_nome_aux}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_nome_aux}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_nome_aux}</span>
						</div>
		{END searchCtrlBlock_nome_aux}
																{BEGIN searchCtrlBlock_cliente}


		<div class="form-group srchPanelRow {$filterRow_class_cliente}" {$filterRow_attrs_cliente}>
			<label>{$label w_resumo_calculo cliente }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_cliente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_cliente}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_cliente}</span>
						</div>
		{END searchCtrlBlock_cliente}
																{BEGIN searchCtrlBlock_validade}


		<div class="form-group srchPanelRow {$filterRow_class_validade}" {$filterRow_attrs_validade}>
			<label>{$label w_resumo_calculo validade }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_validade}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_validade}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_validade}</span>
						</div>
		{END searchCtrlBlock_validade}
																{BEGIN searchCtrlBlock_data1}


		<div class="form-group srchPanelRow {$filterRow_class_data1}" {$filterRow_attrs_data1}>
			<label>{$label w_resumo_calculo data1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_data1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_data1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_data1}</span>
						</div>
		{END searchCtrlBlock_data1}
																{BEGIN searchCtrlBlock_Resultado}


		<div class="form-group srchPanelRow {$filterRow_class_Resultado}" {$filterRow_attrs_Resultado}>
			<label>{$label w_resumo_calculo Resultado }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Resultado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Resultado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Resultado}</span>
						</div>
		{END searchCtrlBlock_Resultado}
																{BEGIN searchCtrlBlock_pv_negociado}


		<div class="form-group srchPanelRow {$filterRow_class_pv_negociado}" {$filterRow_attrs_pv_negociado}>
			<label>{$label w_resumo_calculo pv_negociado }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_pv_negociado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_pv_negociado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_pv_negociado}</span>
						</div>
		{END searchCtrlBlock_pv_negociado}
																{BEGIN searchCtrlBlock_pv_minimo}


		<div class="form-group srchPanelRow {$filterRow_class_pv_minimo}" {$filterRow_attrs_pv_minimo}>
			<label>{$label w_resumo_calculo pv_minimo }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_pv_minimo}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_pv_minimo}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_pv_minimo}</span>
						</div>
		{END searchCtrlBlock_pv_minimo}
																{BEGIN searchCtrlBlock_Mlucro}


		<div class="form-group srchPanelRow {$filterRow_class_Mlucro}" {$filterRow_attrs_Mlucro}>
			<label>{$label w_resumo_calculo Mlucro }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Mlucro}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Mlucro}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Mlucro}</span>
						</div>
		{END searchCtrlBlock_Mlucro}
																{BEGIN searchCtrlBlock_vigente1}


		<div class="form-group srchPanelRow {$filterRow_class_vigente1}" {$filterRow_attrs_vigente1}>
			<label>{$label w_resumo_calculo vigente1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_vigente1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_vigente1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_vigente1}</span>
						</div>
		{END searchCtrlBlock_vigente1}
																{BEGIN searchCtrlBlock_status}


		<div class="form-group srchPanelRow {$filterRow_class_status}" {$filterRow_attrs_status}>
			<label>{$label w_resumo_calculo status }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_status}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_status}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_status}</span>
						</div>
		{END searchCtrlBlock_status}
																{BEGIN searchCtrlBlock_referencia}


		<div class="form-group srchPanelRow {$filterRow_class_referencia}" {$filterRow_attrs_referencia}>
			<label>{$label w_resumo_calculo referencia }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_referencia}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_referencia}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_referencia}</span>
						</div>
		{END searchCtrlBlock_referencia}
																{BEGIN searchCtrlBlock_PVenda}


		<div class="form-group srchPanelRow {$filterRow_class_PVenda}" {$filterRow_attrs_PVenda}>
			<label>{$label w_resumo_calculo PVenda }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_PVenda}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_PVenda}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_PVenda}</span>
						</div>
		{END searchCtrlBlock_PVenda}
																{BEGIN searchCtrlBlock_CBruto}


		<div class="form-group srchPanelRow {$filterRow_class_CBruto}" {$filterRow_attrs_CBruto}>
			<label>{$label w_resumo_calculo CBruto }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_CBruto}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_CBruto}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_CBruto}</span>
						</div>
		{END searchCtrlBlock_CBruto}
																{BEGIN searchCtrlBlock_GGF}


		<div class="form-group srchPanelRow {$filterRow_class_GGF}" {$filterRow_attrs_GGF}>
			<label>{$label w_resumo_calculo GGF }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_GGF}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_GGF}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_GGF}</span>
						</div>
		{END searchCtrlBlock_GGF}
																{BEGIN searchCtrlBlock_CMat}


		<div class="form-group srchPanelRow {$filterRow_class_CMat}" {$filterRow_attrs_CMat}>
			<label>{$label w_resumo_calculo CMat }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_CMat}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_CMat}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_CMat}</span>
						</div>
		{END searchCtrlBlock_CMat}
																{BEGIN searchCtrlBlock_CMO}


		<div class="form-group srchPanelRow {$filterRow_class_CMO}" {$filterRow_attrs_CMO}>
			<label>{$label w_resumo_calculo CMO }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_CMO}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_CMO}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_CMO}</span>
						</div>
		{END searchCtrlBlock_CMO}
																{BEGIN searchCtrlBlock_versao}


		<div class="form-group srchPanelRow {$filterRow_class_versao}" {$filterRow_attrs_versao}>
			<label>{$label w_resumo_calculo versao }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_versao}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_versao}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_versao}</span>
						</div>
		{END searchCtrlBlock_versao}
																{BEGIN searchCtrlBlock_mcalcID}


		<div class="form-group srchPanelRow {$filterRow_class_mcalcID}" {$filterRow_attrs_mcalcID}>
			<label>{$label w_resumo_calculo mcalcID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_mcalcID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_mcalcID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_mcalcID}</span>
						</div>
		{END searchCtrlBlock_mcalcID}
																{BEGIN searchCtrlBlock_data}


		<div class="form-group srchPanelRow {$filterRow_class_data}" {$filterRow_attrs_data}>
			<label>{$label w_resumo_calculo 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}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary" id="searchButton{$id}" {$searchbutton_attrs}>Buscar</button>
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs}>Mostrar Todos</button>
	</div>
</div>
<!-- End Search panel content -->
			</div>
		
    {END left_block}
</div>				</div>	
			<div class="r-content-col" data-resize-left="leftbar">
				<div data-resize-left="leftbar"  data-fixed class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span class="navbar-form  navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Collapse" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="breadcrumb" {$item_breadcrumb} data-topcell-item-type="breadcrumb" >
				{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}			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_field" {$item_simple_search_field} data-topcell-item-type="simple_search_field" >
				{$simpleSearchFieldCombo}			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_option" {$item_simple_search_option} data-topcell-item-type="simple_search_option" >
				{$simpleSearchTypeCombo}			</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">
								<li data-itemtype="advsearch_link" data-itemid="advsearch_link" {$item_advsearch_link} data-pageid="{$pageid}" data-small >
				<a   href="w_resumo_calculo_search.php" {$advsearchlink_attrs}  title="" >
				
		Busca Avancada		
		</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="" >
				
		Mostrar painel de busca		
		</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="" >
				
		Ocultar painel de busca		
		</a>
	</li>
{END searchPanelTopButtons}
					</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}
							{BEGIN adminarea_link}
	<li data-itemtype="adminarea_link" data-itemid="adminarea_link" {$item_adminarea_link} data-pageid="{$pageid}" data-small >
				<a  href="admin_rights_list.php"  title="" >
				
		Área  Admin		
		</a>
	</li>
{END adminarea_link}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>	
				<div class="r-body" data-resize-top="topbar" data-body-width="standard">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c2" data-pageid="{$pageid}"	{$cell_top_c2}
	class=" r-ori-vert			col-md-12
	
">
		 
		{BEGIN mastertable_block}
<div data-itemtype="master_info" data-itemid="master_info" {$item_master_info} data-pageid="{$pageid}">
	{$showmasterfile}
</div>
{END mastertable_block}		</div>					</div>
	</div>		
{END top_block}
						</div>
					<div class="r-above">
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-6
	
">
		{BEGIN firstAboveGridCell}
		 
		<span data-itemtype="text" data-itemid="text1" {$item_text1} data-pageid="{$pageid}" data-small > 
	Resumo de Cálculo </span>
			{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="Página Print-friendly" 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">
			Escopo		</div>

		{BEGIN print_friendly_all}
		<div class="col-md-8">
			<label for="printAll{$id}">
				<input type="radio" id="printAll{$id}" data-href="w_resumo_calculo_print.php?all=1&amp;{$crosstable_attrs}" name="printScope">
									Imprimir todas as páginas							</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="w_resumo_calculo_print.php?{$crosstable_attrs}">
				Imprimir esta página			</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">
			Imprimir selecionados			</label>
		</div>
	</div>
	</div>				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									<div>
	<label for="printPerPage{$id}">
					Registros 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}" >
							Imprimir			</a>
</span>
				 
					</li>
															</ul>
</span>
{END print_friendly}
		</div>					</div>
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c3" data-pageid="{$pageid}"	{$cell_above-grid_c3}
	class=" r-ori-vert			col-md-6
	
">
			</div>			 
				<div 
	data-cellId="above-grid_c4" data-pageid="{$pageid}"	{$cell_above-grid_c4}
	class="r-align-right r-ori-vert			col-md-6
	
">
		 
		<div class="form-inline sortby-ctrl" data-itemtype="sort_dropdown" data-itemid="sort_dropdown" {$item_sort_dropdown} data-pageid="{$pageid}">
Ordenar por&nbsp;{$sortByDropdown}
</div>		</div>					</div>
	</div>		
{END above-grid_block}
						</div>
					<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="mcalcID"]:before {
		content: "{$label w_resumo_calculo mcalcID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pdtoID"]:before {
		content: "{$label w_resumo_calculo pdtoID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="data"]:before {
		content: "{$label w_resumo_calculo data}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="versao"]:before {
		content: "{$label w_resumo_calculo versao}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="componente"]:before {
		content: "{$label w_resumo_calculo componente}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="material"]:before {
		content: "{$label w_resumo_calculo material}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="consumo"]:before {
		content: "{$label w_resumo_calculo consumo}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="quebra"]:before {
		content: "{$label w_resumo_calculo quebra}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="tempo"]:before {
		content: "{$label w_resumo_calculo tempo}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="txo"]:before {
		content: "{$label w_resumo_calculo txo}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="divisao"]:before {
		content: "{$label w_resumo_calculo divisao}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="CMO"]:before {
		content: "{$label w_resumo_calculo CMO}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="CMat"]:before {
		content: "{$label w_resumo_calculo CMat}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="vigente"]:before {
		content: "{$label w_resumo_calculo vigente}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="GGF"]:before {
		content: "{$label w_resumo_calculo GGF}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="RModel"]:before {
		content: "{$label w_resumo_calculo RModel}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="markup"]:before {
		content: "{$label w_resumo_calculo markup}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Mlucro"]:before {
		content: "{$label w_resumo_calculo Mlucro}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="MKP"]:before {
		content: "{$label w_resumo_calculo MKP}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="CBruto"]:before {
		content: "{$label w_resumo_calculo CBruto}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="PVenda"]:before {
		content: "{$label w_resumo_calculo PVenda}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="referencia"]:before {
		content: "{$label w_resumo_calculo referencia}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="nome_aux"]:before {
		content: "{$label w_resumo_calculo nome_aux}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="categoria"]:before {
		content: "{$label w_resumo_calculo categoria}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="status"]:before {
		content: "{$label w_resumo_calculo status}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="foto"]:before {
		content: "{$label w_resumo_calculo foto}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pdtoiD1"]:before {
		content: "{$label w_resumo_calculo pdtoiD1}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Rat_modelagem"]:before {
		content: "{$label w_resumo_calculo Rat_modelagem}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="vigente1"]:before {
		content: "{$label w_resumo_calculo vigente1}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pv_minimo"]:before {
		content: "{$label w_resumo_calculo pv_minimo}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pv_negociado"]:before {
		content: "{$label w_resumo_calculo pv_negociado}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Resultado"]:before {
		content: "{$label w_resumo_calculo Resultado}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="data1"]:before {
		content: "{$label w_resumo_calculo data1}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="validade"]:before {
		content: "{$label w_resumo_calculo validade}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="clienteID"]:before {
		content: "{$label w_resumo_calculo clienteID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="cliente"]:before {
		content: "{$label w_resumo_calculo cliente}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="clienteID1"]:before {
		content: "{$label w_resumo_calculo clienteID1}";
	}
	
}
</style>
<table data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$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="w_resumo_calculo_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="w_resumo_calculo_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_details}
	<th
	
	{$cell_grid_headcell_details}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</th>
	{END cellblock_grid_headcell_details}
				 
					{BEGIN cellblock_grid_cell_field2}
	<th
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$cliente_class}
			"

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

	 
		{BEGIN cliente_fieldheadercolumn}
	{BEGIN cliente_fieldheader}
	<SPAN {$cliente_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label4" {$item_grid_field_label4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="cliente">
	{$label w_resumo_calculo cliente }	{$arrow_icon_cliente}
	</SPAN>
	{END cliente_fieldheader}
{END cliente_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field2}
				 
					{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$mcalcID_class}
			"

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

	 
		{BEGIN mcalcID_fieldheadercolumn}
	{BEGIN mcalcID_fieldheader}
	<SPAN {$mcalcID_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field11" {$item_simple_grid_field11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="mcalcID">
	{$label w_resumo_calculo mcalcID }	{$arrow_icon_mcalcID}
	</SPAN>
	{END mcalcID_fieldheader}
{END mcalcID_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field}
				 
					{BEGIN cellblock_grid_cell_field5}
	<th
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert				{$referencia_class}
			"

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

	 
		{BEGIN referencia_fieldheadercolumn}
	{BEGIN referencia_fieldheader}
	<SPAN {$referencia_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label3" {$item_grid_field_label3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="referencia">
	{$label w_resumo_calculo referencia }	{$arrow_icon_referencia}
	</SPAN>
	{END referencia_fieldheader}
{END referencia_fieldheadercolumn}

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

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

	 
		{BEGIN nome_aux_fieldheadercolumn}
	{BEGIN nome_aux_fieldheader}
	<SPAN {$nome_aux_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label2" {$item_grid_field_label2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="nome_aux">
	{$label w_resumo_calculo nome_aux }	{$arrow_icon_nome_aux}
	</SPAN>
	{END nome_aux_fieldheader}
{END nome_aux_fieldheadercolumn}

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

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

	 
		{BEGIN componente_fieldheadercolumn}
	{BEGIN componente_fieldheader}
	<SPAN {$componente_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field15" {$item_simple_grid_field15} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="componente">
	{$label w_resumo_calculo componente }	{$arrow_icon_componente}
	</SPAN>
	{END componente_fieldheader}
{END componente_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field4}
				 
					{BEGIN cellblock_grid_headcell_field16}
	<th
	
	{$cell_grid_headcell_field16}
	{$recordattrs}
	class="
		 r-ori-vert				{$data_class}
			"

			data-field="data"
	
	data-cellId="grid_headcell_field16" 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_field13" {$item_simple_grid_field13} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="data">
	{$label w_resumo_calculo data }	{$arrow_icon_data}
	</SPAN>
	{END data_fieldheader}
{END data_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field16}
				 
					{BEGIN cellblock_grid_cell_field36}
	<th
	
	{$cell_grid_cell_field36}
	{$recordattrs}
	class="
		 r-ori-vert				{$versao_class}
			"

			data-field="versao"
	
	data-cellId="grid_cell_field36" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN versao_fieldheadercolumn}
	{BEGIN versao_fieldheader}
	<SPAN {$versao_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field14" {$item_simple_grid_field14} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="versao">
	{$label w_resumo_calculo versao }	{$arrow_icon_versao}
	</SPAN>
	{END versao_fieldheader}
{END versao_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field36}
				 
					{BEGIN cellblock_grid_cell_field39}
	<th
	
	{$cell_grid_cell_field39}
	{$recordattrs}
	class="
		 r-ori-vert				{$status_class}
			"

			data-field="status"
	
	data-cellId="grid_cell_field39" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN status_fieldheadercolumn}
	{BEGIN status_fieldheader}
	<SPAN {$status_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label9" {$item_grid_field_label9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status">
	{$label w_resumo_calculo status }	{$arrow_icon_status}
	</SPAN>
	{END status_fieldheader}
{END status_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field39}
				 
					{BEGIN cellblock_grid_cell_field30}
	<th
	
	{$cell_grid_cell_field30}
	{$recordattrs}
	class="
		 r-ori-vert				{$vigente1_class}
			"

			data-field="vigente1"
	
	data-cellId="grid_cell_field30" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vigente1_fieldheadercolumn}
	{BEGIN vigente1_fieldheader}
	<SPAN {$vigente1_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label1" {$item_grid_field_label1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vigente1">
	{$label w_resumo_calculo vigente1 }	{$arrow_icon_vigente1}
	</SPAN>
	{END vigente1_fieldheader}
{END vigente1_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field30}
				 
					{BEGIN cellblock_grid_cell_field33}
	<th
	
	{$cell_grid_cell_field33}
	{$recordattrs}
	class="
		 r-ori-vert				{$CBruto_class}
			"

			data-field="CBruto"
	
	data-cellId="grid_cell_field33" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CBruto_fieldheadercolumn}
	{BEGIN CBruto_fieldheader}
	<SPAN {$CBruto_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label5" {$item_grid_field_label5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CBruto">
	{$label w_resumo_calculo CBruto }	{$arrow_icon_CBruto}
	</SPAN>
	{END CBruto_fieldheader}
{END CBruto_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field33}
				 
					{BEGIN cellblock_grid_cell_field42}
	<th
	
	{$cell_grid_cell_field42}
	{$recordattrs}
	class="
		 r-ori-vert				{$Mlucro_class}
			"

			data-field="Mlucro"
	
	data-cellId="grid_cell_field42" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Mlucro_fieldheadercolumn}
	{BEGIN Mlucro_fieldheader}
	<SPAN {$Mlucro_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label" {$item_grid_field_label} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Mlucro">
	{$label w_resumo_calculo Mlucro }	{$arrow_icon_Mlucro}
	</SPAN>
	{END Mlucro_fieldheader}
{END Mlucro_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field42}
				 
					{BEGIN cellblock_grid_headcell_field17}
	<th
	
	{$cell_grid_headcell_field17}
	{$recordattrs}
	class="
		 r-ori-vert				{$PVenda_class}
			"

			data-field="PVenda"
	
	data-cellId="grid_headcell_field17" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN PVenda_fieldheadercolumn}
	{BEGIN PVenda_fieldheader}
	<SPAN {$PVenda_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label6" {$item_grid_field_label6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="PVenda">
	{$label w_resumo_calculo PVenda }	{$arrow_icon_PVenda}
	</SPAN>
	{END PVenda_fieldheader}
{END PVenda_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field17}
				 
					{BEGIN cellblock_grid_headcell_field14}
	<th
	
	{$cell_grid_headcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert				{$pv_negociado_class}
			"

			data-field="pv_negociado"
	
	data-cellId="grid_headcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN pv_negociado_fieldheadercolumn}
	{BEGIN pv_negociado_fieldheader}
	<SPAN {$pv_negociado_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label12" {$item_grid_field_label12} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pv_negociado">
	{$label w_resumo_calculo pv_negociado }	{$arrow_icon_pv_negociado}
	</SPAN>
	{END pv_negociado_fieldheader}
{END pv_negociado_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field14}
				 
					{BEGIN cellblock_grid_cell_field24}
	<th
	
	{$cell_grid_cell_field24}
	{$recordattrs}
	class="
		 r-ori-vert				{$Resultado_class}
			"

			data-field="Resultado"
	
	data-cellId="grid_cell_field24" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Resultado_fieldheadercolumn}
	{BEGIN Resultado_fieldheader}
	<SPAN {$Resultado_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label13" {$item_grid_field_label13} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Resultado">
	{$label w_resumo_calculo Resultado }	{$arrow_icon_Resultado}
	</SPAN>
	{END Resultado_fieldheader}
{END Resultado_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field24}
				 
					{BEGIN cellblock_grid_cell_field27}
	<th
	
	{$cell_grid_cell_field27}
	{$recordattrs}
	class="
		 r-ori-vert				{$data1_class}
			"

			data-field="data1"
	
	data-cellId="grid_cell_field27" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN data1_fieldheadercolumn}
	{BEGIN data1_fieldheader}
	<SPAN {$data1_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label14" {$item_grid_field_label14} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="data1">
	{$label w_resumo_calculo data1 }	{$arrow_icon_data1}
	</SPAN>
	{END data1_fieldheader}
{END data1_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_cell_field27}
				 
					{BEGIN cellblock_grid_headcell_field18}
	<th
	
	{$cell_grid_headcell_field18}
	{$recordattrs}
	class="
		 r-ori-vert				{$validade_class}
			"

			data-field="validade"
	
	data-cellId="grid_headcell_field18" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN validade_fieldheadercolumn}
	{BEGIN validade_fieldheader}
	<SPAN {$validade_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label15" {$item_grid_field_label15} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="validade">
	{$label w_resumo_calculo validade }	{$arrow_icon_validade}
	</SPAN>
	{END validade_fieldheader}
{END validade_fieldheadercolumn}

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

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

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

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

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

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

	
	</th>
	{END cellblock_grid_headcell_field2}
							</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="
		 r-ori-vert			"

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

	 
		{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="Exibir Registro" class="btn-link   
	 glyphicon glyphicon-search" href="w_resumo_calculo_view.php?{$editlink}" {$viewlink_attrs} title="Exibir" data-popup >		
				
								</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_details}
	<td
	
	{$cell_grid_cell_details}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	 
		
		
	{BEGIN tb_negociado_dtable_link}
	<span data-itemtype="grid_details_link" data-itemid="grid_details_link" {$item_grid_details_link} data-pageid="{$pageid}" data-record-id="{$recId}">
	<a  {$tb_negociado_link_attrs} data-short-details="tb_negociado"
		 
			>
						Tb Negociado		
									<span {$tb_negociado_childnumber_attr} dir="ltr">
					{BEGIN tb_negociado_childcount}({$tb_negociado_childnumber}){END tb_negociado_childcount}
				</span>
						</a>
	</span>
	{END tb_negociado_dtable_link}


	
	</td>
	{END cellblock_grid_cell_details}
				 
					{BEGIN cellblock_grid_cell_field8}
	<td
	
	{$cell_grid_cell_field8}
	{$recordattrs}
	class="
		 r-ori-vert				{$cliente_class}
			"

			data-field="cliente"
	
	data-cellId="grid_cell_field8" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN cliente_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field4" {$item_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="cliente" data-default-width >
{$cliente_value}
</span>
{END cliente_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field8}
				 
					{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$mcalcID_class}
			"

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

	 
		{BEGIN mcalcID_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="mcalcID" data-default-width >
{$mcalcID_value}
</span>
{END mcalcID_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
				 
					{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$referencia_class}
			"

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

	 
		{BEGIN referencia_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field3" {$item_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="referencia" data-default-width >
{$referencia_value}
</span>
{END referencia_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
				 
					{BEGIN cellblock_grid_headcell_field6}
	<td
	
	{$cell_grid_headcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$nome_aux_class}
			"

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

	 
		{BEGIN nome_aux_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field2" {$item_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="nome_aux" data-default-width >
{$nome_aux_value}
</span>
{END nome_aux_fieldcolumn}	
	</td>
	{END cellblock_grid_headcell_field6}
				 
					{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$componente_class}
			"

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

	 
		{BEGIN componente_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="componente" data-default-width >
{$componente_value}
</span>
{END componente_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
				 
					{BEGIN cellblock_grid_cell_field19}
	<td
	
	{$cell_grid_cell_field19}
	{$recordattrs}
	class="
		 r-ori-vert				{$data_class}
			"

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

	 
		{BEGIN data_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="data" data-default-width >
{$data_value}
</span>
{END data_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field19}
				 
					{BEGIN cellblock_grid_cell_field37}
	<td
	
	{$cell_grid_cell_field37}
	{$recordattrs}
	class="
		 r-ori-vert				{$versao_class}
			"

			data-field="versao"
	
	data-cellId="grid_cell_field37" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN versao_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field3" {$item_simple_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="versao" data-default-width >
{$versao_value}
</span>
{END versao_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field37}
				 
					{BEGIN cellblock_grid_cell_field40}
	<td
	
	{$cell_grid_cell_field40}
	{$recordattrs}
	class="
		 r-ori-vert				{$status_class}
			"

			data-field="status"
	
	data-cellId="grid_cell_field40" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN status_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field9" {$item_grid_field9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status" data-default-width >
{$status_value}
</span>
{END status_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field40}
				 
					{BEGIN cellblock_grid_cell_field31}
	<td
	
	{$cell_grid_cell_field31}
	{$recordattrs}
	class="
		 r-ori-vert				{$vigente1_class}
			"

			data-field="vigente1"
	
	data-cellId="grid_cell_field31" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vigente1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field1" {$item_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vigente1" data-default-width >
{$vigente1_value}
</span>
{END vigente1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field31}
				 
					{BEGIN cellblock_grid_cell_field34}
	<td
	
	{$cell_grid_cell_field34}
	{$recordattrs}
	class="
		 r-ori-vert				{$CBruto_class}
			"

			data-field="CBruto"
	
	data-cellId="grid_cell_field34" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN CBruto_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field5" {$item_grid_field5} data-pageid="{$pageid}" data-page="w_resumo_calculo_list" data-record-id="{$recId}" data-field="CBruto" data-default-width >
{$CBruto_value}
</span>
{END CBruto_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field34}
				 
					{BEGIN cellblock_grid_cell_field43}
	<td
	
	{$cell_grid_cell_field43}
	{$recordattrs}
	class="
		 r-ori-vert				{$Mlucro_class}
			"

			data-field="Mlucro"
	
	data-cellId="grid_cell_field43" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Mlucro_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field" {$item_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Mlucro" data-default-width >
{$Mlucro_value}
</span>
{END Mlucro_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field43}
				 
					{BEGIN cellblock_grid_cell_field20}
	<td
	
	{$cell_grid_cell_field20}
	{$recordattrs}
	class="
		 r-ori-vert				{$PVenda_class}
			"

			data-field="PVenda"
	
	data-cellId="grid_cell_field20" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN PVenda_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field6" {$item_grid_field6} data-pageid="{$pageid}" data-page="w_resumo_calculo_list" data-record-id="{$recId}" data-field="PVenda" data-default-width >
{$PVenda_value}
</span>
{END PVenda_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field20}
				 
					{BEGIN cellblock_grid_cell_field14}
	<td
	
	{$cell_grid_cell_field14}
	{$recordattrs}
	class="
		 r-ori-vert				{$pv_negociado_class}
			"

			data-field="pv_negociado"
	
	data-cellId="grid_cell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN pv_negociado_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field12" {$item_grid_field12} data-pageid="{$pageid}" data-page="w_resumo_calculo_list" data-record-id="{$recId}" data-field="pv_negociado" data-default-width >
{$pv_negociado_value}
</span>
{END pv_negociado_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field14}
				 
					{BEGIN cellblock_grid_cell_field25}
	<td
	
	{$cell_grid_cell_field25}
	{$recordattrs}
	class="
		 r-ori-vert				{$Resultado_class}
			"

			data-field="Resultado"
	
	data-cellId="grid_cell_field25" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN Resultado_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field13" {$item_grid_field13} data-pageid="{$pageid}" data-page="w_resumo_calculo_list" data-record-id="{$recId}" data-field="Resultado" data-default-width >
{$Resultado_value}
</span>
{END Resultado_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field25}
				 
					{BEGIN cellblock_grid_cell_field28}
	<td
	
	{$cell_grid_cell_field28}
	{$recordattrs}
	class="
		 r-ori-vert				{$data1_class}
			"

			data-field="data1"
	
	data-cellId="grid_cell_field28" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN data1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field14" {$item_grid_field14} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="data1" data-default-width >
{$data1_value}
</span>
{END data1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field28}
				 
					{BEGIN cellblock_grid_cell_field21}
	<td
	
	{$cell_grid_cell_field21}
	{$recordattrs}
	class="
		 r-ori-vert				{$validade_class}
			"

			data-field="validade"
	
	data-cellId="grid_cell_field21" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN validade_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field15" {$item_grid_field15} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="validade" data-default-width >
{$validade_value}
</span>
{END validade_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field21}
				 
					{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field1}
				 
					{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field3}
				 
					{BEGIN cellblock_grid_cell_field10}
	<td
	
	{$cell_grid_cell_field10}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field10}
							</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}"		data-control-cell
	
	>

	
	</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}"		data-control-cell
	
	>

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

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

	
	</td>
	{END cellblock_grid_footcell_details}
				 
					{BEGIN cellblock_grid_cell_field9}
	<td
	
	{$cell_grid_cell_field9}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field9}
				 
					{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="w_resumo_calculo_list"		data-control-cell
	
	>

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

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

	
	</td>
	{END cellblock_grid_cell_field7}
				 
					{BEGIN cellblock_grid_headcell_field7}
	<td
	
	{$cell_grid_headcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_headcell_field7}
				 
					{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="w_resumo_calculo_list"		data-control-cell
	
	>

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

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

	
	</td>
	{END cellblock_grid_footcell_field16}
				 
					{BEGIN cellblock_grid_cell_field38}
	<td
	
	{$cell_grid_cell_field38}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field38}
				 
					{BEGIN cellblock_grid_cell_field41}
	<td
	
	{$cell_grid_cell_field41}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field41}
				 
					{BEGIN cellblock_grid_cell_field32}
	<td
	
	{$cell_grid_cell_field32}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_field32" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	 
		<span data-itemtype="text" data-itemid="text" {$item_text} data-pageid="{$pageid}" data-record-id="{$recId}" data-small > 
	Valor médio </span>
	
	</td>
	{END cellblock_grid_cell_field32}
				 
					{BEGIN cellblock_grid_cell_field35}
	<td
	
	{$cell_grid_cell_field35}
	{$recordattrs}
	class="
		 r-ori-vert				{$CBruto_class}
			"

			data-field="CBruto"
	
	data-cellId="grid_cell_field35" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	 
		{BEGIN CBruto_fieldfootercolumn}
{BEGIN CBruto_showtotal}
<span data-itemtype="grid_field_totals" data-itemid="grid_field_totals2" {$item_grid_field_totals2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="CBruto">
		{$CBruto_total}
</span>
{END CBruto_showtotal}
{END CBruto_fieldfootercolumn}

	
	</td>
	{END cellblock_grid_cell_field35}
				 
					{BEGIN cellblock_grid_cell_field44}
	<td
	
	{$cell_grid_cell_field44}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_field44" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_cell_field44}
				 
					{BEGIN cellblock_grid_footcell_field17}
	<td
	
	{$cell_grid_footcell_field17}
	{$recordattrs}
	class="
		 r-ori-vert				{$PVenda_class}
			"

			data-field="PVenda"
	
	data-cellId="grid_footcell_field17" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	 
		{BEGIN PVenda_fieldfootercolumn}
{BEGIN PVenda_showtotal}
<span data-itemtype="grid_field_totals" data-itemid="grid_field_totals" {$item_grid_field_totals} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="PVenda">
		{$PVenda_total}
</span>
{END PVenda_showtotal}
{END PVenda_fieldfootercolumn}

	
	</td>
	{END cellblock_grid_footcell_field17}
				 
					{BEGIN cellblock_grid_footcell_field14}
	<td
	
	{$cell_grid_footcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert				{$pv_negociado_class}
			"

			data-field="pv_negociado"
	
	data-cellId="grid_footcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	 
		{BEGIN pv_negociado_fieldfootercolumn}
{BEGIN pv_negociado_showtotal}
<span data-itemtype="grid_field_totals" data-itemid="grid_field_totals1" {$item_grid_field_totals1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pv_negociado">
		{$pv_negociado_total}
</span>
{END pv_negociado_showtotal}
{END pv_negociado_fieldfootercolumn}

	
	</td>
	{END cellblock_grid_footcell_field14}
				 
					{BEGIN cellblock_grid_cell_field26}
	<td
	
	{$cell_grid_cell_field26}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_field26" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_cell_field26}
				 
					{BEGIN cellblock_grid_cell_field29}
	<td
	
	{$cell_grid_cell_field29}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_field29" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_cell_field29}
				 
					{BEGIN cellblock_grid_footcell_field18}
	<td
	
	{$cell_grid_footcell_field18}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field18" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field18}
				 
					{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="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field1}
				 
					{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="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field3}
				 
					{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="w_resumo_calculo_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field2}
							</tr>
					
					</tfoot>
				</table>
{END grid_block}
						</div>
					<div class="r-below">
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$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>
					{$footer}
				</div>	
			</div>	
		</div>
	{END body}
	</body>
</html>
