<!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-search" {$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="6"
	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="search_header" data-itemid="search_header" {$item_search_header} data-pageid="{$pageid}" >{$pagetitlelabel credit_sales search}</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="6"
	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="6"
	>
	<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="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN id_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_id}  r-horizontal-field form-horizontal" 
	
		data-fieldname="id" 
	
	data-signal-error-for="id{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field" {$item_integrated_search_field} data-pageid="{$pageid}" data-field="id" >


	<label class="r-search-label control-label" for="{$labelfor_id}">
		{$label credit_sales id }	</label>
	<div class="r-search-option">
		{$searchtype_id}
	</div>
	<div class="r-search-field">
		{$id_editcontrol}	</div>
	<div class="r-search-field">
		{$id_editcontrol1}
	</div>
	
</div>

{END id_fieldblock}
											
{BEGIN customer_name_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_customer_name}  r-horizontal-field form-horizontal" 
	
		data-fieldname="customer_name" 
	
	data-signal-error-for="customer_name{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field1" {$item_integrated_search_field1} data-pageid="{$pageid}" data-field="customer_name" >


	<label class="r-search-label control-label" for="{$labelfor_customer_name}">
		{$label credit_sales customer_name }	</label>
	<div class="r-search-option">
		{$searchtype_customer_name}
	</div>
	<div class="r-search-field">
		{$customer_name_editcontrol}	</div>
	<div class="r-search-field">
		{$customer_name_editcontrol1}
	</div>
	
</div>

{END customer_name_fieldblock}
											
{BEGIN date___time_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_date___time}  r-horizontal-field form-horizontal" 
	
		data-fieldname="date_&_time" 
	
	data-signal-error-for="date___time{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field8" {$item_integrated_search_field8} data-pageid="{$pageid}" data-field="date___time" >


	<label class="r-search-label control-label" for="{$labelfor_date___time}">
		{$label credit_sales date___time }	</label>
	<div class="r-search-option">
		{$searchtype_date___time}
	</div>
	<div class="r-search-field">
		{$date___time_editcontrol}	</div>
	<div class="r-search-field">
		{$date___time_editcontrol1}
	</div>
	
</div>

{END date___time_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_search_field" data-itemid="integrated_search_field3" {$item_integrated_search_field3} data-pageid="{$pageid}" data-field="user" >


	<label class="r-search-label control-label" for="{$labelfor_user}">
		{$label credit_sales user }	</label>
	<div class="r-search-option">
		{$searchtype_user}
	</div>
	<div class="r-search-field">
		{$user_editcontrol}	</div>
	<div class="r-search-field">
		{$user_editcontrol1}
	</div>
	
</div>

{END user_fieldblock}
											
{BEGIN company_name_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_company_name}  r-horizontal-field form-horizontal" 
	
		data-fieldname="company_name" 
	
	data-signal-error-for="company_name{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field4" {$item_integrated_search_field4} data-pageid="{$pageid}" data-field="company_name" >


	<label class="r-search-label control-label" for="{$labelfor_company_name}">
		{$label credit_sales company_name }	</label>
	<div class="r-search-option">
		{$searchtype_company_name}
	</div>
	<div class="r-search-field">
		{$company_name_editcontrol}	</div>
	<div class="r-search-field">
		{$company_name_editcontrol1}
	</div>
	
</div>

{END company_name_fieldblock}
											
{BEGIN address_line_1_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_address_line_1}  r-horizontal-field form-horizontal" 
	
		data-fieldname="address_line_1" 
	
	data-signal-error-for="address_line_1{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field5" {$item_integrated_search_field5} data-pageid="{$pageid}" data-field="address_line_1" >


	<label class="r-search-label control-label" for="{$labelfor_address_line_1}">
		{$label credit_sales address_line_1 }	</label>
	<div class="r-search-option">
		{$searchtype_address_line_1}
	</div>
	<div class="r-search-field">
		{$address_line_1_editcontrol}	</div>
	<div class="r-search-field">
		{$address_line_1_editcontrol1}
	</div>
	
</div>

{END address_line_1_fieldblock}
											
{BEGIN address_line_2_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_address_line_2}  r-horizontal-field form-horizontal" 
	
		data-fieldname="address_line_2" 
	
	data-signal-error-for="address_line_2{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field10" {$item_integrated_search_field10} data-pageid="{$pageid}" data-field="address_line_2" >


	<label class="r-search-label control-label" for="{$labelfor_address_line_2}">
		{$label credit_sales address_line_2 }	</label>
	<div class="r-search-option">
		{$searchtype_address_line_2}
	</div>
	<div class="r-search-field">
		{$address_line_2_editcontrol}	</div>
	<div class="r-search-field">
		{$address_line_2_editcontrol1}
	</div>
	
</div>

{END address_line_2_fieldblock}
											
{BEGIN hot_line_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_hot_line}  r-horizontal-field form-horizontal" 
	
		data-fieldname="hot_line" 
	
	data-signal-error-for="hot_line{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field11" {$item_integrated_search_field11} data-pageid="{$pageid}" data-field="hot_line" >


	<label class="r-search-label control-label" for="{$labelfor_hot_line}">
		{$label credit_sales hot_line }	</label>
	<div class="r-search-option">
		{$searchtype_hot_line}
	</div>
	<div class="r-search-field">
		{$hot_line_editcontrol}	</div>
	<div class="r-search-field">
		{$hot_line_editcontrol1}
	</div>
	
</div>

{END hot_line_fieldblock}
											
{BEGIN Fax_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_Fax}  r-horizontal-field form-horizontal" 
	
		data-fieldname="Fax" 
	
	data-signal-error-for="Fax{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field12" {$item_integrated_search_field12} data-pageid="{$pageid}" data-field="Fax" >


	<label class="r-search-label control-label" for="{$labelfor_Fax}">
		{$label credit_sales Fax }	</label>
	<div class="r-search-option">
		{$searchtype_Fax}
	</div>
	<div class="r-search-field">
		{$Fax_editcontrol}	</div>
	<div class="r-search-field">
		{$Fax_editcontrol1}
	</div>
	
</div>

{END Fax_fieldblock}
											
{BEGIN email_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_email}  r-horizontal-field form-horizontal" 
	
		data-fieldname="email" 
	
	data-signal-error-for="email{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field13" {$item_integrated_search_field13} data-pageid="{$pageid}" data-field="email" >


	<label class="r-search-label control-label" for="{$labelfor_email}">
		{$label credit_sales email }	</label>
	<div class="r-search-option">
		{$searchtype_email}
	</div>
	<div class="r-search-field">
		{$email_editcontrol}	</div>
	<div class="r-search-field">
		{$email_editcontrol1}
	</div>
	
</div>

{END email_fieldblock}
											
{BEGIN header_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_header}  r-horizontal-field form-horizontal" 
	
		data-fieldname="header" 
	
	data-signal-error-for="header{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field14" {$item_integrated_search_field14} data-pageid="{$pageid}" data-field="header" >


	<label class="r-search-label control-label" for="{$labelfor_header}">
		{$label credit_sales header }	</label>
	<div class="r-search-option">
		{$searchtype_header}
	</div>
	<div class="r-search-field">
		{$header_editcontrol}	</div>
	<div class="r-search-field">
		{$header_editcontrol1}
	</div>
	
</div>

{END header_fieldblock}
											
{BEGIN footer_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_footer}  r-horizontal-field form-horizontal" 
	
		data-fieldname="footer" 
	
	data-signal-error-for="footer{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field15" {$item_integrated_search_field15} data-pageid="{$pageid}" data-field="footer" >


	<label class="r-search-label control-label" for="{$labelfor_footer}">
		{$label credit_sales footer }	</label>
	<div class="r-search-option">
		{$searchtype_footer}
	</div>
	<div class="r-search-field">
		{$footer_editcontrol}	</div>
	<div class="r-search-field">
		{$footer_editcontrol1}
	</div>
	
</div>

{END footer_fieldblock}
											
{BEGIN logo_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_logo}  r-horizontal-field form-horizontal" 
	
		data-fieldname="logo" 
	
	data-signal-error-for="logo{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field16" {$item_integrated_search_field16} data-pageid="{$pageid}" data-field="logo" >


	<label class="r-search-label control-label" for="{$labelfor_logo}">
		{$label credit_sales logo }	</label>
	<div class="r-search-option">
		{$searchtype_logo}
	</div>
	<div class="r-search-field">
		{$logo_editcontrol}	</div>
	<div class="r-search-field">
		{$logo_editcontrol1}
	</div>
	
</div>

{END logo_fieldblock}
											
{BEGIN total_amount_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_total_amount}  r-horizontal-field form-horizontal" 
	
		data-fieldname="total amount" 
	
	data-signal-error-for="total_amount{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field17" {$item_integrated_search_field17} data-pageid="{$pageid}" data-field="total_amount" >


	<label class="r-search-label control-label" for="{$labelfor_total_amount}">
		{$label credit_sales total_amount }	</label>
	<div class="r-search-option">
		{$searchtype_total_amount}
	</div>
	<div class="r-search-field">
		{$total_amount_editcontrol}	</div>
	<div class="r-search-field">
		{$total_amount_editcontrol1}
	</div>
	
</div>

{END total_amount_fieldblock}
											
{BEGIN difect_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_difect}  r-horizontal-field form-horizontal" 
	
		data-fieldname="difect" 
	
	data-signal-error-for="difect{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field18" {$item_integrated_search_field18} data-pageid="{$pageid}" data-field="difect" >


	<label class="r-search-label control-label" for="{$labelfor_difect}">
		{$label credit_sales difect }	</label>
	<div class="r-search-option">
		{$searchtype_difect}
	</div>
	<div class="r-search-field">
		{$difect_editcontrol}	</div>
	<div class="r-search-field">
		{$difect_editcontrol1}
	</div>
	
</div>

{END difect_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_search_field" data-itemid="integrated_search_field9" {$item_integrated_search_field9} data-pageid="{$pageid}" data-field="branch_code" >


	<label class="r-search-label control-label" for="{$labelfor_branch_code}">
		{$label credit_sales branch_code }	</label>
	<div class="r-search-option">
		{$searchtype_branch_code}
	</div>
	<div class="r-search-field">
		{$branch_code_editcontrol}	</div>
	<div class="r-search-field">
		{$branch_code_editcontrol1}
	</div>
	
</div>

{END branch_code_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_search_field" data-itemid="integrated_search_field20" {$item_integrated_search_field20} data-pageid="{$pageid}" data-field="outlet_code" >


	<label class="r-search-label control-label" for="{$labelfor_outlet_code}">
		{$label credit_sales outlet_code }	</label>
	<div class="r-search-option">
		{$searchtype_outlet_code}
	</div>
	<div class="r-search-field">
		{$outlet_code_editcontrol}	</div>
	<div class="r-search-field">
		{$outlet_code_editcontrol1}
	</div>
	
</div>

{END outlet_code_fieldblock}
											
{BEGIN paid_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_paid}  r-horizontal-field form-horizontal" 
	
		data-fieldname="paid" 
	
	data-signal-error-for="paid{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field2" {$item_integrated_search_field2} data-pageid="{$pageid}" data-field="paid" >


	<label class="r-search-label control-label" for="{$labelfor_paid}">
		{$label credit_sales paid }	</label>
	<div class="r-search-option">
		{$searchtype_paid}
	</div>
	<div class="r-search-field">
		{$paid_editcontrol}	</div>
	<div class="r-search-field">
		{$paid_editcontrol1}
	</div>
	
</div>

{END paid_fieldblock}
											
{BEGIN tt_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_tt}  r-horizontal-field form-horizontal" 
	
		data-fieldname="tt" 
	
	data-signal-error-for="tt{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field6" {$item_integrated_search_field6} data-pageid="{$pageid}" data-field="tt" >


	<label class="r-search-label control-label" for="{$labelfor_tt}">
		{$label credit_sales tt }	</label>
	<div class="r-search-option">
		{$searchtype_tt}
	</div>
	<div class="r-search-field">
		{$tt_editcontrol}	</div>
	<div class="r-search-field">
		{$tt_editcontrol1}
	</div>
	
</div>

{END tt_fieldblock}
											
{BEGIN advance_id_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_advance_id}  r-horizontal-field form-horizontal" 
	
		data-fieldname="advance_id" 
	
	data-signal-error-for="advance_id{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field19" {$item_integrated_search_field19} data-pageid="{$pageid}" data-field="advance_id" >


	<label class="r-search-label control-label" for="{$labelfor_advance_id}">
		{$label credit_sales advance_id }	</label>
	<div class="r-search-option">
		{$searchtype_advance_id}
	</div>
	<div class="r-search-field">
		{$advance_id_editcontrol}	</div>
	<div class="r-search-field">
		{$advance_id_editcontrol1}
	</div>
	
</div>

{END advance_id_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_search_field" data-itemid="integrated_search_field21" {$item_integrated_search_field21} data-pageid="{$pageid}" data-field="amount" >


	<label class="r-search-label control-label" for="{$labelfor_amount}">
		{$label credit_sales amount }	</label>
	<div class="r-search-option">
		{$searchtype_amount}
	</div>
	<div class="r-search-field">
		{$amount_editcontrol}	</div>
	<div class="r-search-field">
		{$amount_editcontrol1}
	</div>
	
</div>

{END amount_fieldblock}
											
{BEGIN left_advance_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_left_advance}  r-horizontal-field form-horizontal" 
	
		data-fieldname="left_advance" 
	
	data-signal-error-for="left_advance{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field22" {$item_integrated_search_field22} data-pageid="{$pageid}" data-field="left_advance" >


	<label class="r-search-label control-label" for="{$labelfor_left_advance}">
		{$label credit_sales left_advance }	</label>
	<div class="r-search-option">
		{$searchtype_left_advance}
	</div>
	<div class="r-search-field">
		{$left_advance_editcontrol}	</div>
	<div class="r-search-field">
		{$left_advance_editcontrol1}
	</div>
	
</div>

{END left_advance_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_search_field" data-itemid="integrated_search_field23" {$item_integrated_search_field23} data-pageid="{$pageid}" data-field="details" >


	<label class="r-search-label control-label" for="{$labelfor_details}">
		{$label credit_sales details }	</label>
	<div class="r-search-option">
		{$searchtype_details}
	</div>
	<div class="r-search-field">
		{$details_editcontrol}	</div>
	<div class="r-search-field">
		{$details_editcontrol1}
	</div>
	
</div>

{END details_fieldblock}
											
{BEGIN status_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_status}">
		{$label credit_sales status }	</label>
	<div class="r-search-option">
		{$searchtype_status}
	</div>
	<div class="r-search-field">
		{$status_editcontrol}	</div>
	<div class="r-search-field">
		{$status_editcontrol1}
	</div>
	
</div>

{END status_fieldblock}
											
{BEGIN customer_id_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_customer_id}">
		{$label credit_sales customer_id }	</label>
	<div class="r-search-option">
		{$searchtype_customer_id}
	</div>
	<div class="r-search-field">
		{$customer_id_editcontrol}	</div>
	<div class="r-search-field">
		{$customer_id_editcontrol1}
	</div>
	
</div>

{END customer_id_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}"
		data-v-width="6"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="search_search" data-itemid="search_search" {$item_search_search} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$searchbutton_attrs} >
							Search			</a>
</span>
	 
		<span data-itemtype="search_reset" data-itemid="search_reset" {$item_search_reset} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$resetbutton_attrs} >
							Reset			</a>
</span>
	 
		{BEGIN back_button}
<span data-itemtype="search_back_list" data-itemid="search_back_list" {$item_search_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 cancel_button}
<span data-itemtype="search_cancel" data-itemid="search_cancel" {$item_search_cancel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							Cancel			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
