<!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="supplier_bill_detail_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 supplier_bill_detail 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="supplier_bill_detail_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="supplier_bill_detail_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 line_no_fieldblock}


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

	<label class="r-edit-label control-label {$line_no_label_class}" for="{$labelfor_line_no}">
		{BEGIN line_no_label}
			{$line_no_forward_control}
			{$label supplier_bill_detail line_no }			{END line_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$line_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="line_no" {$tooltipAttr supplier_bill_detail line_no } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail line_no }		</div>
	</div>
	</div>


{END line_no_fieldblock}
											
{BEGIN item_id_fieldblock}


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

	<label class="r-edit-label control-label {$item_id_label_class}" for="{$labelfor_item_id}">
		{BEGIN item_id_label}
			{$item_id_forward_control}
			{$label supplier_bill_detail item_id }			{END item_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$item_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="item_id" {$tooltipAttr supplier_bill_detail item_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail item_id }		</div>
	</div>
	</div>


{END item_id_fieldblock}
											
{BEGIN description_fieldblock}


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

	<label class="r-edit-label control-label {$description_label_class}" for="{$labelfor_description}">
		{BEGIN description_label}
			{$description_forward_control}
			{$label supplier_bill_detail description }			{END description_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$description_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="description" {$tooltipAttr supplier_bill_detail description } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail description }		</div>
	</div>
	</div>


{END description_fieldblock}
											
{BEGIN uom_code_fieldblock}


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

	<label class="r-edit-label control-label {$uom_code_label_class}" for="{$labelfor_uom_code}">
		{BEGIN uom_code_label}
			{$uom_code_forward_control}
			{$label supplier_bill_detail uom_code }			{END uom_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$uom_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="uom_code" {$tooltipAttr supplier_bill_detail uom_code } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail uom_code }		</div>
	</div>
	</div>


{END uom_code_fieldblock}
											
{BEGIN quantity_fieldblock}


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

	<label class="r-edit-label control-label {$quantity_label_class}" for="{$labelfor_quantity}">
		{BEGIN quantity_label}
			{$quantity_forward_control}
			{$label supplier_bill_detail quantity }			{END quantity_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$quantity_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="quantity" {$tooltipAttr supplier_bill_detail quantity } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail quantity }		</div>
	</div>
	</div>


{END quantity_fieldblock}
											
{BEGIN unit_price_fieldblock}


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

	<label class="r-edit-label control-label {$unit_price_label_class}" for="{$labelfor_unit_price}">
		{BEGIN unit_price_label}
			{$unit_price_forward_control}
			{$label supplier_bill_detail unit_price }			{END unit_price_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$unit_price_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="unit_price" {$tooltipAttr supplier_bill_detail unit_price } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail unit_price }		</div>
	</div>
	</div>


{END unit_price_fieldblock}
											
{BEGIN vat_tax_code_id_fieldblock}


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

	<label class="r-edit-label control-label {$vat_tax_code_id_label_class}" for="{$labelfor_vat_tax_code_id}">
		{BEGIN vat_tax_code_id_label}
			{$vat_tax_code_id_forward_control}
			{$label supplier_bill_detail vat_tax_code_id }			{END vat_tax_code_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$vat_tax_code_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="vat_tax_code_id" {$tooltipAttr supplier_bill_detail vat_tax_code_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail vat_tax_code_id }		</div>
	</div>
	</div>


{END vat_tax_code_id_fieldblock}
											
{BEGIN withholding_tax_code_id_fieldblock}


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

	<label class="r-edit-label control-label {$withholding_tax_code_id_label_class}" for="{$labelfor_withholding_tax_code_id}">
		{BEGIN withholding_tax_code_id_label}
			{$withholding_tax_code_id_forward_control}
			{$label supplier_bill_detail withholding_tax_code_id }			{END withholding_tax_code_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$withholding_tax_code_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="withholding_tax_code_id" {$tooltipAttr supplier_bill_detail withholding_tax_code_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail withholding_tax_code_id }		</div>
	</div>
	</div>


{END withholding_tax_code_id_fieldblock}
											
{BEGIN expense_account_id_fieldblock}


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

	<label class="r-edit-label control-label {$expense_account_id_label_class}" for="{$labelfor_expense_account_id}">
		{BEGIN expense_account_id_label}
			{$expense_account_id_forward_control}
			{$label supplier_bill_detail expense_account_id }			{END expense_account_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$expense_account_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="expense_account_id" {$tooltipAttr supplier_bill_detail expense_account_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail expense_account_id }		</div>
	</div>
	</div>


{END expense_account_id_fieldblock}
											
{BEGIN asset_account_id_fieldblock}


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

	<label class="r-edit-label control-label {$asset_account_id_label_class}" for="{$labelfor_asset_account_id}">
		{BEGIN asset_account_id_label}
			{$asset_account_id_forward_control}
			{$label supplier_bill_detail asset_account_id }			{END asset_account_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$asset_account_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="asset_account_id" {$tooltipAttr supplier_bill_detail asset_account_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail asset_account_id }		</div>
	</div>
	</div>


{END asset_account_id_fieldblock}
											
{BEGIN inventory_account_id_fieldblock}


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

	<label class="r-edit-label control-label {$inventory_account_id_label_class}" for="{$labelfor_inventory_account_id}">
		{BEGIN inventory_account_id_label}
			{$inventory_account_id_forward_control}
			{$label supplier_bill_detail inventory_account_id }			{END inventory_account_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inventory_account_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inventory_account_id" {$tooltipAttr supplier_bill_detail inventory_account_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail inventory_account_id }		</div>
	</div>
	</div>


{END inventory_account_id_fieldblock}
											
{BEGIN warehouse_id_fieldblock}


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

	<label class="r-edit-label control-label {$warehouse_id_label_class}" for="{$labelfor_warehouse_id}">
		{BEGIN warehouse_id_label}
			{$warehouse_id_forward_control}
			{$label supplier_bill_detail warehouse_id }			{END warehouse_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$warehouse_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="warehouse_id" {$tooltipAttr supplier_bill_detail warehouse_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail warehouse_id }		</div>
	</div>
	</div>


{END warehouse_id_fieldblock}
											
{BEGIN department_id_fieldblock}


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

	<label class="r-edit-label control-label {$department_id_label_class}" for="{$labelfor_department_id}">
		{BEGIN department_id_label}
			{$department_id_forward_control}
			{$label supplier_bill_detail department_id }			{END department_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$department_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="department_id" {$tooltipAttr supplier_bill_detail department_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail department_id }		</div>
	</div>
	</div>


{END department_id_fieldblock}
											
{BEGIN cost_center_id_fieldblock}


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

	<label class="r-edit-label control-label {$cost_center_id_label_class}" for="{$labelfor_cost_center_id}">
		{BEGIN cost_center_id_label}
			{$cost_center_id_forward_control}
			{$label supplier_bill_detail cost_center_id }			{END cost_center_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cost_center_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cost_center_id" {$tooltipAttr supplier_bill_detail cost_center_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail cost_center_id }		</div>
	</div>
	</div>


{END cost_center_id_fieldblock}
											
{BEGIN project_id_fieldblock}


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

	<label class="r-edit-label control-label {$project_id_label_class}" for="{$labelfor_project_id}">
		{BEGIN project_id_label}
			{$project_id_forward_control}
			{$label supplier_bill_detail project_id }			{END project_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$project_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="project_id" {$tooltipAttr supplier_bill_detail project_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail project_id }		</div>
	</div>
	</div>


{END project_id_fieldblock}
											
{BEGIN project_task_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_project_task_id}  r-vertical-field" 
	data-signal-error-for="project_task_id{$id}" {$required_attr_project_task_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field25" {$item_integrated_edit_field25}="" data-pageid="{$pageid}" data-field="project_task_id" data-fieldname="project_task_id" >

	<label class="r-edit-label control-label {$project_task_id_label_class}" for="{$labelfor_project_task_id}">
		{BEGIN project_task_id_label}
			{$project_task_id_forward_control}
			{$label supplier_bill_detail project_task_id }			{END project_task_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$project_task_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="project_task_id" {$tooltipAttr supplier_bill_detail project_task_id } >
		<div class="text-muted" >
		{$tooltip supplier_bill_detail project_task_id }		</div>
	</div>
	</div>


{END project_task_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-page="supplier_bill_detail_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>
