From ab7ff6e6ea642e22e2a63dd1e2349dee23d2ee7e Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 26 Apr 2018 17:55:50 +0530 Subject: [PATCH] fees changes --- Apollo/api/application/models/Fees_status_model.php | 2 ++ 1 file changed, 2 insertions(+) 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){