<!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="purchaseorder_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="purchaseorder_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="purchaseorder_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 purchaseorder 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="purchaseorder_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 reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
					<span class=""></span>
							{mlang_message RESET}			</a>
</span>
{END reset_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="purchaseorder_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{BEGIN cellblock_grid_c4}
<td
	{$cell_grid_c4}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c4" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN pr_id_fieldblock}


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

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


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

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN fund_cluster_id_fieldblock}


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

	<label class="r-edit-label control-label {$fund_cluster_id_label_class}" for="{$labelfor_fund_cluster_id}">
		{BEGIN fund_cluster_id_label}
			{$fund_cluster_id_forward_control}
			{$label purchaseorder fund_cluster_id }			{END fund_cluster_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$fund_cluster_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="fund_cluster_id" {$tooltipAttr purchaseorder fund_cluster_id } >
		<div class="text-muted" >
		{$tooltip purchaseorder fund_cluster_id }		</div>
	</div>
	</div>


{END fund_cluster_id_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
								</tr>
	 
	 
														<tr {$row_grid_1} >
										

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


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

	<label class="r-edit-label control-label {$date_label_class}" for="{$labelfor_date}">
		{BEGIN date_label}
			{$date_forward_control}
			{$label purchaseorder date }			{END date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="date" {$tooltipAttr purchaseorder date } >
		<div class="text-muted" >
		{$tooltip purchaseorder date }		</div>
	</div>
	</div>


{END date_fieldblock}
											
{BEGIN reference_number_fieldblock}


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

	<label class="r-edit-label control-label {$reference_number_label_class}" for="{$labelfor_reference_number}">
		{BEGIN reference_number_label}
			{$reference_number_forward_control}
			{$label purchaseorder reference_number }			{END reference_number_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$reference_number_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="reference_number" {$tooltipAttr purchaseorder reference_number } >
		<div class="text-muted" >
		{$tooltip purchaseorder reference_number }		</div>
	</div>
	</div>


{END reference_number_fieldblock}
											
{BEGIN supplier_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_supplier_id}  r-vertical-field" 
	data-signal-error-for="supplier_id{$id}" {$required_attr_supplier_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field15" {$item_integrated_edit_field15}="" data-pageid="{$pageid}" data-field="supplier_id" data-fieldname="supplier_id" >

	<label class="r-edit-label control-label {$supplier_id_label_class}" for="{$labelfor_supplier_id}">
		{BEGIN supplier_id_label}
			{$supplier_id_forward_control}
			{$label purchaseorder supplier_id }			{END supplier_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_id" {$tooltipAttr purchaseorder supplier_id } >
		<div class="text-muted" >
		{$tooltip purchaseorder supplier_id }		</div>
	</div>
	</div>


{END supplier_id_fieldblock}
											
{BEGIN supplier_name_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_name_label_class}" for="{$labelfor_supplier_name}">
		{BEGIN supplier_name_label}
			{$supplier_name_forward_control}
			{$label purchaseorder supplier_name }			{END supplier_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_name" {$tooltipAttr purchaseorder supplier_name } >
		<div class="text-muted" >
		{$tooltip purchaseorder supplier_name }		</div>
	</div>
	</div>


{END supplier_name_fieldblock}
											
{BEGIN address_fieldblock}


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

	<label class="r-edit-label control-label {$address_label_class}" for="{$labelfor_address}">
		{BEGIN address_label}
			{$address_forward_control}
			{$label purchaseorder address }			{END address_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$address_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="address" {$tooltipAttr purchaseorder address } >
		<div class="text-muted" >
		{$tooltip purchaseorder address }		</div>
	</div>
	</div>


{END address_fieldblock}
											
{BEGIN contract_number_fieldblock}


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

	<label class="r-edit-label control-label {$contract_number_label_class}" for="{$labelfor_contract_number}">
		{BEGIN contract_number_label}
			{$contract_number_forward_control}
			{$label purchaseorder contract_number }			{END contract_number_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$contract_number_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="contract_number" {$tooltipAttr purchaseorder contract_number } >
		<div class="text-muted" >
		{$tooltip purchaseorder contract_number }		</div>
	</div>
	</div>


{END contract_number_fieldblock}
											
{BEGIN philgeps_no_fieldblock}


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

	<label class="r-edit-label control-label {$philgeps_no_label_class}" for="{$labelfor_philgeps_no}">
		{BEGIN philgeps_no_label}
			{$philgeps_no_forward_control}
			{$label purchaseorder philgeps_no }			{END philgeps_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$philgeps_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="philgeps_no" {$tooltipAttr purchaseorder philgeps_no } >
		<div class="text-muted" >
		{$tooltip purchaseorder philgeps_no }		</div>
	</div>
	</div>


{END philgeps_no_fieldblock}
											
{BEGIN tin_fieldblock}


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

	<label class="r-edit-label control-label {$tin_label_class}" for="{$labelfor_tin}">
		{BEGIN tin_label}
			{$tin_forward_control}
			{$label purchaseorder tin }			{END tin_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tin_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tin" {$tooltipAttr purchaseorder tin } >
		<div class="text-muted" >
		{$tooltip purchaseorder tin }		</div>
	</div>
	</div>


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

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


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

	<label class="r-edit-label control-label {$po_type_label_class}" for="{$labelfor_po_type}">
		{BEGIN po_type_label}
			{$po_type_forward_control}
			{$label purchaseorder po_type }			{END po_type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$po_type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="po_type" {$tooltipAttr purchaseorder po_type } >
		<div class="text-muted" >
		{$tooltip purchaseorder po_type }		</div>
	</div>
	</div>


{END po_type_fieldblock}
											
{BEGIN agreement_type_fieldblock}


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

	<label class="r-edit-label control-label {$agreement_type_label_class}" for="{$labelfor_agreement_type}">
		{BEGIN agreement_type_label}
			{$agreement_type_forward_control}
			{$label purchaseorder agreement_type }			{END agreement_type_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$agreement_type_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="agreement_type" {$tooltipAttr purchaseorder agreement_type } >
		<div class="text-muted" >
		{$tooltip purchaseorder agreement_type }		</div>
	</div>
	</div>


{END agreement_type_fieldblock}
											
{BEGIN call_off_number_fieldblock}


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

	<label class="r-edit-label control-label {$call_off_number_label_class}" for="{$labelfor_call_off_number}">
		{BEGIN call_off_number_label}
			{$call_off_number_forward_control}
			{$label purchaseorder call_off_number }			{END call_off_number_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$call_off_number_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="call_off_number" {$tooltipAttr purchaseorder call_off_number } >
		<div class="text-muted" >
		{$tooltip purchaseorder call_off_number }		</div>
	</div>
	</div>


{END call_off_number_fieldblock}
	
								</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
														<tr {$row_grid_2} >
										

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


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

	<label class="r-edit-label control-label {$delivery_date_label_class}" for="{$labelfor_delivery_date}">
		{BEGIN delivery_date_label}
			{$delivery_date_forward_control}
			{$label purchaseorder delivery_date }			{END delivery_date_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$delivery_date_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="delivery_date" {$tooltipAttr purchaseorder delivery_date } >
		<div class="text-muted" >
		{$tooltip purchaseorder delivery_date }		</div>
	</div>
	</div>


{END delivery_date_fieldblock}
											
{BEGIN mode_of_procurement_id_fieldblock}


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

	<label class="r-edit-label control-label {$mode_of_procurement_id_label_class}" for="{$labelfor_mode_of_procurement_id}">
		{BEGIN mode_of_procurement_id_label}
			{$mode_of_procurement_id_forward_control}
			{$label purchaseorder mode_of_procurement_id }			{END mode_of_procurement_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$mode_of_procurement_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="mode_of_procurement_id" {$tooltipAttr purchaseorder mode_of_procurement_id } >
		<div class="text-muted" >
		{$tooltip purchaseorder mode_of_procurement_id }		</div>
	</div>
	</div>


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

{BEGIN cellblock_grid_c12}
<td
	{$cell_grid_c12}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c12" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN delivery_term_fieldblock}


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

	<label class="r-edit-label control-label {$delivery_term_label_class}" for="{$labelfor_delivery_term}">
		{BEGIN delivery_term_label}
			{$delivery_term_forward_control}
			{$label purchaseorder delivery_term }			{END delivery_term_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$delivery_term_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="delivery_term" {$tooltipAttr purchaseorder delivery_term } >
		<div class="text-muted" >
		{$tooltip purchaseorder delivery_term }		</div>
	</div>
	</div>


{END delivery_term_fieldblock}
											
{BEGIN payment_term_fieldblock}


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

	<label class="r-edit-label control-label {$payment_term_label_class}" for="{$labelfor_payment_term}">
		{BEGIN payment_term_label}
			{$payment_term_forward_control}
			{$label purchaseorder payment_term }			{END payment_term_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$payment_term_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="payment_term" {$tooltipAttr purchaseorder payment_term } >
		<div class="text-muted" >
		{$tooltip purchaseorder payment_term }		</div>
	</div>
	</div>


{END payment_term_fieldblock}
	
								</td>
			{END cellblock_grid_c12}
								</tr>
	 
	 
														<tr {$row_grid_3} >
										

{BEGIN cellblock_grid_c7}
<td
	{$cell_grid_c7}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="2"		data-cellId="grid_c7" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN note_fieldblock}


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

	<label class="r-edit-label control-label {$note_label_class}" for="{$labelfor_note}">
		{BEGIN note_label}
			{$note_forward_control}
			{$label purchaseorder note }			{END note_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$note_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="note" {$tooltipAttr purchaseorder note } >
		<div class="text-muted" >
		{$tooltip purchaseorder note }		</div>
	</div>
	</div>


{END note_fieldblock}
	
								</td>
			{END cellblock_grid_c7}
								</tr>
	 
	 
																</tbody></table>
				
{BEGIN details_purchaseorderdetail}
<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_purchaseorderdetail}			
							<span>
					{$detailslButtons_purchaseorderdetail}
																				</span>
			</h4>
		</div>
		<div class="panel-body">
			{$displayDetailTable_purchaseorderdetail}
		</div>
	</div>
</div>
{END details_purchaseorderdetail}
	
				 
	 
												<table 
	data-body-align="left"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" data-page="purchaseorder_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_5} >
										

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


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

	<label class="r-edit-label control-label {$contact_no_label_class}" for="{$labelfor_contact_no}">
		{BEGIN contact_no_label}
			{$contact_no_forward_control}
			{$label purchaseorder contact_no }			{END contact_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$contact_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="contact_no" {$tooltipAttr purchaseorder contact_no } >
		<div class="text-muted" >
		{$tooltip purchaseorder contact_no }		</div>
	</div>
	</div>


{END contact_no_fieldblock}
	
								</td>
			{END cellblock_grid_c8}
								</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="purchaseorder_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}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel1" {$item_add_cancel1}="" 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}
		</div>					</div>
			</div>		
{END below-grid_block}
	</div>




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