Example #1
0
 public function detail($ID)
 {
     $query = $this->leave->getDetailForVerify($ID);
     if ($query->num_rows() > 0) {
         $data = array();
         $data["leaveID"] = $ID;
         parent::setHeaderDetail();
         $this->load->view("headman/leave/detail", $data);
         parent::setFooterDetail();
     } else {
         //redirect(site_url('headman/Verifyleave'));
     }
 }