<!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_payment_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_payment 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_payment_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_payment_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_payment_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_sp_supplier" {$item_bl_sp_supplier}="" data-pageid="{$pageid}" data-page="supplier_payment_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 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_payment_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-single
			
			data-cellId="section3_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_field6" {$item_integrated_edit_field6}="" 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_payment 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_payment supplier_id } >
		<div class="text-muted" >
		{$tooltip supplier_payment supplier_id }		</div>
	</div>
	</div>


{END supplier_id_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_sp_method" {$item_bl_sp_method}="" data-pageid="{$pageid}" data-page="supplier_payment_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" >
				Payment Method			</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 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_payment_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 payment_method_id_fieldblock}


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

	<label class="r-edit-label control-label {$payment_method_id_label_class}" for="{$labelfor_payment_method_id}">
		{BEGIN payment_method_id_label}
			{$payment_method_id_forward_control}
			{$label supplier_payment payment_method_id }			{END payment_method_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$payment_method_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="payment_method_id" {$tooltipAttr supplier_payment payment_method_id } >
		<div class="text-muted" >
		{$tooltip supplier_payment payment_method_id }		</div>
	</div>
	</div>


{END payment_method_id_fieldblock}
											
{BEGIN bank_account_id_fieldblock}


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

	<label class="r-edit-label control-label {$bank_account_id_label_class}" for="{$labelfor_bank_account_id}">
		{BEGIN bank_account_id_label}
			{$bank_account_id_forward_control}
			{$label supplier_payment bank_account_id }			{END bank_account_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$bank_account_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="bank_account_id" {$tooltipAttr supplier_payment bank_account_id } >
		<div class="text-muted" >
		{$tooltip supplier_payment bank_account_id }		</div>
	</div>
	</div>


{END bank_account_id_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_sp_remarks" {$item_bl_sp_remarks}="" data-pageid="{$pageid}" data-page="supplier_payment_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" >
				Remarks 			</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 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_payment_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-single
			
			data-cellId="section5_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_field21" {$item_integrated_edit_field21}="" 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_payment 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_payment remarks } >
		<div class="text-muted" >
		{$tooltip supplier_payment remarks }		</div>
	</div>
	</div>


{END remarks_fieldblock}
	
								</td>
			{END cellblock_section5_c1}
								</tr>
			</tbody></table>
{END section5_block}
		  </div>
		</div>
	</div>
											 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="bl_sp_audit" {$item_bl_sp_audit}="" data-pageid="{$pageid}" data-page="supplier_payment_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" >
				Audit / Status			</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 section6_block}




 
	 
												<table 
	data-body-align="center"
	data-location="section6" id="form_section6_{$pageid}" data-makeup="small" {$form_section6} data-pageid="{$pageid}" data-page="supplier_payment_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_section6_0} >
										

{BEGIN cellblock_section6_c1}
<td
	{$cell_section6_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section6_c1" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN approval_status_fieldblock}


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

	<label class="r-edit-label control-label {$approval_status_label_class}" for="{$labelfor_approval_status}">
		{BEGIN approval_status_label}
			{$approval_status_forward_control}
			{$label supplier_payment approval_status }			{END approval_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$approval_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="approval_status" {$tooltipAttr supplier_payment approval_status } >
		<div class="text-muted" >
		{$tooltip supplier_payment approval_status }		</div>
	</div>
	</div>


{END approval_status_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_field16" {$item_integrated_edit_field16}="" 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_payment 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_payment document_status } >
		<div class="text-muted" >
		{$tooltip supplier_payment 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_field17" {$item_integrated_edit_field17}="" 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_payment 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_payment posting_status } >
		<div class="text-muted" >
		{$tooltip supplier_payment posting_status }		</div>
	</div>
	</div>


{END posting_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_field18" {$item_integrated_edit_field18}="" 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 supplier_payment 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 supplier_payment created_at } >
		<div class="text-muted" >
		{$tooltip supplier_payment created_at }		</div>
	</div>
	</div>


{END created_at_fieldblock}
											
{BEGIN approved_at_fieldblock}


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

	<label class="r-edit-label control-label {$approved_at_label_class}" for="{$labelfor_approved_at}">
		{BEGIN approved_at_label}
			{$approved_at_forward_control}
			{$label supplier_payment approved_at }			{END approved_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$approved_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="approved_at" {$tooltipAttr supplier_payment approved_at } >
		<div class="text-muted" >
		{$tooltip supplier_payment approved_at }		</div>
	</div>
	</div>


{END approved_at_fieldblock}
											
{BEGIN posted_at_fieldblock}


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

	<label class="r-edit-label control-label {$posted_at_label_class}" for="{$labelfor_posted_at}">
		{BEGIN posted_at_label}
			{$posted_at_forward_control}
			{$label supplier_payment posted_at }			{END posted_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$posted_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="posted_at" {$tooltipAttr supplier_payment posted_at } >
		<div class="text-muted" >
		{$tooltip supplier_payment posted_at }		</div>
	</div>
	</div>


{END posted_at_fieldblock}
	
								</td>
			{END cellblock_section6_c1}
								</tr>
			</tbody></table>
{END section6_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_sp_document" {$item_bl_sp_document}="" data-pageid="{$pageid}" data-page="supplier_payment_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" >
				Payment Document			</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 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_payment_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 payment_no_fieldblock}


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

	<label class="r-edit-label control-label {$payment_no_label_class}" for="{$labelfor_payment_no}">
		{BEGIN payment_no_label}
			{$payment_no_forward_control}
			{$label supplier_payment payment_no }			{END payment_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$payment_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="payment_no" {$tooltipAttr supplier_payment payment_no } >
		<div class="text-muted" >
		{$tooltip supplier_payment payment_no }		</div>
	</div>
	</div>


{END payment_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_payment 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_payment branch_id } >
		<div class="text-muted" >
		{$tooltip supplier_payment branch_id }		</div>
	</div>
	</div>


{END branch_id_fieldblock}
											
{BEGIN payment_date_fieldblock}


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

	<label class="r-edit-label control-label {$payment_date_label_class}" for="{$labelfor_payment_date}">
		{BEGIN payment_date_label}
			{$payment_date_forward_control}
			{$label supplier_payment payment_date }			{END payment_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$payment_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="payment_date" {$tooltipAttr supplier_payment payment_date } >
		<div class="text-muted" >
		{$tooltip supplier_payment payment_date }		</div>
	</div>
	</div>


{END payment_date_fieldblock}
											
{BEGIN reference_no_fieldblock}


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

	<label class="r-edit-label control-label {$reference_no_label_class}" for="{$labelfor_reference_no}">
		{BEGIN reference_no_label}
			{$reference_no_forward_control}
			{$label supplier_payment reference_no }			{END reference_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$reference_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="reference_no" {$tooltipAttr supplier_payment reference_no } >
		<div class="text-muted" >
		{$tooltip supplier_payment reference_no }		</div>
	</div>
	</div>


{END reference_no_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_sp_currency" {$item_bl_sp_currency}="" data-pageid="{$pageid}" data-page="supplier_payment_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" >
				Currency			</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 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_payment_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-cellId="section1_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_field7" {$item_integrated_edit_field7}="" 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_payment 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_payment currency_code } >
		<div class="text-muted" >
		{$tooltip supplier_payment 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_field8" {$item_integrated_edit_field8}="" 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_payment 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_payment exchange_rate } >
		<div class="text-muted" >
		{$tooltip supplier_payment exchange_rate }		</div>
	</div>
	</div>


{END exchange_rate_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_sp_summary" {$item_bl_sp_summary}="" data-pageid="{$pageid}" data-page="supplier_payment_edit">
		<div class="panel-heading" role="tab" {$section_section7_headattrs} 
			data-toggle="collapse"  

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

		>
		  <h4 class="panel-title">
		  				<a role="button" >
				Payment Summary			</a>
					  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section7_xtrclass}" role="tabpanel"  {$section_section7_attrs}

				id="section7{$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_payment_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 gross_payment_amount_fieldblock}


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

	<label class="r-edit-label control-label {$gross_payment_amount_label_class}" for="{$labelfor_gross_payment_amount}">
		{BEGIN gross_payment_amount_label}
			{$gross_payment_amount_forward_control}
			{$label supplier_payment gross_payment_amount }			{END gross_payment_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$gross_payment_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="gross_payment_amount" {$tooltipAttr supplier_payment gross_payment_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment gross_payment_amount }		</div>
	</div>
	</div>


{END gross_payment_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_field13" {$item_integrated_edit_field13}="" 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_payment 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_payment withholding_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment withholding_amount }		</div>
	</div>
	</div>


{END withholding_amount_fieldblock}
											
{BEGIN bank_charge_amount_fieldblock}


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

	<label class="r-edit-label control-label {$bank_charge_amount_label_class}" for="{$labelfor_bank_charge_amount}">
		{BEGIN bank_charge_amount_label}
			{$bank_charge_amount_forward_control}
			{$label supplier_payment bank_charge_amount }			{END bank_charge_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$bank_charge_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="bank_charge_amount" {$tooltipAttr supplier_payment bank_charge_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment bank_charge_amount }		</div>
	</div>
	</div>


{END bank_charge_amount_fieldblock}
											
{BEGIN net_cash_amount_fieldblock}


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

	<label class="r-edit-label control-label {$net_cash_amount_label_class}" for="{$labelfor_net_cash_amount}">
		{BEGIN net_cash_amount_label}
			{$net_cash_amount_forward_control}
			{$label supplier_payment net_cash_amount }			{END net_cash_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$net_cash_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="net_cash_amount" {$tooltipAttr supplier_payment net_cash_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment net_cash_amount }		</div>
	</div>
	</div>


{END net_cash_amount_fieldblock}
											
{BEGIN applied_amount_fieldblock}


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

	<label class="r-edit-label control-label {$applied_amount_label_class}" for="{$labelfor_applied_amount}">
		{BEGIN applied_amount_label}
			{$applied_amount_forward_control}
			{$label supplier_payment applied_amount }			{END applied_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$applied_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="applied_amount" {$tooltipAttr supplier_payment applied_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment applied_amount }		</div>
	</div>
	</div>


{END applied_amount_fieldblock}
											
{BEGIN unapplied_amount_fieldblock}


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

	<label class="r-edit-label control-label {$unapplied_amount_label_class}" for="{$labelfor_unapplied_amount}">
		{BEGIN unapplied_amount_label}
			{$unapplied_amount_forward_control}
			{$label supplier_payment unapplied_amount }			{END unapplied_amount_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$unapplied_amount_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="unapplied_amount" {$tooltipAttr supplier_payment unapplied_amount } >
		<div class="text-muted" >
		{$tooltip supplier_payment unapplied_amount }		</div>
	</div>
	</div>


{END unapplied_amount_fieldblock}
	
								</td>
			{END cellblock_section2_c1}
								</tr>
			</tbody></table>
{END section2_block}
		  </div>
		</div>
	</div>
	
								</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
																</tbody></table>
				
{BEGIN details_supplier_payment_application}
<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_payment_application}			
							<span>
					{$detailslButtons_supplier_payment_application}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_supplier_payment_application}
		</div>
	</div>
</div>
{END details_supplier_payment_application}
	
				 
	 
		
					<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="supplier_payment_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_payment_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_payment_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>
