<!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-list" {$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="purchaseorder2_list">
{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>
		
 

			<div class="clearfix  r-ori-vert" data-cellId="left_c1" data-pageid="{$pageid}" data-itemid="search_panel" {$item_search_panel} data-topcell-item-type="search_panel" >
				<!-- Begin Search panel content -->
<div class="searchOptions panel panel-primary searchPanelContainer " {$srchOpt_attrs} data-itemtype="search_panel" data-itemid="search_panel" {$item_search_panel}="" data-pageid="{$pageid}"	 >

	<div class="panel-heading">
		<div class="btn-group r-sp-addfield" id="addSearchFieldButton{$id}">
			<button id="showHideControlChooseMenu{$id}" type="button" class="btn btn-default dropdown-toggle btn-sm )" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			{mlang_message SEARCH_IN}			<span class="caret"></span>
			</button>
		</div>


		<div class="btn-group r-sp-options" id="searchPanelOptions{$id}">
			<button type="button" class="btn btn-default dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				<span class="glyphicon glyphicon glyphicon-option-vertical"></span>
			</button>
			<ul class="dropdown-menu dropdown-left">
				<li id="showHideSearchType{$id}" {$showHideCtrlsOpt_attrs}><a>{mlang_message SEARCH_SHOW_OPTIONS_BUTTON}</a></li>
				<li role="separator" class="divider"></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAll" {$all_checkbox}><label for="radioAll"><span class="glyphicon">&nbsp;</span>{mlang_message SEARCH_ALL_CONDITIONS}</label></a></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAny" {$any_checkbox}><label for="radioAny"><span class="glyphicon">&nbsp;</span>{mlang_message SEARCH_ANY_CONDITIONS}</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>{mlang_message HIDE}</a></li>
			</ul>
		</div>


		</div>
	<div class="panel-body controlsBlock" {$bottomSearchButt_attrs} >


		
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow form-group" {$filterRow_attrs}>
			<label>{$fLabel}</label>	{$delCtrlButt}
				<span class="rnr-searchtype">{$searchtype}</span>
				<span class="rnr-searchcontrol">{$searchcontrol}</span>
				<span class="rnr-searchcontrol">{$searchcontrol1}</span>
		</div>
		{END searchCtrlBlock}
																		{BEGIN searchCtrlBlock_delivery_warehouse_id}


		<div class="form-group srchPanelRow {$filterRow_class_delivery_warehouse_id}" {$filterRow_attrs_delivery_warehouse_id}>
			<label>{$label purchaseorder_for_approval delivery_warehouse_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_delivery_warehouse_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_delivery_warehouse_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_delivery_warehouse_id}</span>
						</div>
		{END searchCtrlBlock_delivery_warehouse_id}
																{BEGIN searchCtrlBlock_status}


		<div class="form-group srchPanelRow {$filterRow_class_status}" {$filterRow_attrs_status}>
			<label>{$label purchaseorder_for_approval status }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_status}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_status}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_status}</span>
						</div>
		{END searchCtrlBlock_status}
																{BEGIN searchCtrlBlock_print}


		<div class="form-group srchPanelRow {$filterRow_class_print}" {$filterRow_attrs_print}>
			<label>{$label purchaseorder_for_approval print }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_print}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_print}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_print}</span>
						</div>
		{END searchCtrlBlock_print}
																{BEGIN searchCtrlBlock_note}


		<div class="form-group srchPanelRow {$filterRow_class_note}" {$filterRow_attrs_note}>
			<label>{$label purchaseorder_for_approval note }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_note}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_note}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_note}</span>
						</div>
		{END searchCtrlBlock_note}
																{BEGIN searchCtrlBlock_philgeps_no}


		<div class="form-group srchPanelRow {$filterRow_class_philgeps_no}" {$filterRow_attrs_philgeps_no}>
			<label>{$label purchaseorder_for_approval philgeps_no }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_philgeps_no}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_philgeps_no}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_philgeps_no}</span>
						</div>
		{END searchCtrlBlock_philgeps_no}
																{BEGIN searchCtrlBlock_date}


		<div class="form-group srchPanelRow {$filterRow_class_date}" {$filterRow_attrs_date}>
			<label>{$label purchaseorder_for_approval date }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_date}</span>
						</div>
		{END searchCtrlBlock_date}
																{BEGIN searchCtrlBlock_tin}


		<div class="form-group srchPanelRow {$filterRow_class_tin}" {$filterRow_attrs_tin}>
			<label>{$label purchaseorder_for_approval tin }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_tin}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_tin}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_tin}</span>
						</div>
		{END searchCtrlBlock_tin}
																{BEGIN searchCtrlBlock_contact_no}


		<div class="form-group srchPanelRow {$filterRow_class_contact_no}" {$filterRow_attrs_contact_no}>
			<label>{$label purchaseorder_for_approval contact_no }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_contact_no}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_contact_no}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_contact_no}</span>
						</div>
		{END searchCtrlBlock_contact_no}
																{BEGIN searchCtrlBlock_address}


		<div class="form-group srchPanelRow {$filterRow_class_address}" {$filterRow_attrs_address}>
			<label>{$label purchaseorder_for_approval address }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_address}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_address}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_address}</span>
						</div>
		{END searchCtrlBlock_address}
																{BEGIN searchCtrlBlock_contract_number}


		<div class="form-group srchPanelRow {$filterRow_class_contract_number}" {$filterRow_attrs_contract_number}>
			<label>{$label purchaseorder_for_approval contract_number }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_contract_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_contract_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_contract_number}</span>
						</div>
		{END searchCtrlBlock_contract_number}
																{BEGIN searchCtrlBlock_call_off_number}


		<div class="form-group srchPanelRow {$filterRow_class_call_off_number}" {$filterRow_attrs_call_off_number}>
			<label>{$label purchaseorder_for_approval call_off_number }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_call_off_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_call_off_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_call_off_number}</span>
						</div>
		{END searchCtrlBlock_call_off_number}
																{BEGIN searchCtrlBlock_agreement_type}


		<div class="form-group srchPanelRow {$filterRow_class_agreement_type}" {$filterRow_attrs_agreement_type}>
			<label>{$label purchaseorder_for_approval agreement_type }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_agreement_type}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_agreement_type}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_agreement_type}</span>
						</div>
		{END searchCtrlBlock_agreement_type}
																{BEGIN searchCtrlBlock_po_type}


		<div class="form-group srchPanelRow {$filterRow_class_po_type}" {$filterRow_attrs_po_type}>
			<label>{$label purchaseorder_for_approval po_type }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_po_type}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_po_type}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_po_type}</span>
						</div>
		{END searchCtrlBlock_po_type}
																{BEGIN searchCtrlBlock_mode_of_procurement_id}


		<div class="form-group srchPanelRow {$filterRow_class_mode_of_procurement_id}" {$filterRow_attrs_mode_of_procurement_id}>
			<label>{$label purchaseorder_for_approval mode_of_procurement_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_mode_of_procurement_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_mode_of_procurement_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_mode_of_procurement_id}</span>
						</div>
		{END searchCtrlBlock_mode_of_procurement_id}
																{BEGIN searchCtrlBlock_fund_cluster_id}


		<div class="form-group srchPanelRow {$filterRow_class_fund_cluster_id}" {$filterRow_attrs_fund_cluster_id}>
			<label>{$label purchaseorder_for_approval fund_cluster_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_fund_cluster_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_fund_cluster_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_fund_cluster_id}</span>
						</div>
		{END searchCtrlBlock_fund_cluster_id}
																{BEGIN searchCtrlBlock_supplier_id}


		<div class="form-group srchPanelRow {$filterRow_class_supplier_id}" {$filterRow_attrs_supplier_id}>
			<label>{$label purchaseorder_for_approval supplier_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_supplier_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_supplier_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_supplier_id}</span>
						</div>
		{END searchCtrlBlock_supplier_id}
																{BEGIN searchCtrlBlock_preparing_user_id}


		<div class="form-group srchPanelRow {$filterRow_class_preparing_user_id}" {$filterRow_attrs_preparing_user_id}>
			<label>{$label purchaseorder_for_approval preparing_user_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_preparing_user_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_preparing_user_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_preparing_user_id}</span>
						</div>
		{END searchCtrlBlock_preparing_user_id}
																{BEGIN searchCtrlBlock_pr_id}


		<div class="form-group srchPanelRow {$filterRow_class_pr_id}" {$filterRow_attrs_pr_id}>
			<label>{$label purchaseorder_for_approval pr_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_pr_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_pr_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_pr_id}</span>
						</div>
		{END searchCtrlBlock_pr_id}
																{BEGIN searchCtrlBlock_updatedAt}


		<div class="form-group srchPanelRow {$filterRow_class_updatedAt}" {$filterRow_attrs_updatedAt}>
			<label>{$label purchaseorder_for_approval updatedAt }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_updatedAt}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_updatedAt}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_updatedAt}</span>
						</div>
		{END searchCtrlBlock_updatedAt}
																{BEGIN searchCtrlBlock_createdAt}


		<div class="form-group srchPanelRow {$filterRow_class_createdAt}" {$filterRow_attrs_createdAt}>
			<label>{$label purchaseorder_for_approval createdAt }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_createdAt}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_createdAt}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_createdAt}</span>
						</div>
		{END searchCtrlBlock_createdAt}
																{BEGIN searchCtrlBlock_net_pay}


		<div class="form-group srchPanelRow {$filterRow_class_net_pay}" {$filterRow_attrs_net_pay}>
			<label>{$label purchaseorder_for_approval net_pay }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_net_pay}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_net_pay}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_net_pay}</span>
						</div>
		{END searchCtrlBlock_net_pay}
																{BEGIN searchCtrlBlock_vat_amount}


		<div class="form-group srchPanelRow {$filterRow_class_vat_amount}" {$filterRow_attrs_vat_amount}>
			<label>{$label purchaseorder_for_approval vat_amount }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_vat_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_vat_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_vat_amount}</span>
						</div>
		{END searchCtrlBlock_vat_amount}
																{BEGIN searchCtrlBlock_net_amount}


		<div class="form-group srchPanelRow {$filterRow_class_net_amount}" {$filterRow_attrs_net_amount}>
			<label>{$label purchaseorder_for_approval net_amount }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_net_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_net_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_net_amount}</span>
						</div>
		{END searchCtrlBlock_net_amount}
																{BEGIN searchCtrlBlock_discount_amount}


		<div class="form-group srchPanelRow {$filterRow_class_discount_amount}" {$filterRow_attrs_discount_amount}>
			<label>{$label purchaseorder_for_approval discount_amount }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_discount_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_discount_amount}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_discount_amount}</span>
						</div>
		{END searchCtrlBlock_discount_amount}
																{BEGIN searchCtrlBlock_gross_purchase}


		<div class="form-group srchPanelRow {$filterRow_class_gross_purchase}" {$filterRow_attrs_gross_purchase}>
			<label>{$label purchaseorder_for_approval gross_purchase }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_gross_purchase}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_gross_purchase}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_gross_purchase}</span>
						</div>
		{END searchCtrlBlock_gross_purchase}
																{BEGIN searchCtrlBlock_ord_date}


		<div class="form-group srchPanelRow {$filterRow_class_ord_date}" {$filterRow_attrs_ord_date}>
			<label>{$label purchaseorder_for_approval ord_date }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_ord_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_ord_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_ord_date}</span>
						</div>
		{END searchCtrlBlock_ord_date}
																{BEGIN searchCtrlBlock_ord_number}


		<div class="form-group srchPanelRow {$filterRow_class_ord_number}" {$filterRow_attrs_ord_number}>
			<label>{$label purchaseorder_for_approval ord_number }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_ord_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_ord_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_ord_number}</span>
						</div>
		{END searchCtrlBlock_ord_number}
																{BEGIN searchCtrlBlock_payment_term}


		<div class="form-group srchPanelRow {$filterRow_class_payment_term}" {$filterRow_attrs_payment_term}>
			<label>{$label purchaseorder_for_approval payment_term }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_payment_term}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_payment_term}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_payment_term}</span>
						</div>
		{END searchCtrlBlock_payment_term}
																{BEGIN searchCtrlBlock_delivery_term}


		<div class="form-group srchPanelRow {$filterRow_class_delivery_term}" {$filterRow_attrs_delivery_term}>
			<label>{$label purchaseorder_for_approval delivery_term }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_delivery_term}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_delivery_term}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_delivery_term}</span>
						</div>
		{END searchCtrlBlock_delivery_term}
																{BEGIN searchCtrlBlock_delivery_date}


		<div class="form-group srchPanelRow {$filterRow_class_delivery_date}" {$filterRow_attrs_delivery_date}>
			<label>{$label purchaseorder_for_approval delivery_date }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_delivery_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_delivery_date}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_delivery_date}</span>
						</div>
		{END searchCtrlBlock_delivery_date}
																{BEGIN searchCtrlBlock_reference_number}


		<div class="form-group srchPanelRow {$filterRow_class_reference_number}" {$filterRow_attrs_reference_number}>
			<label>{$label purchaseorder_for_approval reference_number }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_reference_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_reference_number}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_reference_number}</span>
						</div>
		{END searchCtrlBlock_reference_number}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary btn-sm" id="searchButton{$id}" {$searchbutton_attrs}>{mlang_message SEARCH}</button>

				<button class="btn btn-default btn-sm" {$showAllCont_attrs} {$showallbutton_attrs}>{mlang_message SHOW_ALL}</button>
	</div>
</div>
<!-- End Search panel content -->
			</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="purchaseorder2_list" >
			 
							 
				<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  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="breadcrumb" {$item_breadcrumb} data-topcell-item-type="breadcrumb" >
				{BEGIN breadcrumb}
<ol class="breadcrumb" data-itemtype="breadcrumb" data-itemid="breadcrumb" {$item_breadcrumb}="" data-pageid="{$pageid}">
<li ><a href="{$crumb_home_link}"><span class="glyphicon glyphicon-home"></span></a>{$crumb_dropdown}</li>
{BEGIN crumb}
  <li class="{$crumb_item_class}">
{BEGIN crumb_title_link}
	<a {$crumb_attrs}>{$crumb_title}</a>
{END crumb_title_link}
{BEGIN crumb_title_span}
	<span {$crumb_attrs}>{$crumb_title}</span>
{END crumb_title_span}	
	{$crumb_dropdown}
  </li>
{END crumb}
</ol>
{END breadcrumb}			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search" {$item_simple_search} data-topcell-item-type="simple_search" >
				<span data-itemtype="simple_search" data-itemid="simple_search" {$item_simple_search}="" data-pageid="{$pageid}" class="form-group">

<div  class="input-group">
{BEGIN searchform_text}
	<input type="search" class="form-control" {$searchfor_attrs} size="25">
{END searchform_text}
	<span class="input-group-btn">
	{BEGIN searchform_showall}
				<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs} title="{mlang_message SHOW_ALL}">
			<span class="glyphicon glyphicon-remove"></span>
		</button>
	{END searchform_showall}

	{BEGIN searchform_search}
	<button {$searchbutton_attrs} class="btn btn-primary" >
		<span class="glyphicon glyphicon-search"></span>
	</button>
	{END searchform_search}
	</span>
</div>
		
</span>			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="list_options" {$item_list_options} data-topcell-item-type="list_options" >
				<span data-itemtype="list_options" data-itemid="list_options" {$item_list_options}="" 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">		
										<span class="glyphicon glyphicon-cog"></span>
												<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN exportselected_link}
	<li data-itemtype="export_selected" data-itemid="export_selected" {$item_export_selected}="" data-pageid="{$pageid}" data-small="" >
				<a  href="#" {$exportselectedlink_attrs} {$exportselectedlink_span}  title="" >
				
		{mlang_message EXPORT_SELECTED}		
		</a>
	</li>
{END exportselected_link}
							{BEGIN deleteselected_link}
	<li data-itemtype="delete_selected" data-itemid="delete_selected" {$item_delete_selected}="" data-pageid="{$pageid}" data-small="" >
				<a  href="#" {$deleteselectedlink_attrs} {$deleteselectedlink_span}  title="" >
				
		{mlang_message DELETE_SELECTED}		
		</a>
	</li>
{END deleteselected_link}
							<li role="separator" class="divider"></li>							{BEGIN searchPanelTopButtons}
	<li data-itemtype="show_search_panel" data-itemid="show_search_panel" {$item_show_search_panel}="" data-pageid="{$pageid}" data-small="" >
				<a  id="showOptPanel{$id}"  title="" >
				
		{mlang_message SHOW_SEARCH_PANEL}		
		</a>
	</li>
{END searchPanelTopButtons}
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="hide_search_panel" data-itemid="hide_search_panel" {$item_hide_search_panel}="" data-pageid="{$pageid}" data-small="" >
				<a  id="hideOptPanel{$id}"  title="" >
				
		{mlang_message HIDE_SEARCH_PANEL}		
		</a>
	</li>
{END searchPanelTopButtons}
							<li role="separator" class="divider"></li>							{BEGIN export_link}
	<li data-itemtype="export" data-itemid="export" {$item_export}="" data-pageid="{$pageid}" data-small="" >
				<a  href="#" {$exportlink_attrs}  title="" >
				
		{mlang_message EXPORT_RESULTS}		
		</a>
	</li>
{END export_link}
							<li role="separator" class="divider"></li>							{BEGIN import_link}
	<li data-itemtype="import" data-itemid="import" {$item_import}="" data-pageid="{$pageid}" data-small="" >
				<a  {$importlink_attrs} href="purchaseorder2_import.php{$stateLink_full}"  title="" >
				
		{mlang_message IMPORT}		
		</a>
	</li>
{END import_link}
					</ul>
	</span>
</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="purchaseorder2_list" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="top_c2" data-pageid="{$pageid}"	{$cell_top_c2}
	class=" r-ori-vert			col-md-12
	
">
			</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="purchaseorder2_list" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="			col-md-6
	
">
		{BEGIN firstAboveGridCell}
		 
		{BEGIN add_link}
<span data-itemtype="add" data-itemid="add" {$item_add}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$addlink_attrs} href="purchaseorder2_add.php{$stateLink_full}" >
							{mlang_message ADD_NEW}			</a>
</span>
{END add_link}
	 
		{BEGIN deleteselected_link}
<span data-itemtype="delete" data-itemid="delete" {$item_delete}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$deleteselectedlink_attrs} {$deleteselectedlink_span} disabled >
							{mlang_message DELETE}			</a>
</span>
{END deleteselected_link}
			{END firstAboveGridCell}	
	</div>			 
				<div 
	data-cellId="above-grid_c2" data-pageid="{$pageid}"	{$cell_above-grid_c2}
	class="r-align-right			col-md-6
	
">
		 
		<span data-itemtype="details_found" data-itemid="details_found" {$item_details_found}="" data-pageid="{$pageid}" >
{$mlp_push}{$mlparam first var first_shown}{$mlparam last var last_shown}{$mlparam total var records_found}{mlang_message DISPLAYING}{$mlp_pop}</span>	 
		<span data-itemtype="page_size" data-itemid="page_size" {$item_page_size}="" data-pageid="{$pageid}" >
		{$recsPerPage}
</span>	 
		{BEGIN print_friendly}
<span id="printpanelblock{$id}"  data-pageid="{$pageid}" {$printpanel_hiddenattr} data-itemtype="print_panel" data-itemid="print_panel" {$item_print_panel}="" data-pageid="{$pageid}">
	<button title="{mlang_message WR_PRINT_FRIENDLY}" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
					<span class="glyphicon glyphicon-print"></span>
				<span class="caret"></span>
	</button>
	<ul class="dropdown-menu pull-right">
										 
				 
					<li class="container-fluid 
										">
									<div id="print_friendly_scope{$id}">
	<div class="row">
		<div class="col-md-4">
			{mlang_message PPANEL_SCOPE}		</div>

			 
		{BEGIN print_friendly_all}
		<div class="col-md-8">
			<label for="printAll{$id}">
				<input type="radio" id="printAll{$id}" data-href="_print.php?all=1&amp;{$crosstable_attrs}" name="printScope" >
									{mlang_message PPANEL_ALL_PAGES}							</label>
		</div>
		{END print_friendly_all}
		</div>
		<div class="row">
		<div class="col-md-4">&nbsp;</div>
		<div class="col-md-8">
			<label for="printPage{$id}">
				<input name="printScope" id="printPage{$id}" type="radio" checked data-href="purchaseorder2_print.php?{$crosstable_attrs}">
				{mlang_message PPANEL_THIS_PAGE}			</label>
		</div>
	</div>
		
		 
	<div class="row">
		<div class="col-md-4">
			&nbsp;
		</div>
		<div class="col-md-8">
			<label style="color: gray;" for="printSelection{$id}">
			<input name="printScope" disabled="disabled" id="printSelection{$id}" type="radio" >
			{mlang_message PPANEL_SELECTED}			</label>
		</div>
	</div>
	</div>
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									{BEGIN print_details}
<div>
	<label for="printDetailsToggler{$id}">
		<input type="checkbox" id="printDetailsToggler{$id}">
		{mlang_message PPANEL_DETAILS}	</label>
	<div  id="printdetailstables{$id}" style="display:none;">
											{BEGIN print_details_purchaseorderdetail}
			<div>
				<label for="printDetailspurchaseorderdetail{$id}">
					<input type="checkbox" value="purchaseorderdetail" id="printDetailspurchaseorderdetail{$id}" checked>
					{$caption purchaseorderdetail }				</label>
			</div>
			{END print_details_purchaseorderdetail}
						</div>
</div>
{END print_details}
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									<div>
	<label for="printPerPage{$id}">
					{mlang_message RECORDS_PP}							
	</label>
	<input type="number" id="printPerPage{$id}" value="{$print_recspp}" class="form-control input-sm rnr-printrecspp">		
</div>
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
					 text-center 					">
									<span data-itemtype="print_button" data-itemid="print_button" {$item_print_button}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" id="print_friendly_button{$id}" >
							{mlang_message PPANEL_PRINT}			</a>
</span>
				 
					</li>
															</ul>
</span>
{END print_friendly}
		</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}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}	<style>
@media screen and (max-width: 767px) {
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="reference_number"]:before {
		content: "{$label purchaseorder_for_approval reference_number}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="delivery_date"]:before {
		content: "{$label purchaseorder_for_approval delivery_date}";
	}
				[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="payment_term"]:before {
		content: "{$label purchaseorder_for_approval payment_term}";
	}
					[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="gross_purchase"]:before {
		content: "{$label purchaseorder_for_approval gross_purchase}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="discount_amount"]:before {
		content: "{$label purchaseorder_for_approval discount_amount}";
	}
				[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="vat_amount"]:before {
		content: "{$label purchaseorder_for_approval vat_amount}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="net_pay"]:before {
		content: "{$label purchaseorder_for_approval net_pay}";
	}
					[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="pr_id"]:before {
		content: "{$label purchaseorder_for_approval pr_id}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="preparing_user_id"]:before {
		content: "{$label purchaseorder_for_approval preparing_user_id}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="supplier_id"]:before {
		content: "{$label purchaseorder_for_approval supplier_id}";
	}
				[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="mode_of_procurement_id"]:before {
		content: "{$label purchaseorder_for_approval mode_of_procurement_id}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="delivery_warehouse_id"]:before {
		content: "{$label purchaseorder_for_approval delivery_warehouse_id}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="po_type"]:before {
		content: "{$label purchaseorder_for_approval po_type}";
	}
									[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="date"]:before {
		content: "{$label purchaseorder_for_approval date}";
	}
				[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="note"]:before {
		content: "{$label purchaseorder_for_approval note}";
	}
				[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="status"]:before {
		content: "{$label purchaseorder_for_approval status}";
	}
	}
</style>
<table data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" data-page="purchaseorder2_list" class=" table table-striped table-bordered r-horizontal-grid  r-flexgrid rnr-b-grid rnr-gridtable"
	cellpadding="0"
	data-body-height="2"
>
						<thead>
			{BEGIN grid_header}
			
																														<tr {$rowattrs} {$row_grid_0} class="{$rowclass}
									{$gridHeader_class}
					
								r-gridrow
							">
									{BEGIN cellblock_grid_headcell_icons}
	<th
	
	{$cell_grid_headcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"		data-control-cell
	
	>

	
	</th>
	{END cellblock_grid_headcell_icons}
									{BEGIN cellblock_grid_headcell_checkbox}
	<th
	
	{$cell_grid_headcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox_head" data-itemid="grid_checkbox_head" {$item_grid_checkbox_head}="" data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkboxheader_attrs}>
</span>
{END checkbox_column}
	
	</th>
	{END cellblock_grid_headcell_checkbox}
									{BEGIN cellblock_grid_headcell_details}
	<th
	
	{$cell_grid_headcell_details}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_details" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</th>
	{END cellblock_grid_headcell_details}
									{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$status_class}	"

			data-field="status"
	
	data-cellId="grid_headcell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN status_fieldheadercolumn}
	{BEGIN status_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field11" {$item_simple_grid_field11}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status" data-fieldname="status" 

			{$status_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval status }</span>
					{$arrow_icon_status}
			</span>
	</span>
	{END status_fieldheader}
{END status_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field}
									{BEGIN cellblock_grid_headcell_field1}
	<th
	
	{$cell_grid_headcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$date_class}	"

			data-field="date"
	
	data-cellId="grid_headcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN date_fieldheadercolumn}
	{BEGIN date_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="grid_field8" {$item_grid_field8}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="date" data-fieldname="date" 

			{$date_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval date }</span>
					{$arrow_icon_date}
			</span>
	</span>
	{END date_fieldheader}
{END date_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field1}
									{BEGIN cellblock_grid_headcell_field2}
	<th
	
	{$cell_grid_headcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$reference_number_class}	"

			data-field="reference_number"
	
	data-cellId="grid_headcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN reference_number_fieldheadercolumn}
	{BEGIN reference_number_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field12" {$item_simple_grid_field12}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="reference_number" data-fieldname="reference_number" 

			{$reference_number_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval reference_number }</span>
					{$arrow_icon_reference_number}
			</span>
	</span>
	{END reference_number_fieldheader}
{END reference_number_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
									{BEGIN cellblock_grid_headcell_field3}
	<th
	
	{$cell_grid_headcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$pr_id_class}	"

			data-field="pr_id"
	
	data-cellId="grid_headcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN pr_id_fieldheadercolumn}
	{BEGIN pr_id_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field13" {$item_simple_grid_field13}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pr_id" data-fieldname="pr_id" 

			{$pr_id_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval pr_id }</span>
					{$arrow_icon_pr_id}
			</span>
	</span>
	{END pr_id_fieldheader}
{END pr_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field3}
									{BEGIN cellblock_grid_headcell_field4}
	<th
	
	{$cell_grid_headcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$po_type_class}	"

			data-field="po_type"
	
	data-cellId="grid_headcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN po_type_fieldheadercolumn}
	{BEGIN po_type_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="grid_field1" {$item_grid_field1}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="po_type" data-fieldname="po_type" 

			{$po_type_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval po_type }</span>
					{$arrow_icon_po_type}
			</span>
	</span>
	{END po_type_fieldheader}
{END po_type_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field4}
									{BEGIN cellblock_grid_headcell_field5}
	<th
	
	{$cell_grid_headcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$supplier_id_class}	"

			data-field="supplier_id"
	
	data-cellId="grid_headcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN supplier_id_fieldheadercolumn}
	{BEGIN supplier_id_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field17" {$item_simple_grid_field17}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="supplier_id" data-fieldname="supplier_id" 

			{$supplier_id_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval supplier_id }</span>
					{$arrow_icon_supplier_id}
			</span>
	</span>
	{END supplier_id_fieldheader}
{END supplier_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field5}
									{BEGIN cellblock_grid_headcell_field6}
	<th
	
	{$cell_grid_headcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$mode_of_procurement_id_class}	"

			data-field="mode_of_procurement_id"
	
	data-cellId="grid_headcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN mode_of_procurement_id_fieldheadercolumn}
	{BEGIN mode_of_procurement_id_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field19" {$item_simple_grid_field19}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="mode_of_procurement_id" data-fieldname="mode_of_procurement_id" 

			{$mode_of_procurement_id_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval mode_of_procurement_id }</span>
					{$arrow_icon_mode_of_procurement_id}
			</span>
	</span>
	{END mode_of_procurement_id_fieldheader}
{END mode_of_procurement_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field6}
									{BEGIN cellblock_grid_headcell_field7}
	<th
	
	{$cell_grid_headcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_warehouse_id_class}	"

			data-field="delivery_warehouse_id"
	
	data-cellId="grid_headcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN delivery_warehouse_id_fieldheadercolumn}
	{BEGIN delivery_warehouse_id_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field14" {$item_simple_grid_field14}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="delivery_warehouse_id" data-fieldname="delivery_warehouse_id" 

			{$delivery_warehouse_id_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval delivery_warehouse_id }</span>
					{$arrow_icon_delivery_warehouse_id}
			</span>
	</span>
	{END delivery_warehouse_id_fieldheader}
{END delivery_warehouse_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field7}
									{BEGIN cellblock_grid_headcell_field8}
	<th
	
	{$cell_grid_headcell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_date_class}	"

			data-field="delivery_date"
	
	data-cellId="grid_headcell_field8" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN delivery_date_fieldheadercolumn}
	{BEGIN delivery_date_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field15" {$item_simple_grid_field15}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="delivery_date" data-fieldname="delivery_date" 

			{$delivery_date_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval delivery_date }</span>
					{$arrow_icon_delivery_date}
			</span>
	</span>
	{END delivery_date_fieldheader}
{END delivery_date_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field8}
									{BEGIN cellblock_grid_headcell_field9}
	<th
	
	{$cell_grid_headcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$payment_term_class}	"

			data-field="payment_term"
	
	data-cellId="grid_headcell_field9" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN payment_term_fieldheadercolumn}
	{BEGIN payment_term_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field20" {$item_simple_grid_field20}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="payment_term" data-fieldname="payment_term" 

			{$payment_term_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval payment_term }</span>
					{$arrow_icon_payment_term}
			</span>
	</span>
	{END payment_term_fieldheader}
{END payment_term_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field9}
									{BEGIN cellblock_grid_headcell_field10}
	<th
	
	{$cell_grid_headcell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_purchase_class}	"

			data-field="gross_purchase"
	
	data-cellId="grid_headcell_field10" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN gross_purchase_fieldheadercolumn}
	{BEGIN gross_purchase_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field21" {$item_simple_grid_field21}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="gross_purchase" data-fieldname="gross_purchase" 

			{$gross_purchase_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval gross_purchase }</span>
					{$arrow_icon_gross_purchase}
			</span>
	</span>
	{END gross_purchase_fieldheader}
{END gross_purchase_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field10}
									{BEGIN cellblock_grid_headcell_field11}
	<th
	
	{$cell_grid_headcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_amount_class}	"

			data-field="discount_amount"
	
	data-cellId="grid_headcell_field11" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN discount_amount_fieldheadercolumn}
	{BEGIN discount_amount_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field22" {$item_simple_grid_field22}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="discount_amount" data-fieldname="discount_amount" 

			{$discount_amount_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval discount_amount }</span>
					{$arrow_icon_discount_amount}
			</span>
	</span>
	{END discount_amount_fieldheader}
{END discount_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field11}
									{BEGIN cellblock_grid_headcell_field12}
	<th
	
	{$cell_grid_headcell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

			data-field="vat_amount"
	
	data-cellId="grid_headcell_field12" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_amount_fieldheadercolumn}
	{BEGIN vat_amount_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field23" {$item_simple_grid_field23}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_amount" data-fieldname="vat_amount" 

			{$vat_amount_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval vat_amount }</span>
					{$arrow_icon_vat_amount}
			</span>
	</span>
	{END vat_amount_fieldheader}
{END vat_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field12}
									{BEGIN cellblock_grid_headcell_field13}
	<th
	
	{$cell_grid_headcell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_pay_class}	"

			data-field="net_pay"
	
	data-cellId="grid_headcell_field13" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN net_pay_fieldheadercolumn}
	{BEGIN net_pay_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field24" {$item_simple_grid_field24}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="net_pay" data-fieldname="net_pay" 

			{$net_pay_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval net_pay }</span>
					{$arrow_icon_net_pay}
			</span>
	</span>
	{END net_pay_fieldheader}
{END net_pay_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field13}
									{BEGIN cellblock_grid_headcell_field14}
	<th
	
	{$cell_grid_headcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$preparing_user_id_class}	"

			data-field="preparing_user_id"
	
	data-cellId="grid_headcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN preparing_user_id_fieldheadercolumn}
	{BEGIN preparing_user_id_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field25" {$item_simple_grid_field25}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="preparing_user_id" data-fieldname="preparing_user_id" 

			{$preparing_user_id_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval preparing_user_id }</span>
					{$arrow_icon_preparing_user_id}
			</span>
	</span>
	{END preparing_user_id_fieldheader}
{END preparing_user_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field14}
									{BEGIN cellblock_grid_headcell_field15}
	<th
	
	{$cell_grid_headcell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$note_class}	"

			data-field="note"
	
	data-cellId="grid_headcell_field15" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN note_fieldheadercolumn}
	{BEGIN note_fieldheader}
<span 
	data-itemtype="grid_field_label" data-itemid="grid_field10" {$item_grid_field10}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="note" data-fieldname="note" 

			{$note_orderlinkattrs}
	
	
	>
	<span class="text-label">
		<span>{$label purchaseorder_for_approval note }</span>
					{$arrow_icon_note}
			</span>
	</span>
	{END note_fieldheader}
{END note_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field15}
							</tr>
																				
					{END grid_header}
			</thead>
															<tbody>
					{BEGIN grid_row}
							
																																			<tr {$rowattrs} {$row_grid_1} class="{$rowclass}
				
								r-gridrow
							">
									{BEGIN cellblock_grid_cell_icons}
	<td
	
	{$cell_grid_cell_icons}
	{$recordattrs}
	class="
					"

	
	data-cellId="grid_cell_icons" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"		data-control-cell
	
	>

	 
		{BEGIN edit_column}
{BEGIN edit_link}
<span data-itemtype="grid_edit" data-itemid="grid_edit" {$item_grid_edit}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-small="" data-button-item>
	<a type="button" title="{mlang_message EDIT}" class="btn-link   
	 glyphicon glyphicon-pencil" href="purchaseorder2_edit.php?{$editlink}" {$editlink_attrs} title="{mlang_message EDIT}" >		
				
								</a>
</span>
{END edit_link}
{END edit_column}
	 
		{BEGIN view_column}
{BEGIN view_link}
<span data-itemtype="grid_view" data-itemid="grid_view" {$item_grid_view}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-small="" data-button-item>
	<a type="button" title="{mlang_message VIEW_RECORD}" class="btn-link   
	 glyphicon glyphicon-search" href="purchaseorder2_view.php?{$editlink}" {$viewlink_attrs} title="{mlang_message VIEW}" >		
				
								</a>
</span>
{END view_link}
{END view_column}
	
	</td>
	{END cellblock_grid_cell_icons}
									{BEGIN cellblock_grid_cell_checkbox}
	<td
	
	{$cell_grid_cell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"		data-control-cell
	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox" data-itemid="grid_checkbox" {$item_grid_checkbox}="" data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkbox_attrs}
		>
</span>	
{END checkbox_column}
	
	</td>
	{END cellblock_grid_cell_checkbox}
									{BEGIN cellblock_grid_cell_details}
	<td
	
	{$cell_grid_cell_details}
	{$recordattrs}
	class="
					"

	
	data-cellId="grid_cell_details" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"		data-control-cell
	
	>

	 
			 
		
	{BEGIN dtables_link}
				<span data-itemtype="grid_details_link" data-itemid="grid_details_link1" {$item_grid_details_link1}="" data-pageid="{$pageid}" data-record-id="{$recId}">
		<a 
			{$purchaseorderdetail_link_attrs} 
			class="{$dtables_link_class} details-badge badge purchaseorderdetail_badge" 
			title="{mlang_message SHOW_DETAILS}"
						
		>
							<span class="glyphicon glyphicon-th-list"></span>
									<span class="{$purchaseorderdetail_cntspan_class}" {$purchaseorderdetail_childnumber_attr}>
				{$purchaseorderdetail_childnumber}				
			</span>
		</a>
		</span>
	{END dtables_link}

	
	</td>
	{END cellblock_grid_cell_details}
									{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$status_class}	"

			data-field="status"
	
	data-cellId="grid_cell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN status_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="status" data-fieldname="status" data-default-width="" >
{$status_value}
</span>
{END status_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
									{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$date_class}	"

			data-field="date"
	
	data-cellId="grid_cell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN date_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field7" {$item_grid_field7}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="date" data-fieldname="date" data-default-width="" >
{$date_value}
</span>
{END date_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
									{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$reference_number_class}	"

			data-field="reference_number"
	
	data-cellId="grid_cell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN reference_number_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="reference_number" data-fieldname="reference_number" data-default-width="" >
{$reference_number_value}
</span>
{END reference_number_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
									{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$pr_id_class}	"

			data-field="pr_id"
	
	data-cellId="grid_cell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN pr_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="pr_id" data-fieldname="pr_id" data-default-width="" >
{$pr_id_value}
</span>
{END pr_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
									{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$po_type_class}	"

			data-field="po_type"
	
	data-cellId="grid_cell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN po_type_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field" {$item_grid_field}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="po_type" data-fieldname="po_type" data-default-width="" >
{$po_type_value}
</span>
{END po_type_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
									{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$supplier_id_class}	"

			data-field="supplier_id"
	
	data-cellId="grid_cell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN supplier_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field16" {$item_simple_grid_field16}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="supplier_id" data-fieldname="supplier_id" data-default-width="" >
{$supplier_id_value}
</span>
{END supplier_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field5}
									{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$mode_of_procurement_id_class}	"

			data-field="mode_of_procurement_id"
	
	data-cellId="grid_cell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN mode_of_procurement_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field18" {$item_simple_grid_field18}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="mode_of_procurement_id" data-fieldname="mode_of_procurement_id" data-default-width="" >
{$mode_of_procurement_id_value}
</span>
{END mode_of_procurement_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
									{BEGIN cellblock_grid_cell_field7}
	<td
	
	{$cell_grid_cell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_warehouse_id_class}	"

			data-field="delivery_warehouse_id"
	
	data-cellId="grid_cell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN delivery_warehouse_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field3" {$item_simple_grid_field3}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="delivery_warehouse_id" data-fieldname="delivery_warehouse_id" data-default-width="" >
{$delivery_warehouse_id_value}
</span>
{END delivery_warehouse_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field7}
									{BEGIN cellblock_grid_cell_field8}
	<td
	
	{$cell_grid_cell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_date_class}	"

			data-field="delivery_date"
	
	data-cellId="grid_cell_field8" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN delivery_date_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="delivery_date" data-fieldname="delivery_date" data-default-width="" >
{$delivery_date_value}
</span>
{END delivery_date_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field8}
									{BEGIN cellblock_grid_cell_field9}
	<td
	
	{$cell_grid_cell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$payment_term_class}	"

			data-field="payment_term"
	
	data-cellId="grid_cell_field9" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN payment_term_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field5" {$item_simple_grid_field5}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="payment_term" data-fieldname="payment_term" data-default-width="" >
{$payment_term_value}
</span>
{END payment_term_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field9}
									{BEGIN cellblock_grid_cell_field10}
	<td
	
	{$cell_grid_cell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_purchase_class}	"

			data-field="gross_purchase"
	
	data-cellId="grid_cell_field10" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN gross_purchase_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field6" {$item_simple_grid_field6}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="gross_purchase" data-fieldname="gross_purchase" data-default-width="" >
{$gross_purchase_value}
</span>
{END gross_purchase_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field10}
									{BEGIN cellblock_grid_cell_field11}
	<td
	
	{$cell_grid_cell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_amount_class}	"

			data-field="discount_amount"
	
	data-cellId="grid_cell_field11" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN discount_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field7" {$item_simple_grid_field7}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="discount_amount" data-fieldname="discount_amount" data-default-width="" >
{$discount_amount_value}
</span>
{END discount_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field11}
									{BEGIN cellblock_grid_cell_field12}
	<td
	
	{$cell_grid_cell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

			data-field="vat_amount"
	
	data-cellId="grid_cell_field12" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field9" {$item_simple_grid_field9}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_amount" data-fieldname="vat_amount" data-default-width="" >
{$vat_amount_value}
</span>
{END vat_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field12}
									{BEGIN cellblock_grid_cell_field13}
	<td
	
	{$cell_grid_cell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_pay_class}	"

			data-field="net_pay"
	
	data-cellId="grid_cell_field13" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN net_pay_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field10" {$item_simple_grid_field10}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="net_pay" data-fieldname="net_pay" data-default-width="" >
{$net_pay_value}
</span>
{END net_pay_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field13}
									{BEGIN cellblock_grid_cell_field14}
	<td
	
	{$cell_grid_cell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$preparing_user_id_class}	"

			data-field="preparing_user_id"
	
	data-cellId="grid_cell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN preparing_user_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field8" {$item_simple_grid_field8}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="preparing_user_id" data-fieldname="preparing_user_id" data-default-width="" >
{$preparing_user_id_value}
</span>
{END preparing_user_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field14}
									{BEGIN cellblock_grid_cell_field15}
	<td
	
	{$cell_grid_cell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$note_class}	"

			data-field="note"
	
	data-cellId="grid_cell_field15" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN note_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field9" {$item_grid_field9}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="note" data-fieldname="note" data-default-width="" >
{$note_value}
</span>
{END note_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field15}
							</tr>
											<tr {$rowattrs} {$row_grid_2} class="{$rowclass}
				
							">
									{BEGIN cellblock_grid_cell_dpreview}
	<td
	
	{$cell_grid_cell_dpreview}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_dpreview" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
			<div data-itemtype="details_preview" data-itemid="details_preview1" {$item_details_preview1}="" data-pageid="{$pageid}" data-record-id="{$recId}" 
	data-orders="purchaseorderdetail"
			data-details-purchaseorderdetail	>
		<span data-details-inside data-short-table="purchaseorderdetail">
			</span>
		<div data-details-preview>
	</div>
</div>
	
	</td>
	{END cellblock_grid_cell_dpreview}
							</tr>
										
											{END grid_row}
					</tbody>
													<tfoot>
			
																																													<tr {$rowattrs} {$row_grid_3} class="{$rowclass}
									{$gridFooter_class}
					
								r-gridrow
							">
									{BEGIN cellblock_grid_footcell_icons}
	<td
	
	{$cell_grid_footcell_icons}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_icons" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_icons}
									{BEGIN cellblock_grid_footcell_checkbox}
	<td
	
	{$cell_grid_footcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_checkbox}
									{BEGIN cellblock_grid_footcell_details}
	<td
	
	{$cell_grid_footcell_details}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_footcell_details" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	
	</td>
	{END cellblock_grid_footcell_details}
									{BEGIN cellblock_grid_footcell_field}
	<td
	
	{$cell_grid_footcell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$status_class}	"

	
	data-cellId="grid_footcell_field" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field}
									{BEGIN cellblock_grid_footcell_field1}
	<td
	
	{$cell_grid_footcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$date_class}	"

	
	data-cellId="grid_footcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field1}
									{BEGIN cellblock_grid_footcell_field2}
	<td
	
	{$cell_grid_footcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$reference_number_class}	"

	
	data-cellId="grid_footcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field2}
									{BEGIN cellblock_grid_footcell_field3}
	<td
	
	{$cell_grid_footcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$pr_id_class}	"

	
	data-cellId="grid_footcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field3}
									{BEGIN cellblock_grid_footcell_field4}
	<td
	
	{$cell_grid_footcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$po_type_class}	"

	
	data-cellId="grid_footcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field4}
									{BEGIN cellblock_grid_footcell_field5}
	<td
	
	{$cell_grid_footcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$supplier_id_class}	"

	
	data-cellId="grid_footcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field5}
									{BEGIN cellblock_grid_footcell_field6}
	<td
	
	{$cell_grid_footcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$mode_of_procurement_id_class}	"

	
	data-cellId="grid_footcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field6}
									{BEGIN cellblock_grid_footcell_field7}
	<td
	
	{$cell_grid_footcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_warehouse_id_class}	"

	
	data-cellId="grid_footcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field7}
									{BEGIN cellblock_grid_footcell_field8}
	<td
	
	{$cell_grid_footcell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$delivery_date_class}	"

	
	data-cellId="grid_footcell_field8" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field8}
									{BEGIN cellblock_grid_footcell_field9}
	<td
	
	{$cell_grid_footcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$payment_term_class}	"

	
	data-cellId="grid_footcell_field9" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field9}
									{BEGIN cellblock_grid_footcell_field10}
	<td
	
	{$cell_grid_footcell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_purchase_class}	"

	
	data-cellId="grid_footcell_field10" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field10}
									{BEGIN cellblock_grid_footcell_field11}
	<td
	
	{$cell_grid_footcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_amount_class}	"

	
	data-cellId="grid_footcell_field11" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field11}
									{BEGIN cellblock_grid_footcell_field12}
	<td
	
	{$cell_grid_footcell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

	
	data-cellId="grid_footcell_field12" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field12}
									{BEGIN cellblock_grid_footcell_field13}
	<td
	
	{$cell_grid_footcell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_pay_class}	"

	
	data-cellId="grid_footcell_field13" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field13}
									{BEGIN cellblock_grid_footcell_field14}
	<td
	
	{$cell_grid_footcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$preparing_user_id_class}	"

	
	data-cellId="grid_footcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field14}
									{BEGIN cellblock_grid_footcell_field15}
	<td
	
	{$cell_grid_footcell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$note_class}	"

	
	data-cellId="grid_footcell_field15" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="purchaseorder2_list"	
	>

	
	</td>
	{END cellblock_grid_footcell_field15}
							</tr>
					
					</tfoot>
				</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="purchaseorder2_list" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		{BEGIN pagination_block}
<span data-itemtype="pagination" data-itemid="pagination" {$item_pagination}="" data-pageid="{$pageid}" >
{$pagination}
</span>
{END pagination_block}
		</div>					</div>
			</div>		
{END below-grid_block}
	</div>




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