Purchase Department Addedd
This commit is contained in:
parent
f171cad8ed
commit
e085d5b3e4
@ -252,7 +252,7 @@
|
|||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Requisition<span class="caret"></span></span>
|
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Requisition<span class="caret"></span></span>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||||
<?php if(($role == ROLE_MANAGER || $role == ROLE_EMPLOYEE || $role == ROLE_ADMIN) && $DEPCode != PURCHASE )
|
<?php if($role == ROLE_MANAGER || $role == ROLE_EMPLOYEE || $role == ROLE_ADMIN )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
@ -296,7 +296,8 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if(($DEPCode == FINANCE && $role == ROLE_MANAGER)|| ($(DEPCode == PURCHASE && $role == ROLE_EMPLOYEE))
|
//if(($DEPCode == FINANCE && $role == ROLE_MANAGER)|| ($(DEPCode == PURCHASE && $role == ROLE_EMPLOYEE)))
|
||||||
|
if($DEPCode == FINANCE || $DEPCode == PURCHASE )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -304,7 +305,8 @@
|
|||||||
<span id="menu" data-toggle="dropdown"><i class="fa fa-first-order"></i> Purchase order<span class="caret"></span></span>
|
<span id="menu" data-toggle="dropdown"><i class="fa fa-first-order"></i> Purchase order<span class="caret"></span></span>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||||
<?php
|
<?php
|
||||||
if($DEPCode != FINANCE || $DEPCode == PURCHASE)
|
//if($DEPCode != FINANCE || $DEPCode == PURCHASE)
|
||||||
|
if( $DEPCode == PURCHASE)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
@ -318,7 +320,8 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
if($DEPCode == PURCHASE && $role == ROLE_EMPLOYEE)
|
//if($DEPCode == PURCHASE && $role == ROLE_EMPLOYEE)
|
||||||
|
if($DEPCode == PURCHASE )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
@ -332,7 +335,8 @@
|
|||||||
?>
|
?>
|
||||||
<!-- For Finance Team for PO approval list-->
|
<!-- For Finance Team for PO approval list-->
|
||||||
<?php
|
<?php
|
||||||
if($DEPCode == FINANCE && $role == ROLE_MANAGER)
|
//if($DEPCode == FINANCE && $role == ROLE_MANAGER)
|
||||||
|
if($DEPCode == FINANCE && $role == ROLE_MANAGER)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
@ -346,7 +350,8 @@
|
|||||||
?>
|
?>
|
||||||
<!-- this page is for gate keeper for view the full po list-->
|
<!-- this page is for gate keeper for view the full po list-->
|
||||||
<?php
|
<?php
|
||||||
if($DEPCode != FINANCE && $DEPCode == PURCHASE)
|
//if($DEPCode != FINANCE && $DEPCode == PURCHASE)
|
||||||
|
if( $DEPCode == PURCHASE)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user