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)
->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();
// }