employeedetails controller isadmin function removed
This commit is contained in:
parent
75931fa3a8
commit
836d5cbb26
@ -509,12 +509,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
|
|||||||
|
|
||||||
function ViewEmployee($EmpNO='')
|
function ViewEmployee($EmpNO='')
|
||||||
{
|
{
|
||||||
if($this->isAdmin() == TRUE)
|
|
||||||
{
|
|
||||||
$this->loadThis();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if($EmpNO == '')
|
if($EmpNO == '')
|
||||||
{
|
{
|
||||||
$EmpID = $_GET['EmpID'];
|
$EmpID = $_GET['EmpID'];
|
||||||
@ -543,7 +538,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
|
|||||||
|
|
||||||
$this->loadViews("editEmployee", $this->global, $data, NULL);
|
$this->loadViews("editEmployee", $this->global, $data, NULL);
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* To Check the email exists in the database or not for the employee*/
|
/* To Check the email exists in the database or not for the employee*/
|
||||||
function checkMailEmp()
|
function checkMailEmp()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user