<!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-add" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}"
		data-v-width="2"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="add_header" data-itemid="add_header" {$item_add_header} data-pageid="{$pageid}" >{$pagetitlelabel dbw_precocalc add}</h2>
	</div>					</div>
	</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}"
		data-v-width="2"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_message} data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>Voltar à Lista</button>
	{END back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>Exibir</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>Editar</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="section2" {$item_section2} data-pageid="{$pageid}">
		<div class="panel-heading" role="tab" {$section_section1_headattrs} data-toggle="collapse"   

				href="#section1{$pageid}" aria-expanded="true" aria-controls="section1"

		>
		  <h4 class="panel-title">
			<a role="button" >
				Base de calculo:			</a>
		  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section1_xtrclass}" role="tabpanel"  {$section_section1_attrs}

				id="section1{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section2_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section2" id="form_section2_{$pageid}" data-makeup="small" {$form_section2} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="4"
		
		data-v-width="7"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_section2_c1}
<td
	{$cell_section2_c1}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section2_c1" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN data_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_data}  r-vertical-field" 
	data-fieldname="data" 
	data-signal-error-for="data{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1} data-pageid="{$pageid}" data-field="data" >


	<label class="r-edit-label control-label" for="{$labelfor_data}">
		{BEGIN data_label}{$label dbw_precocalc data }{END data_label}
	</label>
	<div class="r-edit-field">
		{$data_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="data">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END data_fieldblock}
	
								</td>
			{END cellblock_section2_c1}
			 
																

{BEGIN cellblock_section2_c3}
<td
	{$cell_section2_c3}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section2_c3" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN versao_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_versao}  r-vertical-field" 
	data-fieldname="versao" 
	data-signal-error-for="versao{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2} data-pageid="{$pageid}" data-field="versao" >


	<label class="r-edit-label control-label" for="{$labelfor_versao}">
		{BEGIN versao_label}{$label dbw_precocalc versao }{END versao_label}
	</label>
	<div class="r-edit-field">
		{$versao_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="versao">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END versao_fieldblock}
	
								</td>
			{END cellblock_section2_c3}
			 
																

{BEGIN cellblock_section2_c2}
<td
	{$cell_section2_c2}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section2_c2" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN markup_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_markup}  r-vertical-field" 
	data-fieldname="markup" 
	data-signal-error-for="markup{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field} data-pageid="{$pageid}" data-field="markup" >


	<label class="r-edit-label control-label" for="{$labelfor_markup}">
		{BEGIN markup_label}{$label dbw_precocalc markup }{END markup_label}
	</label>
	<div class="r-edit-field">
		{$markup_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="markup">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END markup_fieldblock}
	
								</td>
			{END cellblock_section2_c2}
			 
		
							

{BEGIN cellblock_section2_c}
<td
	{$cell_section2_c}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section2_c" data-pageid="{$pageid}"
		data-v-cell="1"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_section2_c}
								</tr>
			</tbody></table>
{END section2_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="section" {$item_section} data-pageid="{$pageid}">
		<div class="panel-heading" role="tab" {$section_section2_headattrs} data-toggle="collapse"   

				href="#section2{$pageid}" aria-expanded="true" aria-controls="section2"

		>
		  <h4 class="panel-title">
			<a role="button" >
				Custo de materiais			</a>
		  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section2_xtrclass}" role="tabpanel"  {$section_section2_attrs}

				id="section2{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section" id="form_section_{$pageid}" data-makeup="small" {$form_section} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="5"
		
		data-v-width="9"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_section_c5}
<td
	{$cell_section_c5}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section_c5" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN componente_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_componente}  r-vertical-field" 
	data-fieldname="componente" 
	data-signal-error-for="componente{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3} data-pageid="{$pageid}" data-field="componente" >


	<label class="r-edit-label control-label" for="{$labelfor_componente}">
		{BEGIN componente_label}{$label dbw_precocalc componente }{END componente_label}
	</label>
	<div class="r-edit-field">
		{$componente_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="componente">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END componente_fieldblock}
	
								</td>
			{END cellblock_section_c5}
			 
																

{BEGIN cellblock_section_c6}
<td
	{$cell_section_c6}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section_c6" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN material_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_material}  r-vertical-field" 
	data-fieldname="material" 
	data-signal-error-for="material{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field4" {$item_integrated_edit_field4} data-pageid="{$pageid}" data-field="material" >


	<label class="r-edit-label control-label" for="{$labelfor_material}">
		{BEGIN material_label}{$label dbw_precocalc material }{END material_label}
	</label>
	<div class="r-edit-field">
		{$material_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="material">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END material_fieldblock}
	
								</td>
			{END cellblock_section_c6}
			 
																

{BEGIN cellblock_section_c7}
<td
	{$cell_section_c7}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section_c7" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN consumo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_consumo}  r-vertical-field" 
	data-fieldname="consumo" 
	data-signal-error-for="consumo{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5} data-pageid="{$pageid}" data-field="consumo" >


	<label class="r-edit-label control-label" for="{$labelfor_consumo}">
		{BEGIN consumo_label}{$label dbw_precocalc consumo }{END consumo_label}
	</label>
	<div class="r-edit-field">
		{$consumo_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="consumo">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END consumo_fieldblock}
	
								</td>
			{END cellblock_section_c7}
			 
																

{BEGIN cellblock_section_c8}
<td
	{$cell_section_c8}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section_c8" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN quebra_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_quebra}  r-vertical-field" 
	data-fieldname="quebra" 
	data-signal-error-for="quebra{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field6" {$item_integrated_edit_field6} data-pageid="{$pageid}" data-field="quebra" >


	<label class="r-edit-label control-label" for="{$labelfor_quebra}">
		{BEGIN quebra_label}{$label dbw_precocalc quebra }{END quebra_label}
	</label>
	<div class="r-edit-field">
		{$quebra_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="quebra">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END quebra_fieldblock}
	
								</td>
			{END cellblock_section_c8}
			 
		
							

{BEGIN cellblock_section_c9}
<td
	{$cell_section_c9}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section_c9" data-pageid="{$pageid}"
		data-v-cell="1"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_section_c9}
								</tr>
			</tbody></table>
{END section_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="section1" {$item_section1} data-pageid="{$pageid}">
		<div class="panel-heading" role="tab" {$section_section3_headattrs} data-toggle="collapse"   

				href="#section3{$pageid}" aria-expanded="true" aria-controls="section3"

		>
		  <h4 class="panel-title">
			<a role="button" >
				Custo de mão de obra			</a>
		  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section3_xtrclass}" role="tabpanel"  {$section_section3_attrs}

				id="section3{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section1_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section1" id="form_section1_{$pageid}" data-makeup="small" {$form_section1} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="3"
		
		data-v-width="6"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_section1_c1}
<td
	{$cell_section1_c1}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section1_c1" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN divisao_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_divisao}  r-vertical-field" 
	data-fieldname="divisao" 
	data-signal-error-for="divisao{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field9" {$item_integrated_edit_field9} data-pageid="{$pageid}" data-field="divisao" >


	<label class="r-edit-label control-label" for="{$labelfor_divisao}">
		{BEGIN divisao_label}{$label dbw_precocalc divisao }{END divisao_label}
	</label>
	<div class="r-edit-field">
		{$divisao_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="divisao">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END divisao_fieldblock}
	
								</td>
			{END cellblock_section1_c1}
			 
																

{BEGIN cellblock_section1_c2}
<td
	{$cell_section1_c2}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section1_c2" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN tempo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_tempo}  r-vertical-field" 
	data-fieldname="tempo" 
	data-signal-error-for="tempo{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field7" {$item_integrated_edit_field7} data-pageid="{$pageid}" data-field="tempo" >


	<label class="r-edit-label control-label" for="{$labelfor_tempo}">
		{BEGIN tempo_label}{$label dbw_precocalc tempo }{END tempo_label}
	</label>
	<div class="r-edit-field">
		{$tempo_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="tempo">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END tempo_fieldblock}
	
								</td>
			{END cellblock_section1_c2}
			 
																

{BEGIN cellblock_section1_c}
<td
	{$cell_section1_c}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="section1_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN txo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_txo}  r-vertical-field" 
	data-fieldname="txo" 
	data-signal-error-for="txo{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8} data-pageid="{$pageid}" data-field="txo" >


	<label class="r-edit-label control-label" for="{$labelfor_txo}">
		{BEGIN txo_label}{$label dbw_precocalc txo }{END txo_label}
	</label>
	<div class="r-edit-field">
		{$txo_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="txo">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END txo_fieldblock}
	
								</td>
			{END cellblock_section1_c}
								</tr>
			</tbody></table>
{END section1_block}
		  </div>
		</div>
	</div>
	
				{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}"
		data-v-width="2"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							Salvar			</a>
</span>
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
							Voltar à Lista			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_cancel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							Cancela			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
