diff --git a/Apollo/api/application/models/Fees_status_model.php b/Apollo/api/application/models/Fees_status_model.php index aa529192..4d82dad9 100755 --- a/Apollo/api/application/models/Fees_status_model.php +++ b/Apollo/api/application/models/Fees_status_model.php @@ -1191,6 +1191,7 @@ class Fees_status_model extends CI_Model $this->db->select('ID,TypeID'); $this->db->where('TypeID', 'I002'); $this->db->where('TypeName', 'FEES'); + $this->db->where('BranchCode',$data['UpdatedBy']); $getIncome=$this->db->get(INCOMEOUTCOMEMASTER)->last_row(); if($getIncome){ @@ -1221,6 +1222,7 @@ class Fees_status_model extends CI_Model $this->db->select('ID,TypeID'); $this->db->where('TypeID', 'I001'); $this->db->where('TypeName', 'FEES'); + $this->db->where('BranchCode',$data['UpdatedBy']); $getOutcome=$this->db->get(INCOMEOUTCOMEMASTER)->last_row(); if($getOutcome){