<!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-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-page="supplier_bill_edit"
		data-v-width="4"
	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 supplier_bill 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-page="supplier_bill_edit"
		data-v-width="4"
	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 message_back_button}
			<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN message_view_page_button}
		<a class="btn btn-sm btn-default" href="supplier_bill_view.php?{$editlink}" {$view_page_button_attrs}>{mlang_message VIEW}</a>
{END message_view_page_button}
</div>
</div>
	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="supplier_bill_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{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">
				 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_supplier" {$item_bl_sb_supplier}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<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" >
				Supplier  			</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 section_block}




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

{BEGIN cellblock_section_c1}
<td
	{$cell_section_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section_c1" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN supplier_id_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_id_label_class}" for="{$labelfor_supplier_id}">
		{BEGIN supplier_id_label}
			{$supplier_id_forward_control}
			{$label supplier_bill supplier_id }			{END supplier_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_id" {$tooltipAttr supplier_bill supplier_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill supplier_id }		</div>
	</div>
	</div>


{END supplier_id_fieldblock}
											
{BEGIN supplier_name_snapshot_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_name_snapshot_label_class}" for="{$labelfor_supplier_name_snapshot}">
		{BEGIN supplier_name_snapshot_label}
			{$supplier_name_snapshot_forward_control}
			{$label supplier_bill supplier_name_snapshot }			{END supplier_name_snapshot_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_name_snapshot_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_name_snapshot" {$tooltipAttr supplier_bill supplier_name_snapshot } >
		<div class="text-muted" >
		{$tooltip supplier_bill supplier_name_snapshot }		</div>
	</div>
	</div>


{END supplier_name_snapshot_fieldblock}
											
{BEGIN supplier_tin_snapshot_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_tin_snapshot_label_class}" for="{$labelfor_supplier_tin_snapshot}">
		{BEGIN supplier_tin_snapshot_label}
			{$supplier_tin_snapshot_forward_control}
			{$label supplier_bill supplier_tin_snapshot }			{END supplier_tin_snapshot_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_tin_snapshot_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_tin_snapshot" {$tooltipAttr supplier_bill supplier_tin_snapshot } >
		<div class="text-muted" >
		{$tooltip supplier_bill supplier_tin_snapshot }		</div>
	</div>
	</div>


{END supplier_tin_snapshot_fieldblock}
	
								</td>
			{END cellblock_section_c1}
								</tr>
			</tbody></table>
{END section_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_remarks" {$item_bl_sb_remarks}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<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" >
				Remarks  			</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 section1_block}




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

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


<div class="r-integrated-field form-group clearfix {$fielddispclass_remarks}  r-vertical-field" 
	data-signal-error-for="remarks{$id}" {$required_attr_remarks}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field29" {$item_integrated_edit_field29}="" data-pageid="{$pageid}" data-field="remarks" data-fieldname="remarks" >

	<label class="r-edit-label control-label {$remarks_label_class}" for="{$labelfor_remarks}">
		{BEGIN remarks_label}
			{$remarks_forward_control}
			{$label supplier_bill remarks }			{END remarks_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$remarks_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="remarks" {$tooltipAttr supplier_bill remarks } >
		<div class="text-muted" >
		{$tooltip supplier_bill remarks }		</div>
	</div>
	</div>


{END remarks_fieldblock}
	
								</td>
			{END cellblock_section1_c1}
								</tr>
			</tbody></table>
{END section1_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_advanced" {$item_bl_sb_advanced}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<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" >
				Advanced / Dimensions			</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 section2_block}




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

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


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

	<label class="r-edit-label control-label {$department_id_label_class}" for="{$labelfor_department_id}">
		{BEGIN department_id_label}
			{$department_id_forward_control}
			{$label supplier_bill department_id }			{END department_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$department_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="department_id" {$tooltipAttr supplier_bill department_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill department_id }		</div>
	</div>
	</div>


{END department_id_fieldblock}
											
{BEGIN cost_center_id_fieldblock}


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

	<label class="r-edit-label control-label {$cost_center_id_label_class}" for="{$labelfor_cost_center_id}">
		{BEGIN cost_center_id_label}
			{$cost_center_id_forward_control}
			{$label supplier_bill cost_center_id }			{END cost_center_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cost_center_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cost_center_id" {$tooltipAttr supplier_bill cost_center_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill cost_center_id }		</div>
	</div>
	</div>


{END cost_center_id_fieldblock}
											
{BEGIN project_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_project_id}  r-vertical-field" 
	data-signal-error-for="project_id{$id}" {$required_attr_project_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field18" {$item_integrated_edit_field18}="" data-pageid="{$pageid}" data-field="project_id" data-fieldname="project_id" >

	<label class="r-edit-label control-label {$project_id_label_class}" for="{$labelfor_project_id}">
		{BEGIN project_id_label}
			{$project_id_forward_control}
			{$label supplier_bill project_id }			{END project_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$project_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="project_id" {$tooltipAttr supplier_bill project_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill project_id }		</div>
	</div>
	</div>


{END project_id_fieldblock}
											
{BEGIN project_task_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_project_task_id}  r-vertical-field" 
	data-signal-error-for="project_task_id{$id}" {$required_attr_project_task_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field19" {$item_integrated_edit_field19}="" data-pageid="{$pageid}" data-field="project_task_id" data-fieldname="project_task_id" >

	<label class="r-edit-label control-label {$project_task_id_label_class}" for="{$labelfor_project_task_id}">
		{BEGIN project_task_id_label}
			{$project_task_id_forward_control}
			{$label supplier_bill project_task_id }			{END project_task_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$project_task_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="project_task_id" {$tooltipAttr supplier_bill project_task_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill project_task_id }		</div>
	</div>
	</div>


{END project_task_id_fieldblock}
	
								</td>
			{END cellblock_section2_c1}
								</tr>
			</tbody></table>
{END section2_block}
		  </div>
		</div>
	</div>
	
								</td>
			{END cellblock_grid_c3}
			 
																

{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">
				 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_document" {$item_bl_sb_document}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<div class="panel-heading" role="tab" {$section_section4_headattrs} 
			data-toggle="collapse"  

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

		>
		  <h4 class="panel-title">
		  				<a role="button" >
				Document			</a>
					  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section4_xtrclass}" role="tabpanel"  {$section_section4_attrs}

				id="section4{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section3_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section3" id="form_section3_{$pageid}" data-makeup="small" {$form_section3} data-pageid="{$pageid}" data-page="supplier_bill_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_section3_0} >
										

{BEGIN cellblock_section3_c1}
<td
	{$cell_section3_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section3_c1" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN bill_no_fieldblock}


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

	<label class="r-edit-label control-label {$bill_no_label_class}" for="{$labelfor_bill_no}">
		{BEGIN bill_no_label}
			{$bill_no_forward_control}
			{$label supplier_bill bill_no }			{END bill_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$bill_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="bill_no" {$tooltipAttr supplier_bill bill_no } >
		<div class="text-muted" >
		{$tooltip supplier_bill bill_no }		</div>
	</div>
	</div>


{END bill_no_fieldblock}
											
{BEGIN branch_id_fieldblock}


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

	<label class="r-edit-label control-label {$branch_id_label_class}" for="{$labelfor_branch_id}">
		{BEGIN branch_id_label}
			{$branch_id_forward_control}
			{$label supplier_bill branch_id }			{END branch_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$branch_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="branch_id" {$tooltipAttr supplier_bill branch_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill branch_id }		</div>
	</div>
	</div>


{END branch_id_fieldblock}
											
{BEGIN document_type_fieldblock}


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

	<label class="r-edit-label control-label {$document_type_label_class}" for="{$labelfor_document_type}">
		{BEGIN document_type_label}
			{$document_type_forward_control}
			{$label supplier_bill document_type }			{END document_type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$document_type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="document_type" {$tooltipAttr supplier_bill document_type } >
		<div class="text-muted" >
		{$tooltip supplier_bill document_type }		</div>
	</div>
	</div>


{END document_type_fieldblock}
											
{BEGIN supplier_invoice_no_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_invoice_no_label_class}" for="{$labelfor_supplier_invoice_no}">
		{BEGIN supplier_invoice_no_label}
			{$supplier_invoice_no_forward_control}
			{$label supplier_bill supplier_invoice_no }			{END supplier_invoice_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_invoice_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_invoice_no" {$tooltipAttr supplier_bill supplier_invoice_no } >
		<div class="text-muted" >
		{$tooltip supplier_bill supplier_invoice_no }		</div>
	</div>
	</div>


{END supplier_invoice_no_fieldblock}
											
{BEGIN bill_date_fieldblock}


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

	<label class="r-edit-label control-label {$bill_date_label_class}" for="{$labelfor_bill_date}">
		{BEGIN bill_date_label}
			{$bill_date_forward_control}
			{$label supplier_bill bill_date }			{END bill_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$bill_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="bill_date" {$tooltipAttr supplier_bill bill_date } >
		<div class="text-muted" >
		{$tooltip supplier_bill bill_date }		</div>
	</div>
	</div>


{END bill_date_fieldblock}
											
{BEGIN due_date_fieldblock}


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

	<label class="r-edit-label control-label {$due_date_label_class}" for="{$labelfor_due_date}">
		{BEGIN due_date_label}
			{$due_date_forward_control}
			{$label supplier_bill due_date }			{END due_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$due_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="due_date" {$tooltipAttr supplier_bill due_date } >
		<div class="text-muted" >
		{$tooltip supplier_bill due_date }		</div>
	</div>
	</div>


{END due_date_fieldblock}
	
								</td>
			{END cellblock_section3_c1}
								</tr>
			</tbody></table>
{END section3_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_currency" {$item_bl_sb_currency}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<div class="panel-heading" role="tab" {$section_section5_headattrs} 
			data-toggle="collapse"  

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

		>
		  <h4 class="panel-title">
		  				<a role="button" >
				Currency			</a>
					  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section5_xtrclass}" role="tabpanel"  {$section_section5_attrs}

				id="section5{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section4_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section4" id="form_section4_{$pageid}" data-makeup="small" {$form_section4} data-pageid="{$pageid}" data-page="supplier_bill_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_section4_0} >
										

{BEGIN cellblock_section4_c1}
<td
	{$cell_section4_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section4_c1" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN currency_code_fieldblock}


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

	<label class="r-edit-label control-label {$currency_code_label_class}" for="{$labelfor_currency_code}">
		{BEGIN currency_code_label}
			{$currency_code_forward_control}
			{$label supplier_bill currency_code }			{END currency_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$currency_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="currency_code" {$tooltipAttr supplier_bill currency_code } >
		<div class="text-muted" >
		{$tooltip supplier_bill currency_code }		</div>
	</div>
	</div>


{END currency_code_fieldblock}
											
{BEGIN exchange_rate_fieldblock}


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

	<label class="r-edit-label control-label {$exchange_rate_label_class}" for="{$labelfor_exchange_rate}">
		{BEGIN exchange_rate_label}
			{$exchange_rate_forward_control}
			{$label supplier_bill exchange_rate }			{END exchange_rate_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$exchange_rate_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="exchange_rate" {$tooltipAttr supplier_bill exchange_rate } >
		<div class="text-muted" >
		{$tooltip supplier_bill exchange_rate }		</div>
	</div>
	</div>


{END exchange_rate_fieldblock}
	
								</td>
			{END cellblock_section4_c1}
								</tr>
			</tbody></table>
{END section4_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sb_summary" {$item_bl_sb_summary}="" data-pageid="{$pageid}" data-page="supplier_bill_edit">
		<div class="panel-heading" role="tab" {$section_section6_headattrs} 
			data-toggle="collapse"  

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

		>
		  <h4 class="panel-title">
		  				<a role="button" >
				Bill Summary			</a>
					  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section6_xtrclass}" role="tabpanel"  {$section_section6_attrs}

				id="section6{$pageid}" 
		>
		  <div class="panel-body">
			{BEGIN section5_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section5" id="form_section5_{$pageid}" data-makeup="small" {$form_section5} data-pageid="{$pageid}" data-page="supplier_bill_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_section5_0} >
										

{BEGIN cellblock_section5_c1}
<td
	{$cell_section5_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section5_c1" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN subtotal_amount_fieldblock}


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

	<label class="r-edit-label control-label {$subtotal_amount_label_class}" for="{$labelfor_subtotal_amount}">
		{BEGIN subtotal_amount_label}
			{$subtotal_amount_forward_control}
			{$label supplier_bill subtotal_amount }			{END subtotal_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$subtotal_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="subtotal_amount" {$tooltipAttr supplier_bill subtotal_amount } >
		<div class="text-muted" >
		{$tooltip supplier_bill subtotal_amount }		</div>
	</div>
	</div>


{END subtotal_amount_fieldblock}
											
{BEGIN discount_amount_fieldblock}


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

	<label class="r-edit-label control-label {$discount_amount_label_class}" for="{$labelfor_discount_amount}">
		{BEGIN discount_amount_label}
			{$discount_amount_forward_control}
			{$label supplier_bill discount_amount }			{END discount_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$discount_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="discount_amount" {$tooltipAttr supplier_bill discount_amount } >
		<div class="text-muted" >
		{$tooltip supplier_bill discount_amount }		</div>
	</div>
	</div>


{END discount_amount_fieldblock}
											
{BEGIN input_vat_amount_fieldblock}


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

	<label class="r-edit-label control-label {$input_vat_amount_label_class}" for="{$labelfor_input_vat_amount}">
		{BEGIN input_vat_amount_label}
			{$input_vat_amount_forward_control}
			{$label supplier_bill input_vat_amount }			{END input_vat_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$input_vat_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="input_vat_amount" {$tooltipAttr supplier_bill input_vat_amount } >
		<div class="text-muted" >
		{$tooltip supplier_bill input_vat_amount }		</div>
	</div>
	</div>


{END input_vat_amount_fieldblock}
											
{BEGIN withholding_amount_fieldblock}


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

	<label class="r-edit-label control-label {$withholding_amount_label_class}" for="{$labelfor_withholding_amount}">
		{BEGIN withholding_amount_label}
			{$withholding_amount_forward_control}
			{$label supplier_bill withholding_amount }			{END withholding_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$withholding_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="withholding_amount" {$tooltipAttr supplier_bill withholding_amount } >
		<div class="text-muted" >
		{$tooltip supplier_bill withholding_amount }		</div>
	</div>
	</div>


{END withholding_amount_fieldblock}
											
{BEGIN grand_total_amount_fieldblock}


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

	<label class="r-edit-label control-label {$grand_total_amount_label_class}" for="{$labelfor_grand_total_amount}">
		{BEGIN grand_total_amount_label}
			{$grand_total_amount_forward_control}
			{$label supplier_bill grand_total_amount }			{END grand_total_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$grand_total_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="grand_total_amount" {$tooltipAttr supplier_bill grand_total_amount } >
		<div class="text-muted" >
		{$tooltip supplier_bill grand_total_amount }		</div>
	</div>
	</div>


{END grand_total_amount_fieldblock}
											
{BEGIN document_status_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_document_status}  r-vertical-field" 
	data-signal-error-for="document_status{$id}" {$required_attr_document_status}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field20" {$item_integrated_edit_field20}="" data-pageid="{$pageid}" data-field="document_status" data-fieldname="document_status" >

	<label class="r-edit-label control-label {$document_status_label_class}" for="{$labelfor_document_status}">
		{BEGIN document_status_label}
			{$document_status_forward_control}
			{$label supplier_bill document_status }			{END document_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$document_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="document_status" {$tooltipAttr supplier_bill document_status } >
		<div class="text-muted" >
		{$tooltip supplier_bill document_status }		</div>
	</div>
	</div>


{END document_status_fieldblock}
											
{BEGIN posting_status_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_posting_status}  r-vertical-field" 
	data-signal-error-for="posting_status{$id}" {$required_attr_posting_status}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field21" {$item_integrated_edit_field21}="" data-pageid="{$pageid}" data-field="posting_status" data-fieldname="posting_status" >

	<label class="r-edit-label control-label {$posting_status_label_class}" for="{$labelfor_posting_status}">
		{BEGIN posting_status_label}
			{$posting_status_forward_control}
			{$label supplier_bill posting_status }			{END posting_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$posting_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="posting_status" {$tooltipAttr supplier_bill posting_status } >
		<div class="text-muted" >
		{$tooltip supplier_bill posting_status }		</div>
	</div>
	</div>


{END posting_status_fieldblock}
	
								</td>
			{END cellblock_section5_c1}
								</tr>
			</tbody></table>
{END section5_block}
		  </div>
		</div>
	</div>
	
								</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
																</tbody></table>
				
{BEGIN details_supplier_bill_detail}
<div data-itemtype="details_preview" data-itemid="details_preview" {$item_details_preview}="" data-pageid="{$pageid}" class="bs-details"> 
	<div class="panel panel-info details-grid">
		<div class="panel-heading">
			<h4 class="panel-title">
							{$details_pagetitle_supplier_bill_detail}			
							<span>
					{$detailslButtons_supplier_bill_detail}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_supplier_bill_detail}
		</div>
	</div>
</div>
{END details_supplier_bill_detail}
	
				 
	 
		
					<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="supplier_bill_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="4"
	>
	<tbody>
						<tr>
						

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="2"		data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c5}
								</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="supplier_bill_edit"
		data-v-width="4"
	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} >
							{mlang_message SAVE}			</a>
</span>
{END save_edit}
	 
		{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} >
							{mlang_message BACK_TO_LIST}			</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} >
							{mlang_message CANCEL}			</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">
							{BEGIN reset_button}
	<li data-itemtype="edit_reset" data-itemid="edit_reset" {$item_edit_reset}="" data-pageid="{$pageid}" data-small="" >
				<a  {$resetbutton_attrs}  title="" >
				
		{mlang_message RESET}		
		</a>
	</li>
{END reset_button}
							{BEGIN view_page_button}
	<li data-itemtype="edit_view" data-itemid="edit_view" {$item_edit_view}="" data-pageid="{$pageid}" data-small="" >
				<a  href="supplier_bill_view.php?{$editlink}" {$view_page_button_attrs}  title="" >
				
		{mlang_message VIEW}		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
