<!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-view" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="view_header" data-itemid="view_header" {$item_view_header} data-pageid="{$pageid}" >{$pagetitlelabel loans view}</h2>
	</div>					</div>
	</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	</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}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr>
										

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


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_loan_id}">
		
		{BEGIN loan_id_label}{$label loans loan_id }{END loan_id_label}
	</label>
	<div class="col-md-6" >
		{$loan_id_value}	</div>

		
</div>


{END loan_id_fieldblock}
											
{BEGIN customer_id_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_customer_id}">
		
		{BEGIN customer_id_label}{$label loans customer_id }{END customer_id_label}
	</label>
	<div class="col-md-6" >
		{$customer_id_value}	</div>

		
</div>


{END customer_id_fieldblock}
											
{BEGIN loan_amount_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_loan_amount}">
		
		{BEGIN loan_amount_label}{$label loans loan_amount }{END loan_amount_label}
	</label>
	<div class="col-md-6" >
		{$loan_amount_value}	</div>

		
</div>


{END loan_amount_fieldblock}
											
{BEGIN total_payable_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_total_payable}">
		
		{BEGIN total_payable_label}{$label loans total_payable }{END total_payable_label}
	</label>
	<div class="col-md-6" >
		{$total_payable_value}	</div>

		
</div>


{END total_payable_fieldblock}
											
{BEGIN profit_amount_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_profit_amount}">
		
		{BEGIN profit_amount_label}{$label loans profit_amount }{END profit_amount_label}
	</label>
	<div class="col-md-6" >
		{$profit_amount_value}	</div>

		
</div>


{END profit_amount_fieldblock}
											
{BEGIN payment_interval_days_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_payment_interval_days}">
		
		{BEGIN payment_interval_days_label}{$label loans payment_interval_days }{END payment_interval_days_label}
	</label>
	<div class="col-md-6" >
		{$payment_interval_days_value}	</div>

		
</div>


{END payment_interval_days_fieldblock}
											
{BEGIN installment_amount_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_installment_amount}">
		
		{BEGIN installment_amount_label}{$label loans installment_amount }{END installment_amount_label}
	</label>
	<div class="col-md-6" >
		{$installment_amount_value}	</div>

		
</div>


{END installment_amount_fieldblock}
											
{BEGIN start_date_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_start_date}">
		
		{BEGIN start_date_label}{$label loans start_date }{END start_date_label}
	</label>
	<div class="col-md-6" >
		{$start_date_value}	</div>

		
</div>


{END start_date_fieldblock}
											
{BEGIN end_date_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_end_date}">
		
		{BEGIN end_date_label}{$label loans end_date }{END end_date_label}
	</label>
	<div class="col-md-6" >
		{$end_date_value}	</div>

		
</div>


{END end_date_fieldblock}
											
{BEGIN status_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_status}">
		
		{BEGIN status_label}{$label loans status }{END status_label}
	</label>
	<div class="col-md-6" >
		{$status_value}	</div>

		
</div>


{END status_fieldblock}
											
{BEGIN created_at_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_created_at}">
		
		{BEGIN created_at_label}{$label loans created_at }{END created_at_label}
	</label>
	<div class="col-md-6" >
		{$created_at_value}	</div>

		
</div>


{END created_at_fieldblock}
											
{BEGIN call_record_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_call_record}">
		
		{BEGIN call_record_label}{$label loans call_record }{END call_record_label}
	</label>
	<div class="col-md-6" >
		{$call_record_value}	</div>

		
</div>


{END call_record_fieldblock}
											
{BEGIN loan_period_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_loan_period}">
		
		{BEGIN loan_period_label}{$label loans loan_period }{END loan_period_label}
	</label>
	<div class="col-md-6" >
		{$loan_period_value}	</div>

		
</div>


{END loan_period_fieldblock}
											
{BEGIN Loan_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_Loan}">
		
		{BEGIN Loan_label}{$label loans Loan }{END Loan_label}
	</label>
	<div class="col-md-6" >
		{$Loan_value}	</div>

		
</div>


{END Loan_fieldblock}
											
{BEGIN video_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_video}">
		
		{BEGIN video_label}{$label loans video }{END video_label}
	</label>
	<div class="col-md-6" >
		{$video_value}	</div>

		
</div>


{END video_fieldblock}
											
{BEGIN files_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_files}">
		
		{BEGIN files_label}{$label loans files }{END files_label}
	</label>
	<div class="col-md-6" >
		{$files_value}	</div>

		
</div>


{END files_fieldblock}
											
{BEGIN image_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_image}">
		
		{BEGIN image_label}{$label loans image }{END image_label}
	</label>
	<div class="col-md-6" >
		{$image_value}	</div>

		
</div>


{END image_fieldblock}
											
{BEGIN horno_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_horno}">
		
		{BEGIN horno_label}{$label loans horno }{END horno_label}
	</label>
	<div class="col-md-6" >
		{$horno_value}	</div>

		
</div>


{END horno_fieldblock}
											
{BEGIN user_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_user}">
		
		{BEGIN user_label}{$label loans user }{END user_label}
	</label>
	<div class="col-md-6" >
		{$user_value}	</div>

		
</div>


{END user_fieldblock}
											
{BEGIN guarantor_1_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_guarantor_1}">
		
		{BEGIN guarantor_1_label}{$label loans guarantor_1 }{END guarantor_1_label}
	</label>
	<div class="col-md-6" >
		{$guarantor_1_value}	</div>

		
</div>


{END guarantor_1_fieldblock}
											
{BEGIN guarantor_2_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_guarantor_2}">
		
		{BEGIN guarantor_2_label}{$label loans guarantor_2 }{END guarantor_2_label}
	</label>
	<div class="col-md-6" >
		{$guarantor_2_value}	</div>

		
</div>


{END guarantor_2_fieldblock}
											
{BEGIN Old_Loan_fieldblock}


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

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_Old_Loan}">
		
		{BEGIN Old_Loan_label}{$label loans Old_Loan }{END Old_Loan_label}
	</label>
	<div class="col-md-6" >
		{$Old_Loan_value}	</div>

		
</div>


{END Old_Loan_fieldblock}
											
{BEGIN new_loan_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_new_loan}  form-horizontal clearfix" data-fieldname="new_loan" data-signal-error-for="new_loan{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field22" {$item_integrated_edit_field22} data-pageid="{$pageid}" data-field="new_loan" >

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_new_loan}">
		
		{BEGIN new_loan_label}{$label loans new_loan }{END new_loan_label}
	</label>
	<div class="col-md-6" >
		{$new_loan_value}	</div>

		
</div>


{END new_loan_fieldblock}
											
{BEGIN route_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_route_id}  form-horizontal clearfix" data-fieldname="route_id" data-signal-error-for="route_id{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field23" {$item_integrated_edit_field23} data-pageid="{$pageid}" data-field="route_id" >

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_route_id}">
		
		{BEGIN route_id_label}{$label loans route_id }{END route_id_label}
	</label>
	<div class="col-md-6" >
		{$route_id_value}	</div>

		
</div>


{END route_id_fieldblock}
											
{BEGIN route_order_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_route_order}  form-horizontal clearfix" data-fieldname="route_order" data-signal-error-for="route_order{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field24" {$item_integrated_edit_field24} data-pageid="{$pageid}" data-field="route_order" >

	
	<label class="col-md-3 text-right bs-view-label" for="{$labelfor_route_order}">
		
		{BEGIN route_order_label}{$label loans route_order }{END route_order_label}
	</label>
	<div class="col-md-6" >
		{$route_order_value}	</div>

		
</div>


{END route_order_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-6
	">
	 
		{BEGIN back_button}
<span data-itemtype="view_back_list" data-itemid="view_back_list" {$item_view_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$backbutton_attrs} >
							Back to list			</a>
</span>
{END back_button}
	 
		{BEGIN close_button}
<span data-itemtype="view_close" data-itemid="view_close" {$item_view_close} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" href="#" {$closebutton_attrs} >
							Close window			</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 edit_page_button}
	<li data-itemtype="view_edit" data-itemid="view_edit" {$item_view_edit} data-pageid="{$pageid}" data-small >
				<a  href="loans_edit.php?{$editlink}" {$edit_page_button_attrs}  title="" >
				
		Edit		
		</a>
	</li>
{END edit_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
