From 7ac5001a4f4e49efafa546122dc299e9bf4753e4 Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Thu, 8 Jan 2026 15:38:17 +0530 Subject: [PATCH] FIX_staff_level_pending_summary inactive removed --- app/Controllers/DashboardController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controllers/DashboardController.php b/app/Controllers/DashboardController.php index 2cff943..53cb447 100644 --- a/app/Controllers/DashboardController.php +++ b/app/Controllers/DashboardController.php @@ -226,6 +226,7 @@ class DashboardController extends ResourceController ->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')