public function actionNotify()
	{
		$model=new EmployeeTransaction('smssearch');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['EmployeeTransaction']))
			$model->attributes=$_GET['EmployeeTransaction'];

		$this->render('notify',array(
			'model'=>$model
		));
	}
	public function actionEmployeeBulkSmsEmail()
	{
		$model=new EmployeeTransaction('smssearch');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['EmployeeTransaction']))
			$model->attributes=$_GET['EmployeeTransaction'];

		$this->render('select_employee',array(
			'model'=>$model,
			));

	}
 public function actionResetemppassword()
 {
     $model = new EmployeeTransaction('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeTransaction'])) {
         $model->attributes = $_GET['EmployeeTransaction'];
     }
     $this->render('resetemppassword', array('model' => $model));
 }
	public function actionResignemployee()
	{
		$model=new EmployeeTransaction('resignsearch');
		$model->unsetAttributes();  // clear any default values
		if(isset($_GET['EmployeeTransaction']))
		{
			$model->attributes=$_GET['EmployeeTransaction'];
		}
		if(isset($_REQUEST['sbrexportexcel']))
		{
			Yii::app()->request->sendFile(date('YmdHis').'.xls',
				    $this->renderPartial('resign_employee_excel',array('model'=>$model), true));
		}
		$this->render('resignEmployee',array(
			'model'=>$model,
		));
	}
 public function actionDocumentsearchview($dept_id, $cat_id)
 {
     $model = new EmployeeTransaction('newsearch');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['EmployeeTransaction'])) {
         $model->employee_transaction_id = $_GET['EmployeeTransaction']['employee_transaction_id'];
         $model->employee_first_name = $_GET['EmployeeTransaction']['employee_first_name'];
     }
     $this->render('document_search_view', array('model' => $model, 'department_id' => $dept_id, 'category_id' => $cat_id));
 }