<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>

	<body class="{$stylename} function-add" {$bodyattrs}>
	{BEGIN body}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}">
{BEGIN left_block}
 
     
         

			<div data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell class="clearfix " data-itemid="logo1" {$item_logo1}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo1" {$item_logo1} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</div>
		
 

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Expand" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main}			</div>
		
    {END left_block}
</div>				</div>	
			<div class="r-content-col" data-resize-left="leftbar">
				<div  class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span class="navbar-form  r-ori-vert navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Collapse" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							Login			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-user"></span>
						{$username}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		Log out		
		</a>
	</li>
{END logoutbutton}
							{BEGIN changepwd_link}
	<li data-itemtype="changepassword_link" data-itemid="changepassword_link" {$item_changepassword_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$changepwdlink_attrs}  title="" >
				
		Change password		
		</a>
	</li>
{END changepwd_link}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>	
				<div class="r-body" data-resize-top="topbar" data-body-width="standard">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		<h2 data-itemtype="add_header" data-itemid="add_header" {$item_add_header} data-pageid="{$pageid}" >{$pagetitlelabel payment_for_pur add}</h2>
		</div>					</div>
	</div>		
{END top_block}
						</div>
					<div class="r-above">
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	
">
		{BEGIN firstAboveGridCell}
				{END firstAboveGridCell}	
	</div>					</div>
	</div>		
{END above-grid_block}
						</div>
					<div class="r-grid">
										{BEGIN grid_block}




 
	 
												<table 
	data-body-align="left"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="6"
	>
	<tbody>
										<tr>
										

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


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


	<label class="r-edit-label control-label" for="{$labelfor_payment_type}">
		{BEGIN payment_type_label}{$label payment_for_pur payment_type }{END payment_type_label}
	</label>
	<div class="r-edit-field">
		{$payment_type_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="payment_type">
		<div class="text-muted" >
		{$tooltip payment_for_pur payment_type }		</div>
	</div>
</div>


{END payment_type_fieldblock}
											
{BEGIN amount_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_amount}">
		{BEGIN amount_label}{$label payment_for_pur amount }{END amount_label}
	</label>
	<div class="r-edit-field">
		{$amount_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="amount">
		<div class="text-muted" >
		{$tooltip payment_for_pur amount }		</div>
	</div>
</div>


{END amount_fieldblock}
											
{BEGIN cheque_number_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_cheque_number}">
		{BEGIN cheque_number_label}{$label payment_for_pur cheque_number }{END cheque_number_label}
	</label>
	<div class="r-edit-field">
		{$cheque_number_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="cheque_number">
		<div class="text-muted" >
		{$tooltip payment_for_pur cheque_number }		</div>
	</div>
</div>


{END cheque_number_fieldblock}
											
{BEGIN cheque_date_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_cheque_date}">
		{BEGIN cheque_date_label}{$label payment_for_pur cheque_date }{END cheque_date_label}
	</label>
	<div class="r-edit-field">
		{$cheque_date_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="cheque_date">
		<div class="text-muted" >
		{$tooltip payment_for_pur cheque_date }		</div>
	</div>
</div>


{END cheque_date_fieldblock}
											
{BEGIN details_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_details}">
		{BEGIN details_label}{$label payment_for_pur details }{END details_label}
	</label>
	<div class="r-edit-field">
		{$details_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="details">
		<div class="text-muted" >
		{$tooltip payment_for_pur details }		</div>
	</div>
</div>


{END details_fieldblock}
											
{BEGIN acc_no_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_acc_no}">
		{BEGIN acc_no_label}{$label payment_for_pur acc_no }{END acc_no_label}
	</label>
	<div class="r-edit-field">
		{$acc_no_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="acc_no">
		<div class="text-muted" >
		{$tooltip payment_for_pur acc_no }		</div>
	</div>
</div>


{END acc_no_fieldblock}
	
								</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="3"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN pur_id_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_pur_id}">
		{BEGIN pur_id_label}{$label payment_for_pur pur_id }{END pur_id_label}
	</label>
	<div class="r-edit-field">
		{$pur_id_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="pur_id">
		<div class="text-muted" >
		{$tooltip payment_for_pur pur_id }		</div>
	</div>
</div>


{END pur_id_fieldblock}
											
{BEGIN should_pay_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_should_pay}">
		{BEGIN should_pay_label}{$label payment_for_pur should_pay }{END should_pay_label}
	</label>
	<div class="r-edit-field">
		{$should_pay_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="should_pay">
		<div class="text-muted" >
		{$tooltip payment_for_pur should_pay }		</div>
	</div>
</div>


{END should_pay_fieldblock}
											
{BEGIN outlet_code_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_outlet_code}">
		{BEGIN outlet_code_label}{$label payment_for_pur outlet_code }{END outlet_code_label}
	</label>
	<div class="r-edit-field">
		{$outlet_code_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="outlet_code">
		<div class="text-muted" >
		{$tooltip payment_for_pur outlet_code }		</div>
	</div>
</div>


{END outlet_code_fieldblock}
											
{BEGIN branch_code_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_branch_code}">
		{BEGIN branch_code_label}{$label payment_for_pur branch_code }{END branch_code_label}
	</label>
	<div class="r-edit-field">
		{$branch_code_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="branch_code">
		<div class="text-muted" >
		{$tooltip payment_for_pur branch_code }		</div>
	</div>
</div>


{END branch_code_fieldblock}
											
{BEGIN user_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_user}">
		{BEGIN user_label}{$label payment_for_pur user }{END user_label}
	</label>
	<div class="r-edit-field">
		{$user_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="user">
		<div class="text-muted" >
		{$tooltip payment_for_pur user }		</div>
	</div>
</div>


{END user_fieldblock}
											
{BEGIN loan_no_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_loan_no}">
		{BEGIN loan_no_label}{$label payment_for_pur loan_no }{END loan_no_label}
	</label>
	<div class="r-edit-field">
		{$loan_no_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="loan_no">
		<div class="text-muted" >
		{$tooltip payment_for_pur loan_no }		</div>
	</div>
</div>


{END loan_no_fieldblock}
	
								</td>
			{END cellblock_grid_c}
								</tr>
			</tbody></table>
{END grid_block}
						</div>
					<div class="r-below">
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center			col-md-12
	
">
		 
		{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-link   
	" id="backButton{$id}" >
					<img src="{$file_url images/menuicons/prev.png}" />
										</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-link   
	" id="cancelButton{$id}" >
					<img src="{$file_url images/menuicons/cancle3.png}" />
										</a>
</span>
{END cancel_button}
	 
		<span data-itemtype="add_save" data-itemid="add_save1" {$item_add_save1} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-link   
	" {$savebutton_attrs} >
					<img src="{$file_url images/menuicons/111112.png}" />
										</a>
</span>
		</div>					</div>
	</div>		
{END below-grid_block}
						</div>
					{$footer}
				</div>	
			</div>	
		</div>
	{END body}
	</body>
</html>
