FIX_CLIENT_FILTER_COMMENT : RV
This commit is contained in:
parent
14458fd3f5
commit
a153983193
@ -45,14 +45,14 @@ class ClientModel extends Model
|
||||
->where('is_active',1)
|
||||
->findAll();
|
||||
|
||||
if($role_id == 2 || $role_id == 3){
|
||||
// if($role_id == 2 || $role_id == 3){
|
||||
|
||||
$clients = $this->select($columns)
|
||||
->join('client_rm', 'client_rm.client_id = clients.id')
|
||||
->where('client_rm.user_id', $user_id)
|
||||
->where('clients.is_active',1)
|
||||
->findAll();
|
||||
}
|
||||
// $clients = $this->select($columns)
|
||||
// ->join('client_rm', 'client_rm.client_id = clients.id')
|
||||
// ->where('client_rm.user_id', $user_id)
|
||||
// ->where('clients.is_active',1)
|
||||
// ->findAll();
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user