diff --git a/application/models/monthlypay_model.php b/application/models/monthlypay_model.php index 0c0942cc..86859213 100755 --- a/application/models/monthlypay_model.php +++ b/application/models/monthlypay_model.php @@ -122,6 +122,7 @@ class monthlypay_model extends CI_Model $this->db->from('T_Attendance'); $this->db->join('T_Employee_Details','T_Attendance.EmpID=T_Employee_Details.EmpID'); $this->db->where('Month_Year',$current); + $this->db->where('T_Employee_Details.IsActive',1); $query = $this->db->get();