<!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_faturados 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_categoria}


		<div class="form-group srchPanelRow {$filterRow_class_categoria}" {$filterRow_attrs_categoria}>
			<label>{$label w_faturados categoria }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_categoria}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_categoria}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_categoria}</span>
						</div>
		{END searchCtrlBlock_categoria}
																{BEGIN searchCtrlBlock_cota_d}


		<div class="form-group srchPanelRow {$filterRow_class_cota_d}" {$filterRow_attrs_cota_d}>
			<label>{$label w_faturados cota_d }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_cota_d}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_cota_d}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_cota_d}</span>
						</div>
		{END searchCtrlBlock_cota_d}
																{BEGIN searchCtrlBlock_cota_c}


		<div class="form-group srchPanelRow {$filterRow_class_cota_c}" {$filterRow_attrs_cota_c}>
			<label>{$label w_faturados cota_c }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_cota_c}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_cota_c}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_cota_c}</span>
						</div>
		{END searchCtrlBlock_cota_c}
																{BEGIN searchCtrlBlock_cota_b}


		<div class="form-group srchPanelRow {$filterRow_class_cota_b}" {$filterRow_attrs_cota_b}>
			<label>{$label w_faturados cota_b }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_cota_b}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_cota_b}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_cota_b}</span>
						</div>
		{END searchCtrlBlock_cota_b}
																{BEGIN searchCtrlBlock_cota_a}


		<div class="form-group srchPanelRow {$filterRow_class_cota_a}" {$filterRow_attrs_cota_a}>
			<label>{$label w_faturados cota_a }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_cota_a}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_cota_a}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_cota_a}</span>
						</div>
		{END searchCtrlBlock_cota_a}
																{BEGIN searchCtrlBlock_Subtotal}


		<div class="form-group srchPanelRow {$filterRow_class_Subtotal}" {$filterRow_attrs_Subtotal}>
			<label>{$label w_faturados Subtotal }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Subtotal}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Subtotal}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Subtotal}</span>
						</div>
		{END searchCtrlBlock_Subtotal}
																{BEGIN searchCtrlBlock_qtd}


		<div class="form-group srchPanelRow {$filterRow_class_qtd}" {$filterRow_attrs_qtd}>
			<label>{$label w_faturados qtd }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_qtd}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_qtd}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_qtd}</span>
						</div>
		{END searchCtrlBlock_qtd}
																{BEGIN searchCtrlBlock_t5}


		<div class="form-group srchPanelRow {$filterRow_class_t5}" {$filterRow_attrs_t5}>
			<label>{$label w_faturados t5 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t5}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t5}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t5}</span>
						</div>
		{END searchCtrlBlock_t5}
																{BEGIN searchCtrlBlock_t4}


		<div class="form-group srchPanelRow {$filterRow_class_t4}" {$filterRow_attrs_t4}>
			<label>{$label w_faturados t4 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t4}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t4}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t4}</span>
						</div>
		{END searchCtrlBlock_t4}
																{BEGIN searchCtrlBlock_t3}


		<div class="form-group srchPanelRow {$filterRow_class_t3}" {$filterRow_attrs_t3}>
			<label>{$label w_faturados t3 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t3}</span>
						</div>
		{END searchCtrlBlock_t3}
																{BEGIN searchCtrlBlock_t2}


		<div class="form-group srchPanelRow {$filterRow_class_t2}" {$filterRow_attrs_t2}>
			<label>{$label w_faturados t2 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t2}</span>
						</div>
		{END searchCtrlBlock_t2}
																{BEGIN searchCtrlBlock_t1}


		<div class="form-group srchPanelRow {$filterRow_class_t1}" {$filterRow_attrs_t1}>
			<label>{$label w_faturados t1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t1}</span>
						</div>
		{END searchCtrlBlock_t1}
																{BEGIN searchCtrlBlock_t0}


		<div class="form-group srchPanelRow {$filterRow_class_t0}" {$filterRow_attrs_t0}>
			<label>{$label w_faturados t0 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_t0}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_t0}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_t0}</span>
						</div>
		{END searchCtrlBlock_t0}
																{BEGIN searchCtrlBlock_Faturamento}


		<div class="form-group srchPanelRow {$filterRow_class_Faturamento}" {$filterRow_attrs_Faturamento}>
			<label>{$label w_faturados Faturamento }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Faturamento}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Faturamento}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Faturamento}</span>
						</div>
		{END searchCtrlBlock_Faturamento}
																{BEGIN searchCtrlBlock_data_fatura}


		<div class="form-group srchPanelRow {$filterRow_class_data_fatura}" {$filterRow_attrs_data_fatura}>
			<label>{$label w_faturados data_fatura }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_data_fatura}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_data_fatura}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_data_fatura}</span>
						</div>
		{END searchCtrlBlock_data_fatura}
																{BEGIN searchCtrlBlock_faturado}


		<div class="form-group srchPanelRow {$filterRow_class_faturado}" {$filterRow_attrs_faturado}>
			<label>{$label w_faturados faturado }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_faturado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_faturado}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_faturado}</span>
						</div>
		{END searchCtrlBlock_faturado}
																{BEGIN searchCtrlBlock_status_item}


		<div class="form-group srchPanelRow {$filterRow_class_status_item}" {$filterRow_attrs_status_item}>
			<label>{$label w_faturados status_item }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_status_item}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_status_item}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_status_item}</span>
						</div>
		{END searchCtrlBlock_status_item}
																{BEGIN searchCtrlBlock_v_unit}


		<div class="form-group srchPanelRow {$filterRow_class_v_unit}" {$filterRow_attrs_v_unit}>
			<label>{$label w_faturados v_unit }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_v_unit}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_v_unit}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_v_unit}</span>
						</div>
		{END searchCtrlBlock_v_unit}
																{BEGIN searchCtrlBlock_pedID}


		<div class="form-group srchPanelRow {$filterRow_class_pedID}" {$filterRow_attrs_pedID}>
			<label>{$label w_faturados pedID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_pedID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_pedID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_pedID}</span>
						</div>
		{END searchCtrlBlock_pedID}
																{BEGIN searchCtrlBlock_pdtoID}


		<div class="form-group srchPanelRow {$filterRow_class_pdtoID}" {$filterRow_attrs_pdtoID}>
			<label>{$label w_faturados pdtoID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_pdtoID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_pdtoID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_pdtoID}</span>
						</div>
		{END searchCtrlBlock_pdtoID}
																{BEGIN searchCtrlBlock_itemID}


		<div class="form-group srchPanelRow {$filterRow_class_itemID}" {$filterRow_attrs_itemID}>
			<label>{$label w_faturados itemID }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_itemID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_itemID}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_itemID}</span>
						</div>
		{END searchCtrlBlock_itemID}
																{BEGIN searchCtrlBlock_incluir}


		<div class="form-group srchPanelRow {$filterRow_class_incluir}" {$filterRow_attrs_incluir}>
			<label>{$label w_faturados incluir }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_incluir}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_incluir}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_incluir}</span>
						</div>
		{END searchCtrlBlock_incluir}
																{BEGIN searchCtrlBlock_entrega}


		<div class="form-group srchPanelRow {$filterRow_class_entrega}" {$filterRow_attrs_entrega}>
			<label>{$label w_faturados entrega }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_entrega}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_entrega}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_entrega}</span>
						</div>
		{END searchCtrlBlock_entrega}
		

	</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  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_faturados_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}
				{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_faturados_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_faturados_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="itemID"]:before {
		content: "{$label w_faturados itemID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pedID"]:before {
		content: "{$label w_faturados pedID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pdtoID"]:before {
		content: "{$label w_faturados pdtoID}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="v_unit"]:before {
		content: "{$label w_faturados v_unit}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="entrega"]:before {
		content: "{$label w_faturados entrega}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="incluir"]:before {
		content: "{$label w_faturados incluir}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t0"]:before {
		content: "{$label w_faturados t0}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t1"]:before {
		content: "{$label w_faturados t1}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t2"]:before {
		content: "{$label w_faturados t2}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t3"]:before {
		content: "{$label w_faturados t3}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t4"]:before {
		content: "{$label w_faturados t4}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="t5"]:before {
		content: "{$label w_faturados t5}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="qtd"]:before {
		content: "{$label w_faturados qtd}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Subtotal"]:before {
		content: "{$label w_faturados Subtotal}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="Faturamento"]:before {
		content: "{$label w_faturados Faturamento}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="cota_a"]:before {
		content: "{$label w_faturados cota_a}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="cota_b"]:before {
		content: "{$label w_faturados cota_b}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="cota_c"]:before {
		content: "{$label w_faturados cota_c}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="cota_d"]:before {
		content: "{$label w_faturados cota_d}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="categoria"]:before {
		content: "{$label w_faturados categoria}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="componente"]:before {
		content: "{$label w_faturados componente}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="status_item"]:before {
		content: "{$label w_faturados status_item}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="faturado"]:before {
		content: "{$label w_faturados faturado}";
	}
	
	[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="data_fatura"]:before {
		content: "{$label w_faturados data_fatura}";
	}
	
}
</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_faturados_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_faturados_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				{$itemID_class}
			"

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

	 
		{BEGIN itemID_fieldheadercolumn}
	{BEGIN itemID_fieldheader}
	<SPAN {$itemID_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field7" {$item_simple_grid_field7} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="itemID">
	{$label w_faturados itemID }	{$arrow_icon_itemID}
	</SPAN>
	{END itemID_fieldheader}
{END itemID_fieldheadercolumn}

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

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

	 
		{BEGIN pedID_fieldheadercolumn}
	{BEGIN pedID_fieldheader}
	<SPAN {$pedID_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field8" {$item_simple_grid_field8} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pedID">
	{$label w_faturados pedID }	{$arrow_icon_pedID}
	</SPAN>
	{END pedID_fieldheader}
{END pedID_fieldheadercolumn}

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

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

	 
		{BEGIN pdtoID_fieldheadercolumn}
	{BEGIN pdtoID_fieldheader}
	<SPAN {$pdtoID_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field9" {$item_simple_grid_field9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pdtoID">
	{$label w_faturados pdtoID }	{$arrow_icon_pdtoID}
	</SPAN>
	{END pdtoID_fieldheader}
{END pdtoID_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
				 
					{BEGIN cellblock_grid_cell_field10}
	<th
	
	{$cell_grid_cell_field10}
	{$recordattrs}
	class="
		 r-ori-vert				{$componente_class}
			"

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

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

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

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

	 
		{BEGIN v_unit_fieldheadercolumn}
	{BEGIN v_unit_fieldheader}
	<SPAN {$v_unit_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field11" {$item_simple_grid_field11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="v_unit">
	{$label w_faturados v_unit }	{$arrow_icon_v_unit}
	</SPAN>
	{END v_unit_fieldheader}
{END v_unit_fieldheadercolumn}

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

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

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

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

	 
		{BEGIN qtd_fieldheadercolumn}
	{BEGIN qtd_fieldheader}
	<SPAN {$qtd_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label" {$item_grid_field_label} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="qtd">
	{$label w_faturados qtd }	{$arrow_icon_qtd}
	</SPAN>
	{END qtd_fieldheader}
{END qtd_fieldheadercolumn}

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

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

	 
		{BEGIN Subtotal_fieldheadercolumn}
	{BEGIN Subtotal_fieldheader}
	<SPAN {$Subtotal_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label1" {$item_grid_field_label1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Subtotal">
	{$label w_faturados Subtotal }	{$arrow_icon_Subtotal}
	</SPAN>
	{END Subtotal_fieldheader}
{END Subtotal_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field7}
				 
					{BEGIN cellblock_grid_headcell_field8}
	<th
	
	{$cell_grid_headcell_field8}
	{$recordattrs}
	class="
		 r-ori-vert				{$entrega_class}
			"

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

	 
		{BEGIN entrega_fieldheadercolumn}
	{BEGIN entrega_fieldheader}
	<SPAN {$entrega_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field12" {$item_simple_grid_field12} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="entrega">
	{$label w_faturados entrega }	{$arrow_icon_entrega}
	</SPAN>
	{END entrega_fieldheader}
{END entrega_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field8}
				 
					{BEGIN cellblock_grid_headcell_field9}
	<th
	
	{$cell_grid_headcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert				{$incluir_class}
			"

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

	 
		{BEGIN incluir_fieldheadercolumn}
	{BEGIN incluir_fieldheader}
	<SPAN {$incluir_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field13" {$item_simple_grid_field13} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="incluir">
	{$label w_faturados incluir }	{$arrow_icon_incluir}
	</SPAN>
	{END incluir_fieldheader}
{END incluir_fieldheadercolumn}

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

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

	 
		{BEGIN status_item_fieldheadercolumn}
	{BEGIN status_item_fieldheader}
	<SPAN {$status_item_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label3" {$item_grid_field_label3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status_item">
	{$label w_faturados status_item }	{$arrow_icon_status_item}
	</SPAN>
	{END status_item_fieldheader}
{END status_item_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field3}
				 
					{BEGIN cellblock_grid_headcell_field10}
	<th
	
	{$cell_grid_headcell_field10}
	{$recordattrs}
	class="
		 r-ori-vert				{$faturado_class}
			"

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

	 
		{BEGIN faturado_fieldheadercolumn}
	{BEGIN faturado_fieldheader}
	<SPAN {$faturado_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label4" {$item_grid_field_label4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="faturado">
	{$label w_faturados faturado }	{$arrow_icon_faturado}
	</SPAN>
	{END faturado_fieldheader}
{END faturado_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field10}
				 
					{BEGIN cellblock_grid_headcell_field11}
	<th
	
	{$cell_grid_headcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert				{$Faturamento_class}
			"

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

	 
		{BEGIN Faturamento_fieldheadercolumn}
	{BEGIN Faturamento_fieldheader}
	<SPAN {$Faturamento_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label5" {$item_grid_field_label5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Faturamento">
	{$label w_faturados Faturamento }	{$arrow_icon_Faturamento}
	</SPAN>
	{END Faturamento_fieldheader}
{END Faturamento_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field11}
							</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_faturados_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_faturados_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_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert				{$itemID_class}
			"

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

	 
		{BEGIN itemID_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="itemID" data-default-width >
{$itemID_value}
</span>
{END itemID_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
				 
					{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert				{$pedID_class}
			"

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

	 
		{BEGIN pedID_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pedID" data-default-width >
{$pedID_value}
</span>
{END pedID_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
				 
					{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$pdtoID_class}
			"

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

	 
		{BEGIN pdtoID_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2} data-pageid="{$pageid}" data-page="w_faturados_list" data-record-id="{$recId}" data-field="pdtoID" data-default-width >
{$pdtoID_value}
</span>
{END pdtoID_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
				 
					{BEGIN cellblock_grid_cell_field11}
	<td
	
	{$cell_grid_cell_field11}
	{$recordattrs}
	class="
		 r-ori-vert				{$componente_class}
			"

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

	 
		{BEGIN componente_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field2" {$item_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="componente" data-default-width >
{$componente_value}
</span>
{END componente_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field11}
				 
					{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$v_unit_class}
			"

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

	 
		{BEGIN v_unit_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="v_unit" data-default-width >
{$v_unit_value}
</span>
{END v_unit_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
				 
					{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_cell_field5}
				 
					{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$qtd_class}
			"

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

	 
		{BEGIN qtd_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field" {$item_grid_field} data-pageid="{$pageid}" data-page="w_faturados_list" data-record-id="{$recId}" data-field="qtd" data-default-width >
{$qtd_value}
</span>
{END qtd_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
				 
					{BEGIN cellblock_grid_cell_field7}
	<td
	
	{$cell_grid_cell_field7}
	{$recordattrs}
	class="
		 r-ori-vert				{$Subtotal_class}
			"

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

	 
		{BEGIN Subtotal_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field1" {$item_grid_field1} data-pageid="{$pageid}" data-page="w_faturados_list" data-record-id="{$recId}" data-field="Subtotal" data-default-width >
{$Subtotal_value}
</span>
{END Subtotal_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field7}
				 
					{BEGIN cellblock_grid_cell_field8}
	<td
	
	{$cell_grid_cell_field8}
	{$recordattrs}
	class="
		 r-ori-vert				{$entrega_class}
			"

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

	 
		{BEGIN entrega_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field5" {$item_simple_grid_field5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="entrega" data-default-width >
{$entrega_value}
</span>
{END entrega_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field8}
				 
					{BEGIN cellblock_grid_cell_field9}
	<td
	
	{$cell_grid_cell_field9}
	{$recordattrs}
	class="
		 r-ori-vert				{$incluir_class}
			"

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

	 
		{BEGIN incluir_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field6" {$item_simple_grid_field6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="incluir" data-default-width >
{$incluir_value}
</span>
{END incluir_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field9}
				 
					{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$status_item_class}
			"

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

	 
		{BEGIN status_item_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field3" {$item_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status_item" data-default-width >
{$status_item_value}
</span>
{END status_item_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
				 
					{BEGIN cellblock_grid_cell_field13}
	<td
	
	{$cell_grid_cell_field13}
	{$recordattrs}
	class="
		 r-ori-vert				{$faturado_class}
			"

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

	 
		{BEGIN faturado_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field4" {$item_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="faturado" data-default-width >
{$faturado_value}
</span>
{END faturado_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field13}
				 
					{BEGIN cellblock_grid_cell_field14}
	<td
	
	{$cell_grid_cell_field14}
	{$recordattrs}
	class="
		 r-ori-vert				{$Faturamento_class}
			"

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

	 
		{BEGIN Faturamento_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field5" {$item_grid_field5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="Faturamento" data-default-width >
{$Faturamento_value}
</span>
{END Faturamento_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field14}
							</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_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_faturados_list"		data-control-cell
	
	>

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

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

			data-field="pdtoID"
	
	data-cellId="grid_footcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	 
		{BEGIN pdtoID_fieldfootercolumn}
{BEGIN pdtoID_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="pdtoID">
	Itens:	{$pdtoID_total}
</span>
{END pdtoID_showtotal}
{END pdtoID_fieldfootercolumn}

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

	
	data-cellId="grid_cell_field12" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	
	</td>
	{END cellblock_grid_cell_field12}
				 
					{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_faturados_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="w_faturados_list"	
	>

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

			data-field="qtd"
	
	data-cellId="grid_footcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	 
		{BEGIN qtd_fieldfootercolumn}
{BEGIN qtd_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="qtd">
	Qtd./Total:	{$qtd_total}
</span>
{END qtd_showtotal}
{END qtd_fieldfootercolumn}

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

			data-field="Subtotal"
	
	data-cellId="grid_footcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	 
		{BEGIN Subtotal_fieldfootercolumn}
{BEGIN Subtotal_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="Subtotal">
	Fatura R$	{$Subtotal_total}
</span>
{END Subtotal_showtotal}
{END Subtotal_fieldfootercolumn}

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

	
	data-cellId="grid_footcell_field8" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field8}
				 
					{BEGIN cellblock_grid_footcell_field9}
	<td
	
	{$cell_grid_footcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field9" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field9}
				 
					{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_faturados_list"	
	>

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

	
	data-cellId="grid_footcell_field10" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field10}
				 
					{BEGIN cellblock_grid_footcell_field11}
	<td
	
	{$cell_grid_footcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_field11" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="w_faturados_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field11}
							</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>
