<!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}">
		{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-page="branch_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<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 branch 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-page="branch_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<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 message_back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>{mlang_message VIEW}</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>{mlang_message EDIT}</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</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}" data-page="branch_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

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


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

	<label class="r-edit-label control-label {$branch_uuid_label_class}" for="{$labelfor_branch_uuid}">
		{BEGIN branch_uuid_label}
			{$branch_uuid_forward_control}
			{$label branch branch_uuid }			{END branch_uuid_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$branch_uuid_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="branch_uuid" {$tooltipAttr branch branch_uuid } >
		<div class="text-muted" >
		{$tooltip branch branch_uuid }		</div>
	</div>
	</div>


{END branch_uuid_fieldblock}
											
{BEGIN branch_code_fieldblock}


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

	<label class="r-edit-label control-label {$branch_code_label_class}" for="{$labelfor_branch_code}">
		{BEGIN branch_code_label}
			{$branch_code_forward_control}
			{$label branch branch_code }			{END branch_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$branch_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="branch_code" {$tooltipAttr branch branch_code } >
		<div class="text-muted" >
		{$tooltip branch branch_code }		</div>
	</div>
	</div>


{END branch_code_fieldblock}
											
{BEGIN branch_name_fieldblock}


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

	<label class="r-edit-label control-label {$branch_name_label_class}" for="{$labelfor_branch_name}">
		{BEGIN branch_name_label}
			{$branch_name_forward_control}
			{$label branch branch_name }			{END branch_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$branch_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="branch_name" {$tooltipAttr branch branch_name } >
		<div class="text-muted" >
		{$tooltip branch branch_name }		</div>
	</div>
	</div>


{END branch_name_fieldblock}
											
{BEGIN bir_branch_code_fieldblock}


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

	<label class="r-edit-label control-label {$bir_branch_code_label_class}" for="{$labelfor_bir_branch_code}">
		{BEGIN bir_branch_code_label}
			{$bir_branch_code_forward_control}
			{$label branch bir_branch_code }			{END bir_branch_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$bir_branch_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="bir_branch_code" {$tooltipAttr branch bir_branch_code } >
		<div class="text-muted" >
		{$tooltip branch bir_branch_code }		</div>
	</div>
	</div>


{END bir_branch_code_fieldblock}
											
{BEGIN address_text_fieldblock}


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

	<label class="r-edit-label control-label {$address_text_label_class}" for="{$labelfor_address_text}">
		{BEGIN address_text_label}
			{$address_text_forward_control}
			{$label branch address_text }			{END address_text_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$address_text_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="address_text" {$tooltipAttr branch address_text } >
		<div class="text-muted" >
		{$tooltip branch address_text }		</div>
	</div>
	</div>


{END address_text_fieldblock}
											
{BEGIN is_head_office_fieldblock}


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

	<label class="r-edit-label control-label {$is_head_office_label_class}" for="{$labelfor_is_head_office}">
		{BEGIN is_head_office_label}
			{$is_head_office_forward_control}
			{$label branch is_head_office }			{END is_head_office_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$is_head_office_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="is_head_office" {$tooltipAttr branch is_head_office } >
		<div class="text-muted" >
		{$tooltip branch is_head_office }		</div>
	</div>
	</div>


{END is_head_office_fieldblock}
											
{BEGIN status_fieldblock}


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

	<label class="r-edit-label control-label {$status_label_class}" for="{$labelfor_status}">
		{BEGIN status_label}
			{$status_forward_control}
			{$label branch status }			{END status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="status" {$tooltipAttr branch status } >
		<div class="text-muted" >
		{$tooltip branch status }		</div>
	</div>
	</div>


{END status_fieldblock}
											
{BEGIN created_at_fieldblock}


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

	<label class="r-edit-label control-label {$created_at_label_class}" for="{$labelfor_created_at}">
		{BEGIN created_at_label}
			{$created_at_forward_control}
			{$label branch created_at }			{END created_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$created_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="created_at" {$tooltipAttr branch created_at } >
		<div class="text-muted" >
		{$tooltip branch created_at }		</div>
	</div>
	</div>


{END created_at_fieldblock}
											
{BEGIN updated_at_fieldblock}


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

	<label class="r-edit-label control-label {$updated_at_label_class}" for="{$labelfor_updated_at}">
		{BEGIN updated_at_label}
			{$updated_at_forward_control}
			{$label branch updated_at }			{END updated_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updated_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updated_at" {$tooltipAttr branch updated_at } >
		<div class="text-muted" >
		{$tooltip branch updated_at }		</div>
	</div>
	</div>


{END updated_at_fieldblock}
											
{BEGIN company_id_fieldblock}


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

	<label class="r-edit-label control-label {$company_id_label_class}" for="{$labelfor_company_id}">
		{BEGIN company_id_label}
			{$company_id_forward_control}
			{$label branch company_id }			{END company_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$company_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="company_id" {$tooltipAttr branch company_id } >
		<div class="text-muted" >
		{$tooltip branch company_id }		</div>
	</div>
	</div>


{END company_id_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</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-page="branch_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<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} >
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
							{mlang_message RESET}			</a>
</span>
{END reset_button}
	 
		{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}" >
							{mlang_message BACK_TO_LIST}			</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}" >
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
