<!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="purchaserequestdetail_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 purchaserequestdetail 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="purchaserequestdetail_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="purchaserequestdetail_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 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_field" {$item_integrated_edit_field}="" 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 purchaserequestdetail 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 purchaserequestdetail quantity } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail quantity }		</div>
	</div>
	</div>


{END quantity_fieldblock}
											
{BEGIN remarks_fieldblock}


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

	<label class="r-edit-label control-label {$remarks_label_class}" for="{$labelfor_remarks}">
		{BEGIN remarks_label}
			{$remarks_forward_control}
			{$label purchaserequestdetail remarks }			{END remarks_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$remarks_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="remarks" {$tooltipAttr purchaserequestdetail remarks } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail remarks }		</div>
	</div>
	</div>


{END remarks_fieldblock}
											
{BEGIN createdAt_fieldblock}


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

	<label class="r-edit-label control-label {$createdAt_label_class}" for="{$labelfor_createdAt}">
		{BEGIN createdAt_label}
			{$createdAt_forward_control}
			{$label purchaserequestdetail createdAt }			{END createdAt_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$createdAt_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="createdAt" {$tooltipAttr purchaserequestdetail createdAt } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail createdAt }		</div>
	</div>
	</div>


{END createdAt_fieldblock}
											
{BEGIN updatedAt_fieldblock}


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

	<label class="r-edit-label control-label {$updatedAt_label_class}" for="{$labelfor_updatedAt}">
		{BEGIN updatedAt_label}
			{$updatedAt_forward_control}
			{$label purchaserequestdetail updatedAt }			{END updatedAt_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updatedAt_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updatedAt" {$tooltipAttr purchaserequestdetail updatedAt } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail updatedAt }		</div>
	</div>
	</div>


{END updatedAt_fieldblock}
											
{BEGIN pr_id_fieldblock}


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

	<label class="r-edit-label control-label {$pr_id_label_class}" for="{$labelfor_pr_id}">
		{BEGIN pr_id_label}
			{$pr_id_forward_control}
			{$label purchaserequestdetail pr_id }			{END pr_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$pr_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="pr_id" {$tooltipAttr purchaserequestdetail pr_id } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail pr_id }		</div>
	</div>
	</div>


{END pr_id_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_field5" {$item_integrated_edit_field5}="" 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 purchaserequestdetail 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 purchaserequestdetail item_id } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail item_id }		</div>
	</div>
	</div>


{END item_id_fieldblock}
											
{BEGIN item_description_fieldblock}


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

	<label class="r-edit-label control-label {$item_description_label_class}" for="{$labelfor_item_description}">
		{BEGIN item_description_label}
			{$item_description_forward_control}
			{$label purchaserequestdetail item_description }			{END item_description_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$item_description_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="item_description" {$tooltipAttr purchaserequestdetail item_description } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail item_description }		</div>
	</div>
	</div>


{END item_description_fieldblock}
											
{BEGIN unit_fieldblock}


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

	<label class="r-edit-label control-label {$unit_label_class}" for="{$labelfor_unit}">
		{BEGIN unit_label}
			{$unit_forward_control}
			{$label purchaserequestdetail unit }			{END unit_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$unit_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="unit" {$tooltipAttr purchaserequestdetail unit } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail unit }		</div>
	</div>
	</div>


{END unit_fieldblock}
											
{BEGIN warehouse_fieldblock}


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

	<label class="r-edit-label control-label {$warehouse_label_class}" for="{$labelfor_warehouse}">
		{BEGIN warehouse_label}
			{$warehouse_forward_control}
			{$label purchaserequestdetail warehouse }			{END warehouse_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$warehouse_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="warehouse" {$tooltipAttr purchaserequestdetail warehouse } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail warehouse }		</div>
	</div>
	</div>


{END warehouse_fieldblock}
											
{BEGIN mother_facility_id_fieldblock}


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

	<label class="r-edit-label control-label {$mother_facility_id_label_class}" for="{$labelfor_mother_facility_id}">
		{BEGIN mother_facility_id_label}
			{$mother_facility_id_forward_control}
			{$label purchaserequestdetail mother_facility_id }			{END mother_facility_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$mother_facility_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="mother_facility_id" {$tooltipAttr purchaserequestdetail mother_facility_id } >
		<div class="text-muted" >
		{$tooltip purchaserequestdetail mother_facility_id }		</div>
	</div>
	</div>


{END mother_facility_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="purchaserequestdetail_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>
