From 7381d19e3d598e7776190a9ad771055e4539c748 Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Thu, 8 Jan 2026 15:46:12 +0530 Subject: [PATCH] FIX_Dashboard staff null removed --- app/Controllers/DashboardController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Controllers/DashboardController.php b/app/Controllers/DashboardController.php index 53cb447..e4022cc 100644 --- a/app/Controllers/DashboardController.php +++ b/app/Controllers/DashboardController.php @@ -139,6 +139,7 @@ class DashboardController extends ResourceController ->where('pe.manager_id', $manager_id) ->where('pe.is_active', 1) ->where('pe.assigned_to IS NOT NULL') + ->where('ps.name IS NOT NULL') ->where('pe.assigned_to !=', 0) ->groupBy('pe.assigned_to') ->orderBy('ps.name', 'ASC') @@ -224,9 +225,7 @@ class DashboardController extends ResourceController // ->where('ps.handler_id', $handler_id) ->where('pe.is_active', 1) - ->where('ps.is_active', 1) ->where('pe.assigned_to IS NOT NULL') - ->where('ps.name IS NOT NULL') ->where('pe.assigned_to !=', 0) ->groupBy('pe.assigned_to') ->orderBy('ps.name', 'ASC')