FIX_ISSUE
This commit is contained in:
parent
628c25f16d
commit
458140f8dd
@ -986,7 +986,7 @@ if (!function_exists('checkDuplicateClaim')) {
|
||||
$ticketMaster = new TicketMasterModel();
|
||||
$query = $ticketMaster->where('is_active', 1);
|
||||
|
||||
if(!empty($params['doa']) && !empty($params['claim_amount'])){
|
||||
if(empty($params['doa']) && empty($params['claim_amount'])){
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -1004,6 +1004,7 @@ if (!function_exists('checkDuplicateClaim')) {
|
||||
}
|
||||
|
||||
$result = $query->countAllResults();
|
||||
// print_r($ticketMaster->getLastQuery()->getQuery()); die;
|
||||
if($result > 0){ return true; }else{ return false; }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user