staff access

This commit is contained in:
venbatechnologies@gmail.com 2018-09-22 15:43:09 +05:30
parent 009f07c7f4
commit b54e0bfe3f

View File

@ -1024,6 +1024,8 @@ class Student_model extends CI_Model {
$this->db->group_by('t1.StaffID');
$this->db->where('t1.BranchCode', $loginBranchId);
$this->db->where('t1.IsActive','1');
$this->db->where('t2.IsActive','1');
// $this->db->where('t1.ListCode', EMPLOYEE);
$this->db->order_by('t1.CreatedOn', 'DESC');
$empDetails = $this->db->get();