day book master changes

This commit is contained in:
gandhimathi 2018-04-26 15:54:01 +05:30
parent 355d7705ed
commit 6aac740782

View File

@ -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;