Пример #1
0
    			}
    		}*/
    view_prev_emp_details($emp_prev_exp_details);
}
if ($emp_family_details) {
    /*if($emp_validation_details)
    		{
    			if($emp_validation_details->family_details_status=='pending')
    				$ui->callout()->title("Pending")->desc("Dependent Family Member Details are not yet validated.")->uiType('info')->show();
    			else if($emp_validation_details->family_details_status=='rejected')
    			{
    				$reject=$this->emp_validation_details_model->getRejectReasonWhere(array('id'=>$emp_id, 'step'=> 3));
    				$ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same.".(($reject)? "<br>Reason behind rejection : ".$reject->reason : ""))->uiType('danger')->show();
    			}
    		}*/
    view_family_details($emp_family_details);
}
if ($emp_education_details) {
    /*if($emp_validation_details)
    		{
    			if($emp_validation_details->educational_status=='pending')
    				$ui->callout()->title("Pending")->desc("Educational Qualificatons are not yet validated.")->uiType('info')->show();
    			else if($emp_validation_details->educational_status=='rejected')
    			{
    				$reject=$this->emp_validation_details_model->getRejectReasonWhere(array('id'=>$emp_id, 'step'=> 4));
    				$ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same.".(($reject)? "<br>Reason behind rejection : ".$reject->reason : ""))->uiType('danger')->show();
    			}
    		}*/
    view_education_details($emp_education_details);
}
if ($emp_last5yrstay_details) {
Пример #2
0
}
$emp_fam->open();
$family_details_status = false;
if ($emp_family_details) {
    if ($emp_validation_details) {
        $family_details_status = $emp_validation_details->family_details_status;
        if ($emp_validation_details->family_details_status == 'pending') {
            $ui->callout()->title("Pending")->desc("Dependent Family Member Details are not yet validated.")->uiType('info')->show();
        } else {
            if ($emp_validation_details->family_details_status == 'rejected') {
                $reject = $this->emp_validation_details_model->getRejectReasonWhere(array('id' => $emp_id, 'step' => 3));
                $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same." . ($reject ? "<br>Reason behind rejection : " . $reject->reason : ""))->uiType('danger')->show();
            }
        }
    }
    view_family_details($emp_family_details, $pending_emp_family_details, $family_details_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, 3);
$emp_fam->close();
$emp_edu = $ui->tabPane()->id('emp_edu');
if ($step == 4) {
    $emp_edu->active();
}
$emp_edu->open();
$educational_status = false;
if ($emp_education_details) {
    if ($emp_validation_details) {
        $educational_status = $emp_validation_details->educational_status;
        if ($emp_validation_details->educational_status == 'pending') {