<!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 sale_details 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 id_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_id}">
		
		{BEGIN id_label}{$label sale_details id }{END id_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$id_value}	</div>

		
</div>


{END id_fieldblock}
											
{BEGIN mid_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_mid}">
		
		{BEGIN mid_label}{$label sale_details mid }{END mid_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$mid_value}	</div>

		
</div>


{END mid_fieldblock}
											
{BEGIN product_code_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_product_code}">
		
		{BEGIN product_code_label}{$label sale_details product_code }{END product_code_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$product_code_value}	</div>

		
</div>


{END product_code_fieldblock}
											
{BEGIN quantity_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_quantity}">
		
		{BEGIN quantity_label}{$label sale_details quantity }{END quantity_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$quantity_value}	</div>

		
</div>


{END quantity_fieldblock}
											
{BEGIN selling_price_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_selling_price}">
		
		{BEGIN selling_price_label}{$label sale_details selling_price }{END selling_price_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$selling_price_value}	</div>

		
</div>


{END selling_price_fieldblock}
											
{BEGIN Sub_Total_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_Sub_Total}">
		
		{BEGIN Sub_Total_label}{$label sale_details Sub_Total }{END Sub_Total_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$Sub_Total_value}	</div>

		
</div>


{END Sub_Total_fieldblock}
											
{BEGIN discount_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_discount}">
		
		{BEGIN discount_label}{$label sale_details discount }{END discount_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$discount_value}	</div>

		
</div>


{END discount_fieldblock}
											
{BEGIN tax_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_tax}">
		
		{BEGIN tax_label}{$label sale_details tax }{END tax_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$tax_value}	</div>

		
</div>


{END tax_fieldblock}
											
{BEGIN cost_price_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_cost_price}">
		
		{BEGIN cost_price_label}{$label sale_details cost_price }{END cost_price_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$cost_price_value}	</div>

		
</div>


{END cost_price_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="sale_details_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>
