コード例 #1
0
ファイル: view.php プロジェクト: pkdism/ISM-MIS
    				        $data['present_pretty'] = $present_address->line1.',<br>'.((trim($present_address->line2)=='')? '':$present_address->line2.',<br>')
    						                    .ucwords($present_address->city).', '.ucwords($present_address->state).' - '.$present_address->pincode.'<br>'
    						                    .ucwords($present_address->country).'<br>
    						                    Contact no. '.$present_address->contact_no;
    */
    /*if($emp_validation_details)
      {
          if($emp_validation_details->profile_pic_status=='pending')
              $ui->callout()->title("Pending")->desc("Profile Picture is not yet validated.")->uiType('info')->show();
          else if($emp_validation_details->profile_pic_status=='rejected')
          {
              $reject=$this->emp_validation_details_model->getRejectReasonWhere(array('id'=>$emp_id, 'step'=> 0));
              $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same.".(($reject)? "<br>Reason behind rejection : ".$reject->reason : ""))->uiType('danger')->show();
          }
      }*/
    view_profile_pic($emp->photopath);
    /*if($emp_validation_details)
      {
          if($emp_validation_details->basic_details_status=='pending')
              $ui->callout()->title("Pending")->desc("Basic Details are not yet validated.")->uiType('info')->show();
          else if($emp_validation_details->basic_details_status=='rejected')
          {
              $reject=$this->emp_validation_details_model->getRejectReasonWhere(array('id'=>$emp_id, 'step'=> 1));
              $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same.".(($reject)? "<br>Reason behind rejection : ".$reject->reason : ""))->uiType('danger')->show();
          }
      }*/
    view_basic_details($data, $emp, $ft);
}
if ($emp_prev_exp_details) {
    /*if($emp_validation_details)
    		{
コード例 #2
0
ファイル: view.php プロジェクト: pkdism/ISM-MIS
if ($step == 0) {
    $profile_pic->active();
}
$profile_pic->open();
if ($emp) {
    if ($emp_validation_details) {
        if ($emp_validation_details->profile_pic_status == 'pending') {
            $ui->callout()->title("Pending")->desc("Profile Picture is not yet validated.")->uiType('info')->show();
        } else {
            if ($emp_validation_details->profile_pic_status == 'rejected') {
                $reject = $this->emp_validation_details_model->getRejectReasonWhere(array('id' => $emp_id, 'step' => 0));
                $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same." . ($reject ? "<br>Reason behind rejection : " . $reject->reason : ""))->uiType('danger')->show();
            }
        }
    }
    view_profile_pic($photo, $pending_photo, $status0);
} 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, 0);
$profile_pic->close();
$basic = $ui->tabPane()->id('basic_details');
if ($step == 1) {
    $basic->active();
}
$basic->open();
if ($emp) {
    $basic_details_status = $pending_data = false;
    if ($emp_validation_details) {
        if ($emp_validation_details->basic_details_status == 'pending') {
            $ui->callout()->title("Pending")->desc("Basic Details are not yet validated.")->uiType('info')->show();