<!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-edit" {$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="6"
	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="edit_header" data-itemid="edit_header" {$item_edit_header} data-pageid="{$pageid}" >{$pagetitlelabel Vinha edit}</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="6"
	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
	">
	 
		<div data-itemtype="edit_message" data-itemid="edit_message" {$item_edit_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}>Mostrar</button>
{END view_page_button}
</div>
</div>
	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												{BEGIN mastertable_block}
<div data-itemtype="master_info" data-itemid="master_info" {$item_master_info} data-pageid="{$pageid}">
	{$showmasterfile}
</div>
{END mastertable_block}											<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} 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_grid_c4}
<td
	{$cell_grid_c4}
	class=" r-ori-vert"
	
				data-fullwidth
		
	ocolspan="3"		data-cellId="grid_c4" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN Pago20__fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Pago20_}">
		{BEGIN Pago20__label}{$label Vinha Pago20_ }{END Pago20__label}
	</label>
	<div class="r-edit-field">
		{$Pago20__editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Pago20_">
		<div class="text-muted" >
		{$tooltip Vinha Pago20_ }		</div>
	</div>
</div>


{END Pago20__fieldblock}
											
{BEGIN Encomendado_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Encomendado}">
		{BEGIN Encomendado_label}{$label Vinha Encomendado }{END Encomendado_label}
	</label>
	<div class="r-edit-field">
		{$Encomendado_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Encomendado">
		<div class="text-muted" >
		{$tooltip Vinha Encomendado }		</div>
	</div>
</div>


{END Encomendado_fieldblock}
											
{BEGIN PagoTotal_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_PagoTotal}">
		{BEGIN PagoTotal_label}{$label Vinha PagoTotal }{END PagoTotal_label}
	</label>
	<div class="r-edit-field">
		{$PagoTotal_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="PagoTotal">
		<div class="text-muted" >
		{$tooltip Vinha PagoTotal }		</div>
	</div>
</div>


{END PagoTotal_fieldblock}
											
{BEGIN Fornecido_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Fornecido}">
		{BEGIN Fornecido_label}{$label Vinha Fornecido }{END Fornecido_label}
	</label>
	<div class="r-edit-field">
		{$Fornecido_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Fornecido">
		<div class="text-muted" >
		{$tooltip Vinha Fornecido }		</div>
	</div>
</div>


{END Fornecido_fieldblock}
	
								</td>
			{END cellblock_grid_c4}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN NEntrega_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_NEntrega}  r-vertical-field" 
	data-fieldname="NEntrega" 
	data-signal-error-for="NEntrega{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field10" {$item_integrated_edit_field10} data-pageid="{$pageid}" data-field="NEntrega" >


	<label class="r-edit-label control-label" for="{$labelfor_NEntrega}">
		{BEGIN NEntrega_label}{$label Vinha NEntrega }{END NEntrega_label}
	</label>
	<div class="r-edit-field">
		{$NEntrega_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="NEntrega">
		<div class="text-muted" >
		{$tooltip Vinha NEntrega }		</div>
	</div>
</div>


{END NEntrega_fieldblock}
											
{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 Vinha 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" >
		{$tooltip Vinha Data }		</div>
	</div>
</div>


{END Data_fieldblock}
											
{BEGIN CodCliente_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_CodCliente}">
		{BEGIN CodCliente_label}{$label Vinha CodCliente }{END CodCliente_label}
	</label>
	<div class="r-edit-field">
		{$CodCliente_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="CodCliente">
		<div class="text-muted" >
		{$tooltip Vinha CodCliente }		</div>
	</div>
</div>


{END CodCliente_fieldblock}
											
{BEGIN Confirmado_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Confirmado}">
		{BEGIN Confirmado_label}{$label Vinha Confirmado }{END Confirmado_label}
	</label>
	<div class="r-edit-field">
		{$Confirmado_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Confirmado">
		<div class="text-muted" >
		{$tooltip Vinha Confirmado }		</div>
	</div>
</div>


{END Confirmado_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
			 
																

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN Escolha_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Escolha}  r-vertical-field" 
	data-fieldname="Escolha" 
	data-signal-error-for="Escolha{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field17" {$item_integrated_edit_field17} data-pageid="{$pageid}" data-field="Escolha" >


	<label class="r-edit-label control-label" for="{$labelfor_Escolha}">
		{BEGIN Escolha_label}{$label Vinha Escolha }{END Escolha_label}
	</label>
	<div class="r-edit-field">
		{$Escolha_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Escolha">
		<div class="text-muted" >
		{$tooltip Vinha Escolha }		</div>
	</div>
</div>


{END Escolha_fieldblock}
											
{BEGIN Saldo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Saldo}  r-vertical-field" 
	data-fieldname="Saldo" 
	data-signal-error-for="Saldo{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field14" {$item_integrated_edit_field14} data-pageid="{$pageid}" data-field="Saldo" >


	<label class="r-edit-label control-label" for="{$labelfor_Saldo}">
		{BEGIN Saldo_label}{$label Vinha Saldo }{END Saldo_label}
	</label>
	<div class="r-edit-field">
		{$Saldo_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Saldo">
		<div class="text-muted" >
		{$tooltip Vinha Saldo }		</div>
	</div>
</div>


{END Saldo_fieldblock}
											
{BEGIN Saldo1_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Saldo1}  r-vertical-field" 
	data-fieldname="Saldo1" 
	data-signal-error-for="Saldo1{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field16" {$item_integrated_edit_field16} data-pageid="{$pageid}" data-field="Saldo1" >


	<label class="r-edit-label control-label" for="{$labelfor_Saldo1}">
		{BEGIN Saldo1_label}{$label Vinha Saldo1 }{END Saldo1_label}
	</label>
	<div class="r-edit-field">
		{$Saldo1_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Saldo1">
		<div class="text-muted" >
		{$tooltip Vinha Saldo1 }		</div>
	</div>
</div>


{END Saldo1_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
			 
																

{BEGIN cellblock_grid_c}
<td
	{$cell_grid_c}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN CodMarza_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_CodMarza}  r-vertical-field" 
	data-fieldname="CodMarza" 
	data-signal-error-for="CodMarza{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field15" {$item_integrated_edit_field15} data-pageid="{$pageid}" data-field="CodMarza" >


	<label class="r-edit-label control-label" for="{$labelfor_CodMarza}">
		{BEGIN CodMarza_label}{$label Vinha CodMarza }{END CodMarza_label}
	</label>
	<div class="r-edit-field">
		{$CodMarza_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="CodMarza">
		<div class="text-muted" >
		{$tooltip Vinha CodMarza }		</div>
	</div>
</div>


{END CodMarza_fieldblock}
											
{BEGIN PE_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_PE}  r-vertical-field" 
	data-fieldname="PE" 
	data-signal-error-for="PE{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field11" {$item_integrated_edit_field11} data-pageid="{$pageid}" data-field="PE" >


	<label class="r-edit-label control-label" for="{$labelfor_PE}">
		{BEGIN PE_label}{$label Vinha PE }{END PE_label}
	</label>
	<div class="r-edit-field">
		{$PE_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="PE">
		<div class="text-muted" >
		{$tooltip Vinha PE }		</div>
	</div>
</div>


{END PE_fieldblock}
											
{BEGIN Clone_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Clone}  r-vertical-field" 
	data-fieldname="Clone" 
	data-signal-error-for="Clone{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field12" {$item_integrated_edit_field12} data-pageid="{$pageid}" data-field="Clone" >


	<label class="r-edit-label control-label" for="{$labelfor_Clone}">
		{BEGIN Clone_label}{$label Vinha Clone }{END Clone_label}
	</label>
	<div class="r-edit-field">
		{$Clone_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Clone">
		<div class="text-muted" >
		{$tooltip Vinha Clone }		</div>
	</div>
</div>


{END Clone_fieldblock}
											
{BEGIN CodPlanta_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_CodPlanta}">
		{BEGIN CodPlanta_label}{$label Vinha CodPlanta }{END CodPlanta_label}
	</label>
	<div class="r-edit-field">
		{$CodPlanta_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="CodPlanta">
		<div class="text-muted" >
		{$tooltip Vinha CodPlanta }		</div>
	</div>
</div>


{END CodPlanta_fieldblock}
											
{BEGIN Quantidade_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Quantidade}">
		{BEGIN Quantidade_label}{$label Vinha Quantidade }{END Quantidade_label}
	</label>
	<div class="r-edit-field">
		{$Quantidade_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Quantidade">
		<div class="text-muted" >
		{$tooltip Vinha Quantidade }		</div>
	</div>
</div>


{END Quantidade_fieldblock}
											
{BEGIN NE_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_NE}  r-vertical-field" 
	data-fieldname="NE" 
	data-signal-error-for="NE{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field13" {$item_integrated_edit_field13} data-pageid="{$pageid}" data-field="NE" >


	<label class="r-edit-label control-label" for="{$labelfor_NE}">
		{BEGIN NE_label}{$label Vinha NE }{END NE_label}
	</label>
	<div class="r-edit-field">
		{$NE_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="NE">
		<div class="text-muted" >
		{$tooltip Vinha NE }		</div>
	</div>
</div>


{END NE_fieldblock}
	
								</td>
			{END cellblock_grid_c}
								</tr>
			</tbody></table>
{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="6"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-6
	">
	 
		{BEGIN save_edit}
<span data-itemtype="edit_save" data-itemid="edit_save" {$item_edit_save} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							Guardar			</a>
</span>
{END save_edit}
	 
		{BEGIN save_update}
<span data-itemtype="update_records" data-itemid="update_records" {$item_update_records} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
				 
			{$update_records_label}	
			</a>
</span>
{END save_update}
	 
		{BEGIN back_button}
<span data-itemtype="edit_back_list" data-itemid="edit_back_list" {$item_edit_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$backbutton_attrs} >
							Voltar à Lista			</a>
</span>
{END back_button}
	 
		{BEGIN close_button}
<span data-itemtype="edit_close" data-itemid="edit_close" {$item_edit_close} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$closebutton_attrs} >
							Cancelar			</a>
</span>
{END close_button}
	</div>			 
				<div 
	data-cellId="below-grid_c2" data-pageid="{$pageid}"	{$cell_below-grid_c2}
	class="r-align-right r-ori-vert			col-md-6
	">
	 
		<span data-itemtype="hamburger" data-itemid="hamburger" {$item_hamburger} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown dropup">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-menu-hamburger"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
								<li data-itemtype="edit_reset" data-itemid="edit_reset" {$item_edit_reset} data-pageid="{$pageid}" data-small >
				<a  {$resetbutton_attrs}  title="" >
				
		Limpar		
		</a>
	</li>
							{BEGIN view_page_button}
	<li data-itemtype="edit_view" data-itemid="edit_view" {$item_edit_view} data-pageid="{$pageid}" data-small >
				<a  {$view_page_button_attrs}  title="" >
				
		Mostrar		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
