Please make sure that Employees have provided correct information !
employees not qualified to be promoted from to
Back
List of employee do not meet requirements for Promotion and their reasons of not been qualified
Print
| S/No |
Mil No. |
Name |
Gender |
Unit |
Course |
Exam |
Duration |
Discipline |
session->userdata('role') == 'admin'){ ?>
Action |
UserModel->getPersonalDetails();
foreach($get->result() as $allOfficer){
//get course of the current rank
//find current rank for user and check if it match with this rank
$currentRank =0;
$findRank = $this->db->order_by('rankLevel','desc')->where('userId',$allOfficer->id)->limit(1)->get('officerRanks');
foreach($findRank->result() as $currentRankRow){
$currentRank = $currentRankRow->rankId;
}
//check if is rank match;
$thisLevel = $thisRankId;
$currentRank = $currentRank;
if($currentRank == $thisLevel){
//check if course attempted match
$getCourse = $this->UserModel->getCourse($allOfficer->id,$thisRankId);
$getExam = $this->UserModel->getExam($allOfficer->id,$thisRankId);
$courseExamStatus = explode('-',$this->UserModel->getCourseExamFailed($allOfficer->id,$thisRankId));
$getDuration = explode('|',$this->UserModel->getDuration($allOfficer->id,$thisRankId));
$officerRankDuration = $getDuration[0];
$timePassed = $getDuration[1];
$getDiscipline = $this->UserModel->getDescipline($allOfficer->id);
//Get course and exam failed
$courseStatus = $courseExamStatus[0];
$examStatus = $courseExamStatus[1];
//echo 'UserId '.$allOfficer->id.' User level '.$currentRank.' Rank Level '.$thisLevel.'
';
// echo 'Course Required '.$course.'='.$getCourse.' duration '.$duration.' = '.$officerRankDuration.' Exam Required'
// .$exam.' = '.$getExam.' decipline '.$getDiscipline;
if($course==$getCourse && $exam == $getExam && $officerRankDuration>=$duration && $getDiscipline==0){
//Promote $Qualified
}else{
// echo 'Promote'; $qualified++
$i++;
if($allOfficer->photo == NULL){
$photo = "mtu.jpg";
}else{
$photo = $allOfficer->photo;
}
?>
|
uniqueNumber;?> |
firstName.' '.$allOfficer->middleName.' '.$allOfficer->lastName;?>
|
gender);?> |
Login_model->getUnit($allOfficer->unit);?> |
|
|
=$duration){
echo 'Time Ready';
}else{
echo 'Time not yet ';
} ?>
|
No warning form';
}else{
echo 'Warning form filled ';
} ?>
|
session->userdata('role') == 'admin'){ ?>
Promote Anyway
|