<!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}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="300px" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}" data-page="qa_incoming_goods_add">
{BEGIN left_block}
 
     
         

			<div data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell class="clearfix " data-itemid="logo" {$item_logo}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo" {$item_logo}="" data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</div>
		
 

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="{mlang_message EXPAND}" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu}="" data-pageid="{$pageid}">
				{BEGIN menuitems_main}
<ul data-itemtype="menu" data-itemid="menu" {$item_menu}="" data-pageid="{$pageid}"	class="r-menu nav menu-treelike" 
	data-menulevel="1"
>

{BEGIN item_children1}
<li class="
	{$item_current}">
<a {$item_attrs} title="{$item_tooltip}" data-menu-link data-menu-v data-menu-inline data-menu-top >
	{$item_separator}
	<span class="r-menu-link r-menu-expanded "> 
		<span class="r-menu-title">
		{$item_icon} {$item_title}
		</span>
		{BEGIN item_haschildren2}
		{BEGIN item_expand_icon}
		<span class="r-menu-expand-icon fa fa-angle-left"></span>
		<span class="r-menu-mobile-expand-icon fa fa-angle-left"></span>
		{END item_expand_icon}
		{END item_haschildren2}
	</span>
		<span class="r-menu-collapsed">{$item_collicon}{$item_firstcap}</span>
	</a>
{BEGIN item_showchildren2}
<ul class="
			nav collapse 
			{$submenu_class}" 
		id="submenu{$item_id}" data-menulevel="2">
	{BEGIN item_children2}
		{BEGIN item_menulink2}
		<li class="
						{$item_current}"
		>
			<a {$item_attrs} title="{$item_tooltip}" data-menu-link data-menu-v data-menu-inline >
	{$item_separator}
	<span class="r-menu-link  "> 
		<span class="r-menu-title">
		{$item_icon} {$item_title}
		</span>
		{BEGIN item_haschildren2}
		{BEGIN item_expand_icon}
		<span class="r-menu-expand-icon fa fa-angle-left"></span>
		<span class="r-menu-mobile-expand-icon fa fa-angle-left"></span>
		{END item_expand_icon}
		{END item_haschildren2}
	</span>
	</a>
			{BEGIN item_showchildren3}
<ul class="
			nav collapse 
			{$submenu_class}" 
		id="submenu{$item_id}" data-menulevel="3">
	{BEGIN item_children3}
		{BEGIN item_menulink3}
		<li class="
						{$item_current}"
		>
			<a {$item_attrs} title="{$item_tooltip}" data-menu-link data-menu-v data-menu-inline >
	{$item_separator}
	<span class="r-menu-link  "> 
		<span class="r-menu-title">
		{$item_icon} {$item_title}
		</span>
		{BEGIN item_haschildren3}
		{BEGIN item_expand_icon}
		<span class="r-menu-expand-icon fa fa-angle-left"></span>
		<span class="r-menu-mobile-expand-icon fa fa-angle-left"></span>
		{END item_expand_icon}
		{END item_haschildren3}
	</span>
	</a>
			{BEGIN item_showchildren4}
<ul class="
			nav collapse 
			{$submenu_class}" 
		id="submenu{$item_id}" data-menulevel="4">
	{BEGIN item_children4}
		{BEGIN item_menulink4}
		<li class="
						{$item_current}"
		>
			<a {$item_attrs} title="{$item_tooltip}" data-menu-link data-menu-v data-menu-inline >
	{$item_separator}
	<span class="r-menu-link  "> 
		<span class="r-menu-title">
		{$item_icon} {$item_title}
		</span>
		{BEGIN item_haschildren4}
		{BEGIN item_expand_icon}
		<span class="r-menu-expand-icon fa fa-angle-left"></span>
		<span class="r-menu-mobile-expand-icon fa fa-angle-left"></span>
		{END item_expand_icon}
		{END item_haschildren4}
	</span>
	</a>
			{BEGIN item_showchildren5}
<ul class="
			nav collapse 
			{$submenu_class}" 
		id="submenu{$item_id}" data-menulevel="5">
	{BEGIN item_children5}
		{BEGIN item_menulink5}
		<li class="
						{$item_current}"
		>
			<a {$item_attrs} title="{$item_tooltip}" data-menu-link data-menu-v data-menu-inline >
	{$item_separator}
	<span class="r-menu-link  "> 
		<span class="r-menu-title">
		{$item_icon} {$item_title}
		</span>
		{BEGIN item_haschildren5}
		{BEGIN item_expand_icon}
		<span class="r-menu-expand-icon fa fa-angle-left"></span>
		<span class="r-menu-mobile-expand-icon fa fa-angle-left"></span>
		{END item_expand_icon}
		{END item_haschildren5}
	</span>
	</a>
					</li>
		{END item_menulink5}
	{END item_children5}
</ul>
{END item_showchildren5}
		</li>
		{END item_menulink4}
	{END item_children4}
</ul>
{END item_showchildren4}
		</li>
		{END item_menulink3}
	{END item_children3}
</ul>
{END item_showchildren3}
		</li>
		{END item_menulink2}
	{END item_children2}
</ul>
{END item_showchildren2}
</li>
{END item_children1}
</ul>
{END menuitems_main}
			</div>
		
    {END left_block}
</div>				</div>
			<div class="r-content-col" data-resize-left="leftbar">
				<div  class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" >
			 
							 
				<span class="navbar-form  navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="expand_menu_button" {$item_expand_menu_button} data-topcell-item-type="expand_menu_button" >
				<span data-itemtype="expand_menu_button" data-itemid="expand_menu_button" {$item_expand_menu_button}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="{mlang_message SHOW_MENU}" class="btn-link   
	 glyphicon glyphicon-menu-hamburger" href="#" >		
				
								</a>
</span>
			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="{mlang_message COLLAPSE}" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							{mlang_message LOGIN}			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
			{BEGIN userbutton_icon}							<span class="glyphicon glyphicon-user"></span>
						{END userbutton_icon}{$userbutton_image}			{$mlp_push}{$mlparam username var username}{$mltext %username%}{$mlp_pop}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN userinfo_link}
	<li data-itemtype="userinfo_link" data-itemid="userinfo_link" {$item_userinfo_link}="" data-pageid="{$pageid}" data-small="" >
				<a  href="userinfo.php"  title="" >
				
		{mlang_message USERINFO}		
		</a>
	</li>
{END userinfo_link}
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link}="" data-pageid="{$pageid}" data-small="" >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		{mlang_message LOG_OUT}		
		</a>
	</li>
{END logoutbutton}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>
				<div class="r-body" data-resize-top="topbar" data-body-width="standard">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" >		
	 
				<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 qa_incoming_goods add}</h2>
		</div>					</div>
			</div>		
{END top_block}
						</div>
											<div class="r-above">
					{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$form_above-grid} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="			col-md-12
	
">
		{BEGIN firstAboveGridCell}
		 
		{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}" >
					<span class=""></span>
							{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}" >
					<span class=""></span>
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	 
		{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}			{END firstAboveGridCell}	
	</div>					</div>
			</div>		
{END above-grid_block}
	</div>
<div class="r-grid">
	{BEGIN grid_tabs}
  <ul class="nav nav-tabs bsgrid_tabs">
	{$grid_tabs_content}
  </ul>
{END grid_tabs}
					{BEGIN grid_block}




 
	 
												<table 
	data-body-align="left"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="3"
		
		data-v-width="6"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN po_no_fieldblock}


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

	<label class="r-edit-label control-label {$po_no_label_class}" for="{$labelfor_po_no}">
		{BEGIN po_no_label}
			{$po_no_forward_control}
			{$label qa_incoming_goods po_no }			{END po_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$po_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="po_no" {$tooltipAttr qa_incoming_goods po_no } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods po_no }		</div>
	</div>
	</div>


{END po_no_fieldblock}
											
{BEGIN inspection_date_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_inspection_date}  r-vertical-field" 
	data-signal-error-for="inspection_date{$id}" {$required_attr_inspection_date}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field16" {$item_integrated_edit_field16}="" data-pageid="{$pageid}" data-field="inspection_date" data-fieldname="inspection_date" >

	<label class="r-edit-label control-label {$inspection_date_label_class}" for="{$labelfor_inspection_date}">
		{BEGIN inspection_date_label}
			{$inspection_date_forward_control}
			{$label qa_incoming_goods inspection_date }			{END inspection_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inspection_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inspection_date" {$tooltipAttr qa_incoming_goods inspection_date } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods inspection_date }		</div>
	</div>
	</div>


{END inspection_date_fieldblock}
											
{BEGIN qa_no_fieldblock}


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

	<label class="r-edit-label control-label {$qa_no_label_class}" for="{$labelfor_qa_no}">
		{BEGIN qa_no_label}
			{$qa_no_forward_control}
			{$label qa_incoming_goods qa_no }			{END qa_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$qa_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="qa_no" {$tooltipAttr qa_incoming_goods qa_no } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods qa_no }		</div>
	</div>
	</div>


{END qa_no_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
			 
																

{BEGIN cellblock_grid_c4}
<td
	{$cell_grid_c4}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c4" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{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_field12" {$item_integrated_edit_field12}="" 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 qa_incoming_goods 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 qa_incoming_goods mother_facility_id } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods mother_facility_id }		</div>
	</div>
	</div>


{END mother_facility_id_fieldblock}
											
{BEGIN batch_no_fieldblock}


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

	<label class="r-edit-label control-label {$batch_no_label_class}" for="{$labelfor_batch_no}">
		{BEGIN batch_no_label}
			{$batch_no_forward_control}
			{$label qa_incoming_goods batch_no }			{END batch_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$batch_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="batch_no" {$tooltipAttr qa_incoming_goods batch_no } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods batch_no }		</div>
	</div>
	</div>


{END batch_no_fieldblock}
											
{BEGIN vbn_fieldblock}


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

	<label class="r-edit-label control-label {$vbn_label_class}" for="{$labelfor_vbn}">
		{BEGIN vbn_label}
			{$vbn_forward_control}
			{$label qa_incoming_goods vbn }			{END vbn_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$vbn_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="vbn" {$tooltipAttr qa_incoming_goods vbn } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods vbn }		</div>
	</div>
	</div>


{END vbn_fieldblock}
	
								</td>
			{END cellblock_grid_c4}
			 
																

{BEGIN cellblock_grid_c}
<td
	{$cell_grid_c}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN no_of_inspectors_fieldblock}


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

	<label class="r-edit-label control-label {$no_of_inspectors_label_class}" for="{$labelfor_no_of_inspectors}">
		{BEGIN no_of_inspectors_label}
			{$no_of_inspectors_forward_control}
			{$label qa_incoming_goods no_of_inspectors }			{END no_of_inspectors_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$no_of_inspectors_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="no_of_inspectors" {$tooltipAttr qa_incoming_goods no_of_inspectors } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods no_of_inspectors }		</div>
	</div>
	</div>


{END no_of_inspectors_fieldblock}
											
{BEGIN receiving_warehouse_id_fieldblock}


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

	<label class="r-edit-label control-label {$receiving_warehouse_id_label_class}" for="{$labelfor_receiving_warehouse_id}">
		{BEGIN receiving_warehouse_id_label}
			{$receiving_warehouse_id_forward_control}
			{$label qa_incoming_goods receiving_warehouse_id }			{END receiving_warehouse_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$receiving_warehouse_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="receiving_warehouse_id" {$tooltipAttr qa_incoming_goods receiving_warehouse_id } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods receiving_warehouse_id }		</div>
	</div>
	</div>


{END receiving_warehouse_id_fieldblock}
											
{BEGIN location_fieldblock}


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

	<label class="r-edit-label control-label {$location_label_class}" for="{$labelfor_location}">
		{BEGIN location_label}
			{$location_forward_control}
			{$label qa_incoming_goods location }			{END location_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$location_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="location" {$tooltipAttr qa_incoming_goods location } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods location }		</div>
	</div>
	</div>


{END location_fieldblock}
	
								</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
														<tr {$row_grid_1} >
										

{BEGIN cellblock_grid_c11}
<td
	{$cell_grid_c11}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c11" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN source_fieldblock}


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

	<label class="r-edit-label control-label {$source_label_class}" for="{$labelfor_source}">
		{BEGIN source_label}
			{$source_forward_control}
			{$label qa_incoming_goods source }			{END source_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$source_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="source" {$tooltipAttr qa_incoming_goods source } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods source }		</div>
	</div>
	</div>


{END source_fieldblock}
											
{BEGIN dr_no_fieldblock}


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

	<label class="r-edit-label control-label {$dr_no_label_class}" for="{$labelfor_dr_no}">
		{BEGIN dr_no_label}
			{$dr_no_forward_control}
			{$label qa_incoming_goods dr_no }			{END dr_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$dr_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="dr_no" {$tooltipAttr qa_incoming_goods dr_no } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods dr_no }		</div>
	</div>
	</div>


{END dr_no_fieldblock}
											
{BEGIN audit_type_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_audit_type}  r-vertical-field" 
	data-signal-error-for="audit_type{$id}" {$required_attr_audit_type}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field27" {$item_integrated_edit_field27}="" data-pageid="{$pageid}" data-field="audit_type" data-fieldname="audit_type" >

	<label class="r-edit-label control-label {$audit_type_label_class}" for="{$labelfor_audit_type}">
		{BEGIN audit_type_label}
			{$audit_type_forward_control}
			{$label qa_incoming_goods audit_type }			{END audit_type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$audit_type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="audit_type" {$tooltipAttr qa_incoming_goods audit_type } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods audit_type }		</div>
	</div>
	</div>


{END audit_type_fieldblock}
	
								</td>
			{END cellblock_grid_c11}
			 
																

{BEGIN cellblock_grid_c14}
<td
	{$cell_grid_c14}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c14" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN supplier_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_label_class}" for="{$labelfor_supplier}">
		{BEGIN supplier_label}
			{$supplier_forward_control}
			{$label qa_incoming_goods supplier }			{END supplier_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier" {$tooltipAttr qa_incoming_goods supplier } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods supplier }		</div>
	</div>
	</div>


{END supplier_fieldblock}
											
{BEGIN donor_fieldblock}


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

	<label class="r-edit-label control-label {$donor_label_class}" for="{$labelfor_donor}">
		{BEGIN donor_label}
			{$donor_forward_control}
			{$label qa_incoming_goods donor }			{END donor_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$donor_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="donor" {$tooltipAttr qa_incoming_goods donor } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods donor }		</div>
	</div>
	</div>


{END donor_fieldblock}
	
								</td>
			{END cellblock_grid_c14}
			 
																

{BEGIN cellblock_grid_c2}
<td
	{$cell_grid_c2}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c2" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN time_started_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_time_started}  r-vertical-field" 
	data-signal-error-for="time_started{$id}" {$required_attr_time_started}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field17" {$item_integrated_edit_field17}="" data-pageid="{$pageid}" data-field="time_started" data-fieldname="time_started" >

	<label class="r-edit-label control-label {$time_started_label_class}" for="{$labelfor_time_started}">
		{BEGIN time_started_label}
			{$time_started_forward_control}
			{$label qa_incoming_goods time_started }			{END time_started_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$time_started_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="time_started" {$tooltipAttr qa_incoming_goods time_started } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods time_started }		</div>
	</div>
	</div>


{END time_started_fieldblock}
											
{BEGIN time_finished_fieldblock}


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

	<label class="r-edit-label control-label {$time_finished_label_class}" for="{$labelfor_time_finished}">
		{BEGIN time_finished_label}
			{$time_finished_forward_control}
			{$label qa_incoming_goods time_finished }			{END time_finished_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$time_finished_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="time_finished" {$tooltipAttr qa_incoming_goods time_finished } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods time_finished }		</div>
	</div>
	</div>


{END time_finished_fieldblock}
	
								</td>
			{END cellblock_grid_c2}
								</tr>
	 
	 
														<tr {$row_grid_2} >
										

{BEGIN cellblock_grid_c13}
<td
	{$cell_grid_c13}
	class=" r-ori-vert"
	
			
	ocolspan="2"		data-cellId="grid_c13" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN details_qa_incoming_goods_item}
<div data-itemtype="details_preview" data-itemid="details_preview1" {$item_details_preview1}="" data-pageid="{$pageid}" class="bs-details"> 
	<div class="panel panel-info details-grid">
		<div class="panel-heading">
			<h4 class="panel-title">
							{$details_pagetitle_qa_incoming_goods_item}			
							<span>
					{$detailslButtons_qa_incoming_goods_item}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_qa_incoming_goods_item}
		</div>
	</div>
</div>
{END details_qa_incoming_goods_item}
											
{BEGIN delivered_quantity_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_delivered_quantity}  r-vertical-field" 
	data-signal-error-for="delivered_quantity{$id}" {$required_attr_delivered_quantity}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field30" {$item_integrated_edit_field30}="" data-pageid="{$pageid}" data-field="delivered_quantity" data-fieldname="delivered_quantity" >

	<label class="r-edit-label control-label {$delivered_quantity_label_class}" for="{$labelfor_delivered_quantity}">
		{BEGIN delivered_quantity_label}
			{$delivered_quantity_forward_control}
			{$label qa_incoming_goods delivered_quantity }			{END delivered_quantity_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$delivered_quantity_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="delivered_quantity" {$tooltipAttr qa_incoming_goods delivered_quantity } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods delivered_quantity }		</div>
	</div>
	</div>


{END delivered_quantity_fieldblock}
											
{BEGIN accepted_quantity_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_accepted_quantity}  r-vertical-field" 
	data-signal-error-for="accepted_quantity{$id}" {$required_attr_accepted_quantity}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field32" {$item_integrated_edit_field32}="" data-pageid="{$pageid}" data-field="accepted_quantity" data-fieldname="accepted_quantity" >

	<label class="r-edit-label control-label {$accepted_quantity_label_class}" for="{$labelfor_accepted_quantity}">
		{BEGIN accepted_quantity_label}
			{$accepted_quantity_forward_control}
			{$label qa_incoming_goods accepted_quantity }			{END accepted_quantity_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$accepted_quantity_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="accepted_quantity" {$tooltipAttr qa_incoming_goods accepted_quantity } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods accepted_quantity }		</div>
	</div>
	</div>


{END accepted_quantity_fieldblock}
											
{BEGIN rejected_quantity_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_rejected_quantity}  r-vertical-field" 
	data-signal-error-for="rejected_quantity{$id}" {$required_attr_rejected_quantity}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field35" {$item_integrated_edit_field35}="" data-pageid="{$pageid}" data-field="rejected_quantity" data-fieldname="rejected_quantity" >

	<label class="r-edit-label control-label {$rejected_quantity_label_class}" for="{$labelfor_rejected_quantity}">
		{BEGIN rejected_quantity_label}
			{$rejected_quantity_forward_control}
			{$label qa_incoming_goods rejected_quantity }			{END rejected_quantity_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$rejected_quantity_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="rejected_quantity" {$tooltipAttr qa_incoming_goods rejected_quantity } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods rejected_quantity }		</div>
	</div>
	</div>


{END rejected_quantity_fieldblock}
	
								</td>
			{END cellblock_grid_c13}
			 
																

{BEGIN cellblock_grid_c15}
<td
	{$cell_grid_c15}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c15" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN total_sample_inspected_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_total_sample_inspected}  r-vertical-field" 
	data-signal-error-for="total_sample_inspected{$id}" {$required_attr_total_sample_inspected}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field39" {$item_integrated_edit_field39}="" data-pageid="{$pageid}" data-field="total_sample_inspected" data-fieldname="total_sample_inspected" >

	<label class="r-edit-label control-label {$total_sample_inspected_label_class}" for="{$labelfor_total_sample_inspected}">
		{BEGIN total_sample_inspected_label}
			{$total_sample_inspected_forward_control}
			{$label qa_incoming_goods total_sample_inspected }			{END total_sample_inspected_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$total_sample_inspected_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="total_sample_inspected" {$tooltipAttr qa_incoming_goods total_sample_inspected } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods total_sample_inspected }		</div>
	</div>
	</div>


{END total_sample_inspected_fieldblock}
											
{BEGIN average_acceptance_rate_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_average_acceptance_rate}  r-vertical-field" 
	data-signal-error-for="average_acceptance_rate{$id}" {$required_attr_average_acceptance_rate}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field40" {$item_integrated_edit_field40}="" data-pageid="{$pageid}" data-field="average_acceptance_rate" data-fieldname="average_acceptance_rate" >

	<label class="r-edit-label control-label {$average_acceptance_rate_label_class}" for="{$labelfor_average_acceptance_rate}">
		{BEGIN average_acceptance_rate_label}
			{$average_acceptance_rate_forward_control}
			{$label qa_incoming_goods average_acceptance_rate }			{END average_acceptance_rate_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$average_acceptance_rate_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="average_acceptance_rate" {$tooltipAttr qa_incoming_goods average_acceptance_rate } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods average_acceptance_rate }		</div>
	</div>
	</div>


{END average_acceptance_rate_fieldblock}
											
{BEGIN average_rejection_rate_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_average_rejection_rate}  r-vertical-field" 
	data-signal-error-for="average_rejection_rate{$id}" {$required_attr_average_rejection_rate}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field41" {$item_integrated_edit_field41}="" data-pageid="{$pageid}" data-field="average_rejection_rate" data-fieldname="average_rejection_rate" >

	<label class="r-edit-label control-label {$average_rejection_rate_label_class}" for="{$labelfor_average_rejection_rate}">
		{BEGIN average_rejection_rate_label}
			{$average_rejection_rate_forward_control}
			{$label qa_incoming_goods average_rejection_rate }			{END average_rejection_rate_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$average_rejection_rate_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="average_rejection_rate" {$tooltipAttr qa_incoming_goods average_rejection_rate } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods average_rejection_rate }		</div>
	</div>
	</div>


{END average_rejection_rate_fieldblock}
	
								</td>
			{END cellblock_grid_c15}
								</tr>
	 
	 
		
						<tr>
						

{BEGIN cellblock_grid_c8}
<td
	{$cell_grid_c8}
	class=" r-ori-vert"
	
			data-single
			
	ocolspan="2"		data-cellId="grid_c8" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c8}
			 
		
							

{BEGIN cellblock_grid_c17}
<td
	{$cell_grid_c17}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c17" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c17}
								</tr>
	 
	 
														<tr {$row_grid_4} >
										

{BEGIN cellblock_grid_c6}
<td
	{$cell_grid_c6}
	class=" r-ori-vert"
	
			data-single
			
	ocolspan="2"		data-cellId="grid_c6" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN details_qa_incoming_goods_detail}
<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">
							{$details_pagetitle_qa_incoming_goods_detail}			
							<span>
					{$detailslButtons_qa_incoming_goods_detail}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_qa_incoming_goods_detail}
		</div>
	</div>
</div>
{END details_qa_incoming_goods_detail}
	
								</td>
			{END cellblock_grid_c6}
			 
		
							

{BEGIN cellblock_grid_c9}
<td
	{$cell_grid_c9}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c9" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c9}
								</tr>
	 
	 
														<tr {$row_grid_5} >
										

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="3"		data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN final_action_taken_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_final_action_taken}  r-vertical-field" 
	data-signal-error-for="final_action_taken{$id}" {$required_attr_final_action_taken}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field42" {$item_integrated_edit_field42}="" data-pageid="{$pageid}" data-field="final_action_taken" data-fieldname="final_action_taken" >

	<label class="r-edit-label control-label {$final_action_taken_label_class}" for="{$labelfor_final_action_taken}">
		{BEGIN final_action_taken_label}
			{$final_action_taken_forward_control}
			{$label qa_incoming_goods final_action_taken }			{END final_action_taken_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$final_action_taken_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="final_action_taken" {$tooltipAttr qa_incoming_goods final_action_taken } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods final_action_taken }		</div>
	</div>
	</div>


{END final_action_taken_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
								</tr>
	 
	 
														<tr {$row_grid_6} >
										

{BEGIN cellblock_grid_c16}
<td
	{$cell_grid_c16}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="3"		data-cellId="grid_c16" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN inspector_notes_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_inspector_notes}  r-vertical-field" 
	data-signal-error-for="inspector_notes{$id}" {$required_attr_inspector_notes}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field44" {$item_integrated_edit_field44}="" data-pageid="{$pageid}" data-field="inspector_notes" data-fieldname="inspector_notes" >

	<label class="r-edit-label control-label {$inspector_notes_label_class}" for="{$labelfor_inspector_notes}">
		{BEGIN inspector_notes_label}
			{$inspector_notes_forward_control}
			{$label qa_incoming_goods inspector_notes }			{END inspector_notes_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inspector_notes_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inspector_notes" {$tooltipAttr qa_incoming_goods inspector_notes } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods inspector_notes }		</div>
	</div>
	</div>


{END inspector_notes_fieldblock}
	
								</td>
			{END cellblock_grid_c16}
								</tr>
	 
	 
																</tbody></table>
				 
	<div class="panel panel-default form-section" data-itemtype="section" data-itemid="section" {$item_section}="" data-pageid="{$pageid}" data-page="qa_incoming_goods_add">
		<div class="panel-heading" role="tab" {$section_section1_headattrs} 
			data-toggle="collapse"  

				href="#section1{$pageid}" aria-expanded="true" aria-controls="section1"

		>
		  <h4 class="panel-title">
		  				<a role="button" >
				Approvals			</a>
					  </h4>
		</div>
		<div  class="panel-collapse collapse in {$section_section1_xtrclass}" role="tabpanel"  {$section_section1_attrs}

				id="section1{$pageid}" 
		>
		  <div class="panel-body">
						{BEGIN section_block}




 
	 
												<table 
	data-body-align="left"
	data-location="section" id="form_section_{$pageid}" data-makeup="leftbar" {$form_section} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_section_0} >
										

{BEGIN cellblock_section_c1}
<td
	{$cell_section_c1}
	class=" r-ori-vert"
	
			
			data-cellId="section_c1" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN inspected_by_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_inspected_by}  r-vertical-field" 
	data-signal-error-for="inspected_by{$id}" {$required_attr_inspected_by}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field45" {$item_integrated_edit_field45}="" data-pageid="{$pageid}" data-field="inspected_by" data-fieldname="inspected_by" >

	<label class="r-edit-label control-label {$inspected_by_label_class}" for="{$labelfor_inspected_by}">
		{BEGIN inspected_by_label}
			{$inspected_by_forward_control}
			{$label qa_incoming_goods inspected_by }			{END inspected_by_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inspected_by_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inspected_by" {$tooltipAttr qa_incoming_goods inspected_by } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods inspected_by }		</div>
	</div>
	</div>


{END inspected_by_fieldblock}
											
{BEGIN inspected_by_name_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_inspected_by_name}  r-vertical-field" 
	data-signal-error-for="inspected_by_name{$id}" {$required_attr_inspected_by_name}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field46" {$item_integrated_edit_field46}="" data-pageid="{$pageid}" data-field="inspected_by_name" data-fieldname="inspected_by_name" >

	<label class="r-edit-label control-label {$inspected_by_name_label_class}" for="{$labelfor_inspected_by_name}">
		{BEGIN inspected_by_name_label}
			{$inspected_by_name_forward_control}
			{$label qa_incoming_goods inspected_by_name }			{END inspected_by_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$inspected_by_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="inspected_by_name" {$tooltipAttr qa_incoming_goods inspected_by_name } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods inspected_by_name }		</div>
	</div>
	</div>


{END inspected_by_name_fieldblock}
	
								</td>
			{END cellblock_section_c1}
			 
																

{BEGIN cellblock_section_c}
<td
	{$cell_section_c}
	class=" r-ori-vert"
	
			
			data-cellId="section_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN concurred_by_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_concurred_by}  r-vertical-field" 
	data-signal-error-for="concurred_by{$id}" {$required_attr_concurred_by}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field47" {$item_integrated_edit_field47}="" data-pageid="{$pageid}" data-field="concurred_by" data-fieldname="concurred_by" >

	<label class="r-edit-label control-label {$concurred_by_label_class}" for="{$labelfor_concurred_by}">
		{BEGIN concurred_by_label}
			{$concurred_by_forward_control}
			{$label qa_incoming_goods concurred_by }			{END concurred_by_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$concurred_by_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="concurred_by" {$tooltipAttr qa_incoming_goods concurred_by } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods concurred_by }		</div>
	</div>
	</div>


{END concurred_by_fieldblock}
											
{BEGIN concurred_by_name_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_concurred_by_name}  r-vertical-field" 
	data-signal-error-for="concurred_by_name{$id}" {$required_attr_concurred_by_name}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field48" {$item_integrated_edit_field48}="" data-pageid="{$pageid}" data-field="concurred_by_name" data-fieldname="concurred_by_name" >

	<label class="r-edit-label control-label {$concurred_by_name_label_class}" for="{$labelfor_concurred_by_name}">
		{BEGIN concurred_by_name_label}
			{$concurred_by_name_forward_control}
			{$label qa_incoming_goods concurred_by_name }			{END concurred_by_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$concurred_by_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="concurred_by_name" {$tooltipAttr qa_incoming_goods concurred_by_name } >
		<div class="text-muted" >
		{$tooltip qa_incoming_goods concurred_by_name }		</div>
	</div>
	</div>


{END concurred_by_name_fieldblock}
	
								</td>
			{END cellblock_section_c}
								</tr>
			</tbody></table>
{END section_block}
					  </div>
		</div>
	</div>
	
				 
	 
		
					<table 
	data-body-align="left"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="3"
		
		data-v-width="6"
	>
	<tbody>
						<tr>
						

{BEGIN cellblock_grid_c12}
<td
	{$cell_grid_c12}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="3"		data-cellId="grid_c12" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c12}
								</tr>
			</tbody></table>
{END grid_block}
	</div>
<div class="r-below">
					{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$form_below-grid} data-pageid="{$pageid}" data-page="qa_incoming_goods_add" >		
	 
				<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_save1" {$item_add_save1}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
					<span class=""></span>
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list1" {$item_add_back_list1}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
					<span class=""></span>
							{mlang_message BACK_TO_LIST}			</a>
</span>
{END back_button}
		</div>					</div>
			</div>		
{END below-grid_block}
	</div>




										{$footer}
				</div>
			</div>
			<div class="r-body-shadow">
			</div>
		</div>
	{END body}
	</body>
</html>
