public function retrieve($position_id = '', $save_success = 'none')
 {
     $id = num_param_url_decode($position_id);
     if ($id) {
         $data = $this->position_ms_model->find_id($id);
         $data['save_success'] = $save_success;
         $this->template->append_page_section('admin/master/position/position_show');
         $this->template->render_admin_template($this, $data);
     } else {
         not_found_error();
     }
 }
 public function retrieve($emp_job_title_id = '', $save_success = 'none')
 {
     $id = num_param_url_decode($emp_job_title_id);
     if ($id) {
         $data = $this->employee_job_title_tr_model->find_id($id);
         $data['save_success'] = $save_success;
         $this->template->append_page_section('admin/transaction/employeejobtitle/employeejobtitle_show');
         $this->template->render_admin_template($this, $data);
     } else {
         not_found_error();
     }
 }
 public function retrieve($image_id = '', $save_success = 'none')
 {
     $id = num_param_url_decode($image_id);
     if ($id) {
         $data = $this->image_progress_daily_report_tr_model->find_id($id);
         $data['save_success'] = $save_success;
         $this->template->append_page_section('admin/transaction/imageprogressdailyreport/imageprogressdailyreport_show');
         $this->template->render_admin_template($this, $data);
     } else {
         not_found_error();
     }
 }
 public function retrieve($role_url_list = '', $save_success = 'none')
 {
     $id = num_param_url_decode($role_url_list);
     if ($id) {
         $data = $this->role_url_list_tr_model->find_id($id);
         $data['save_success'] = $save_success;
         $this->template->append_page_section('admin/transaction/roleurllist/roleurllist_show');
         $this->template->render_admin_template($this, $data);
     } else {
         not_found_error();
     }
 }
 public function update_delete()
 {
     $result = FALSE;
     $this->set_Input_to_model();
     $this->position_id = num_param_url_decode($this->position_id);
     if ($this->position_id) {
         $this->isdelete = 1;
         $this->db->trans_start();
         $this->db->update($this->table_name, array('isdelete' => $this->isdelete), array('position_id' => $this->position_id));
         $this->db->trans_complete();
         $result = $this->db->trans_status();
     }
     return $result;
 }