diff --git a/Apollo/api/application/models/DaybookMaster_model.php b/Apollo/api/application/models/DaybookMaster_model.php index a2736119..84f496c6 100755 --- a/Apollo/api/application/models/DaybookMaster_model.php +++ b/Apollo/api/application/models/DaybookMaster_model.php @@ -89,6 +89,7 @@ class DaybookMaster_model extends CI_Model { $this->db->select('TypeName'); $this->db->where('TypeName', $arrayDetails['TypeName']); $this->db->where('TypeID', $arrayDetails['TypeID']); + $this->db->where('BranchCode', $arrayDetails['BranchCode']); $this->db->where_not_in('ID', $arrayDetails['ID']); if($this->db->get(INCOMEOUTCOMEMASTER)->first_row()){ $result['updateStatus'] = false;