As user of this program are aware, as a site administrator you must create a dummy acccount ot work with departments other than you own. I have created a file to change your working department so that it will no longer be necessary to do this. (Site admins only. If you manage several departments but are not a site admin this will not work for you.)
Install the file admin_change_dept.php in the /admin directory.
Modify the includes/menu.inc.php file and make the following changes:
After this text(Approximately line 102):
<li><a href="<?PHP echo DIR_PATH.'admin/timeoff_step1.php' ?>">Update employee earned time off</a></li> -->
Insert this text:
<?PHP
}
if($_SESSION["ses_super_admin"] == 1)
{
?>
<li><a href="<?PHP echo DIR_PATH.'admin/admin_change_dept.php' ?>">Change Working Department</a></li>
Before this text:
<?PHP
}
?>
Allow admin to switch depts