From 9d0a98e010855e146c374638fcdf412ee5794a7a Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 28 Dec 2017 08:00:10 +0000 Subject: [PATCH] Attendance issues fixed --- application/models/monthlypay_model.php | 1 + 1 file changed, 1 insertion(+) 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();