<!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}">
		{BEGIN styleCSSFiles}
<link REL="stylesheet" href="{$stylepath}" type="text/css">
{END styleCSSFiles}
			
	</head>

	<body class="{$stylename} function-add" {$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-page="vw_bir_inventory_list_add"
		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="add_header" data-itemid="add_header" {$item_add_header}="" data-pageid="{$pageid}" >{$pagetitlelabel vw_bir_inventory_list add}</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-page="vw_bir_inventory_list_add"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_message}="" data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN message_back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>{mlang_message VIEW}</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>{mlang_message EDIT}</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</div>					</div>
	</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}" data-page="vw_bir_inventory_list_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{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 company_id_fieldblock}


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

	<label class="r-edit-label control-label {$company_id_label_class}" for="{$labelfor_company_id}">
		{BEGIN company_id_label}
			{$company_id_forward_control}
			{$label vw_bir_inventory_list company_id }			{END company_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$company_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="company_id" {$tooltipAttr vw_bir_inventory_list company_id } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list company_id }		</div>
	</div>
	</div>


{END company_id_fieldblock}
											
{BEGIN branch_id_fieldblock}


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

	<label class="r-edit-label control-label {$branch_id_label_class}" for="{$labelfor_branch_id}">
		{BEGIN branch_id_label}
			{$branch_id_forward_control}
			{$label vw_bir_inventory_list branch_id }			{END branch_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$branch_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="branch_id" {$tooltipAttr vw_bir_inventory_list branch_id } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list branch_id }		</div>
	</div>
	</div>


{END branch_id_fieldblock}
											
{BEGIN item_code_fieldblock}


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

	<label class="r-edit-label control-label {$item_code_label_class}" for="{$labelfor_item_code}">
		{BEGIN item_code_label}
			{$item_code_forward_control}
			{$label vw_bir_inventory_list item_code }			{END item_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$item_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="item_code" {$tooltipAttr vw_bir_inventory_list item_code } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list item_code }		</div>
	</div>
	</div>


{END item_code_fieldblock}
											
{BEGIN item_name_fieldblock}


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

	<label class="r-edit-label control-label {$item_name_label_class}" for="{$labelfor_item_name}">
		{BEGIN item_name_label}
			{$item_name_forward_control}
			{$label vw_bir_inventory_list item_name }			{END item_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$item_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="item_name" {$tooltipAttr vw_bir_inventory_list item_name } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list item_name }		</div>
	</div>
	</div>


{END item_name_fieldblock}
											
{BEGIN item_type_fieldblock}


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

	<label class="r-edit-label control-label {$item_type_label_class}" for="{$labelfor_item_type}">
		{BEGIN item_type_label}
			{$item_type_forward_control}
			{$label vw_bir_inventory_list item_type }			{END item_type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$item_type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="item_type" {$tooltipAttr vw_bir_inventory_list item_type } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list item_type }		</div>
	</div>
	</div>


{END item_type_fieldblock}
											
{BEGIN warehouse_code_fieldblock}


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

	<label class="r-edit-label control-label {$warehouse_code_label_class}" for="{$labelfor_warehouse_code}">
		{BEGIN warehouse_code_label}
			{$warehouse_code_forward_control}
			{$label vw_bir_inventory_list warehouse_code }			{END warehouse_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$warehouse_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="warehouse_code" {$tooltipAttr vw_bir_inventory_list warehouse_code } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list warehouse_code }		</div>
	</div>
	</div>


{END warehouse_code_fieldblock}
											
{BEGIN warehouse_name_fieldblock}


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

	<label class="r-edit-label control-label {$warehouse_name_label_class}" for="{$labelfor_warehouse_name}">
		{BEGIN warehouse_name_label}
			{$warehouse_name_forward_control}
			{$label vw_bir_inventory_list warehouse_name }			{END warehouse_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$warehouse_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="warehouse_name" {$tooltipAttr vw_bir_inventory_list warehouse_name } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list warehouse_name }		</div>
	</div>
	</div>


{END warehouse_name_fieldblock}
											
{BEGIN lot_no_fieldblock}


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

	<label class="r-edit-label control-label {$lot_no_label_class}" for="{$labelfor_lot_no}">
		{BEGIN lot_no_label}
			{$lot_no_forward_control}
			{$label vw_bir_inventory_list lot_no }			{END lot_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$lot_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="lot_no" {$tooltipAttr vw_bir_inventory_list lot_no } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list lot_no }		</div>
	</div>
	</div>


{END lot_no_fieldblock}
											
{BEGIN expiry_date_fieldblock}


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

	<label class="r-edit-label control-label {$expiry_date_label_class}" for="{$labelfor_expiry_date}">
		{BEGIN expiry_date_label}
			{$expiry_date_forward_control}
			{$label vw_bir_inventory_list expiry_date }			{END expiry_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$expiry_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="expiry_date" {$tooltipAttr vw_bir_inventory_list expiry_date } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list expiry_date }		</div>
	</div>
	</div>


{END expiry_date_fieldblock}
											
{BEGIN serial_no_fieldblock}


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

	<label class="r-edit-label control-label {$serial_no_label_class}" for="{$labelfor_serial_no}">
		{BEGIN serial_no_label}
			{$serial_no_forward_control}
			{$label vw_bir_inventory_list serial_no }			{END serial_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$serial_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="serial_no" {$tooltipAttr vw_bir_inventory_list serial_no } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list serial_no }		</div>
	</div>
	</div>


{END serial_no_fieldblock}
											
{BEGIN quantity_on_hand_fieldblock}


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

	<label class="r-edit-label control-label {$quantity_on_hand_label_class}" for="{$labelfor_quantity_on_hand}">
		{BEGIN quantity_on_hand_label}
			{$quantity_on_hand_forward_control}
			{$label vw_bir_inventory_list quantity_on_hand }			{END quantity_on_hand_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$quantity_on_hand_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="quantity_on_hand" {$tooltipAttr vw_bir_inventory_list quantity_on_hand } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list quantity_on_hand }		</div>
	</div>
	</div>


{END quantity_on_hand_fieldblock}
											
{BEGIN average_unit_cost_fieldblock}


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

	<label class="r-edit-label control-label {$average_unit_cost_label_class}" for="{$labelfor_average_unit_cost}">
		{BEGIN average_unit_cost_label}
			{$average_unit_cost_forward_control}
			{$label vw_bir_inventory_list average_unit_cost }			{END average_unit_cost_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$average_unit_cost_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="average_unit_cost" {$tooltipAttr vw_bir_inventory_list average_unit_cost } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list average_unit_cost }		</div>
	</div>
	</div>


{END average_unit_cost_fieldblock}
											
{BEGIN inventory_value_fieldblock}


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

	<label class="r-edit-label control-label {$inventory_value_label_class}" for="{$labelfor_inventory_value}">
		{BEGIN inventory_value_label}
			{$inventory_value_forward_control}
			{$label vw_bir_inventory_list inventory_value }			{END inventory_value_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inventory_value_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inventory_value" {$tooltipAttr vw_bir_inventory_list inventory_value } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list inventory_value }		</div>
	</div>
	</div>


{END inventory_value_fieldblock}
											
{BEGIN updated_at_fieldblock}


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

	<label class="r-edit-label control-label {$updated_at_label_class}" for="{$labelfor_updated_at}">
		{BEGIN updated_at_label}
			{$updated_at_forward_control}
			{$label vw_bir_inventory_list updated_at }			{END updated_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updated_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updated_at" {$tooltipAttr vw_bir_inventory_list updated_at } >
		<div class="text-muted" >
		{$tooltip vw_bir_inventory_list updated_at }		</div>
	</div>
	</div>


{END updated_at_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-page="vw_bir_inventory_list_add"
		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-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
							{mlang_message RESET}			</a>
</span>
{END reset_button}
	 
		{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-default   
	" id="backButton{$id}" >
							{mlang_message BACK_TO_LIST}			</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-default   
	" id="cancelButton{$id}" >
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
