<!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 purchases 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 purchases id }{END id_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$id_value}	</div>

		
</div>


{END id_fieldblock}
											
{BEGIN purchase_date_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_purchase_date}">
		
		{BEGIN purchase_date_label}{$label purchases purchase_date }{END purchase_date_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$purchase_date_value}	</div>

		
</div>


{END purchase_date_fieldblock}
											
{BEGIN seller_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_seller}">
		
		{BEGIN seller_label}{$label purchases seller }{END seller_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$seller_value}	</div>

		
</div>


{END seller_fieldblock}
											
{BEGIN transport_by_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_transport_by}">
		
		{BEGIN transport_by_label}{$label purchases transport_by }{END transport_by_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$transport_by_value}	</div>

		
</div>


{END transport_by_fieldblock}
											
{BEGIN transport_cost_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_transport_cost}">
		
		{BEGIN transport_cost_label}{$label purchases transport_cost }{END transport_cost_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$transport_cost_value}	</div>

		
</div>


{END transport_cost_fieldblock}
											
{BEGIN invoice_image_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_invoice_image}">
		
		{BEGIN invoice_image_label}{$label purchases invoice_image }{END invoice_image_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$invoice_image_value}	</div>

		
</div>


{END invoice_image_fieldblock}
											
{BEGIN other_expenses_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_other_expenses}">
		
		{BEGIN other_expenses_label}{$label purchases other_expenses }{END other_expenses_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$other_expenses_value}	</div>

		
</div>


{END other_expenses_fieldblock}
											
{BEGIN note_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_note}">
		
		{BEGIN note_label}{$label purchases note }{END note_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$note_value}	</div>

		
</div>


{END note_fieldblock}
										</td>
			{END cellblock_grid_c3}
										</tr>
										</tbody></table>
				
{BEGIN details_purchase_details}
<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">
							{$caption purchase_details }				
							<span>
					{$detailslButtons_purchase_details}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_purchase_details}
		</div>
	</div>
</div>
{END details_purchase_details}
											<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 total_handling_cost_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_total_handling_cost}  r-vertical-field" data-fieldname="total handling cost" data-signal-error-for="total_handling_cost{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field11" {$item_integrated_edit_field11} data-pageid="{$pageid}" data-field="total_handling_cost" >

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_total_handling_cost}">
		
		{BEGIN total_handling_cost_label}{$label purchases total_handling_cost }{END total_handling_cost_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$total_handling_cost_value}	</div>

		
</div>


{END total_handling_cost_fieldblock}
											
{BEGIN handling_cost_per_unit_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_handling_cost_per_unit}  r-vertical-field" data-fieldname="handling cost per unit" data-signal-error-for="handling_cost_per_unit{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field12" {$item_integrated_edit_field12} data-pageid="{$pageid}" data-field="handling_cost_per_unit" >

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_handling_cost_per_unit}">
		
		{BEGIN handling_cost_per_unit_label}{$label purchases handling_cost_per_unit }{END handling_cost_per_unit_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$handling_cost_per_unit_value}	</div>

		
</div>


{END handling_cost_per_unit_fieldblock}
											
{BEGIN total_cost_fieldblock}


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

	
	<label class="col-md-offset-3 col-md-6" for="{$labelfor_total_cost}">
		
		{BEGIN total_cost_label}{$label purchases total_cost }{END total_cost_label}
	</label>
	<div class="col-md-offset-3 col-md-6" >
		{$total_cost_value}	</div>

		
</div>


{END total_cost_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="purchases_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>
