Exemple #1
0
    			}
    		}*/
    view_education_details($emp_education_details);
}
if ($emp_last5yrstay_details) {
    /*if($emp_validation_details)
    		{
    			if($emp_validation_details->stay_status=='pending')
    				$ui->callout()->title("Pending")->desc("Last 5 Year Stay Details are not yet validated.")->uiType('info')->show();
    			else if($emp_validation_details->stay_status=='rejected')
    			{
    				$reject=$this->emp_validation_details_model->getRejectReasonWhere(array('id'=>$emp_id, 'step'=> 5));
    				$ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same.".(($reject)? "<br>Reason behind rejection : ".$reject->reason : ""))->uiType('danger')->show();
    			}
    		}*/
    view_stay_details($emp_last5yrstay_details);
}
$all->close();
$tabbox->close();
$h_col->close();
echo '<center>';
$ui->button()->uiType('primary')->id('print_btn')->value('PRINT')->show();
echo '</center>';
$head->close();
echo '</div>';
function view_profile_pic($photo)
{
    echo '<center><img src="' . base_url() . 'assets/images/' . $photo . '"  height="150" /></center><br>';
}
function view_basic_details($data, $emp, $ft, $pending_data = false, $pending_emp = false, $pending_ft = false, $status = false)
{
Exemple #2
0
}
$last_five->open();
$stay_status = false;
if ($emp_last5yrstay_details) {
    if ($emp_validation_details) {
        $stay_status = $emp_validation_details->stay_status;
        if ($emp_validation_details->stay_status == 'pending') {
            $ui->callout()->title("Pending")->desc("Last 5 Year Stay Details are not yet validated.")->uiType('info')->show();
        } else {
            if ($emp_validation_details->stay_status == 'rejected') {
                $reject = $this->emp_validation_details_model->getRejectReasonWhere(array('id' => $emp_id, 'step' => 5));
                $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same." . ($reject ? "<br>Reason behind rejection : " . $reject->reason : ""))->uiType('danger')->show();
            }
        }
    }
    view_stay_details($emp_last5yrstay_details, $pending_emp_last5yrstay_details, $stay_status);
} else {
    $ui->callout()->title('Not Found')->desc("Your details have not been updated. Please check after some time.")->uiType('warning')->show();
}
validation_form($emp_validation_details, 5);
$last_five->close();
$tabbox->close();
$h_col->close();
$head->close();
$ui->button()->large()->uiType('primary')->value('Back')->icon($ui->icon('arrow-left'))->id('back_btn')->show();
function view_profile_pic($photo, $pending_photo = false, $status = false)
{
    $ui = new UI();
    echo '<center>';
    $row = $ui->row()->open();
    $col1 = $ui->col()->width($pending_photo ? 6 : 12)->open();