From a153983193130b7d059676d035a26b09b8ac5ec7 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 27 Jun 2024 15:30:14 +0530 Subject: [PATCH] FIX_CLIENT_FILTER_COMMENT : RV --- app/Models/ClientModel.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Models/ClientModel.php b/app/Models/ClientModel.php index b6c81833..d1d35a2f 100644 --- a/app/Models/ClientModel.php +++ b/app/Models/ClientModel.php @@ -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(); + // }