public function actionFinal_view($id)
 {
     $emp_doc = new EmployeeDocsTrans('mysearch');
     $emp_doc->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeDocsTrans'])) {
         $emp_doc->attributes = $_GET['EmployeeDocsTrans'];
     }
     $emp_exp = new EmployeeExperienceTrans('mysearch');
     $emp_exp->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeExperienceTrans'])) {
         $emp_exp->attributes = $_GET['EmployeeDocsTrans'];
     }
     $emp_record = new EmployeeAcademicRecordTrans('mysearch');
     $emp_record->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeAcademicRecordTrans'])) {
         $emp_record->attributes = $_GET['EmployeeAcademicRecordTrans'];
     }
     $this->render('final_view', array('model' => $this->loadModel($id), 'emp_doc' => $emp_doc, 'emp_exp' => $emp_exp, 'emp_record' => $emp_record));
 }
 public function actionEmployeeAcademicRecords()
 {
     $model = new EmployeeAcademicRecordTrans('mysearch');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeAcademicRecordTrans'])) {
         $model->attributes = $_GET['EmployeeAcademicRecordTrans'];
     }
     $this->render('employeerecords', array('employeerecords' => $model));
 }
	/**
	* This action is used to display the employee academic records in the employee profile.
	*/
	public function actionEmployeeAcademicRecords()
	{
		$emp_record=new EmployeeAcademicRecordTrans('mysearch');
		$model=EmployeeTransaction::model()->resetScope()->findByPk($_REQUEST['id']);
		$info = EmployeeInfo::model()->findByPk($model->employee_transaction_employee_id);
		$photo = EmployeePhotos::model()->findByPk($model->employee_transaction_emp_photos_id);
		$lang = LanguagesKnown::model()->findByPk($model->employee_transaction_languages_known_id);

		$emp_doc = new EmployeeDocsTrans;
		$emp_exp = new EmployeeExperienceTrans;
		$emp_certificate = new EmployeeCertificateDetailsTable;
		$address = EmployeeAddress::model()->findByPk($model->employee_transaction_emp_address_id);
		
		$emp_record->unsetAttributes();  // clear any default values
		if(isset($_GET['EmployeeAcademicRecordTrans']))
			$emp_record->attributes=$_GET['EmployeeAcademicRecordTrans'];

		$this->render('update',array(
			'model'=>$model,'info'=>$info,'photo'=>$photo,'address'=>$address,'lang'=>$lang,'emp_doc'=>$emp_doc,'emp_record'=>$emp_record,'emp_exp'=>$emp_exp,'flag'=>1,'emp_certificate'=>$emp_certificate
		));
	}
 public function actionEmployeeAcademicRecords()
 {
     Yii::app()->clientScript->registerCssFile(Yii::app()->clientScript->getCoreScriptUrl() . '/jui/css/base/jquery-ui.css');
     $emp_record = new EmployeeAcademicRecordTrans('mysearch');
     $model = EmployeeTransaction::model()->findByPk($_REQUEST['id']);
     $emp_record->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeAcademicRecordTrans'])) {
         $emp_record->attributes = $_GET['EmployeeAcademicRecordTrans'];
     }
     $this->render('/employeeAcademicRecordTrans/employeerecords', array('model' => $model, 'emp_record' => $emp_record));
 }