FIX_CLIENT_FILTER_COMMENT : RV

This commit is contained in:
VENKATESHWARAN 2024-06-27 15:30:14 +05:30
parent 14458fd3f5
commit a153983193

View File

@ -45,14 +45,14 @@ class ClientModel extends Model
->where('is_active',1) ->where('is_active',1)
->findAll(); ->findAll();
if($role_id == 2 || $role_id == 3){ // if($role_id == 2 || $role_id == 3){
$clients = $this->select($columns) // $clients = $this->select($columns)
->join('client_rm', 'client_rm.client_id = clients.id') // ->join('client_rm', 'client_rm.client_id = clients.id')
->where('client_rm.user_id', $user_id) // ->where('client_rm.user_id', $user_id)
->where('clients.is_active',1) // ->where('clients.is_active',1)
->findAll(); // ->findAll();
} // }