From f6c40db6b5cb257c1cf64c243ae288df9bf0062c Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 13 Nov 2025 16:24:48 +0530 Subject: [PATCH] FIX_HR_ACCESS_POLICY_LIST --- app/Views/hr_access_controll.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/hr_access_controll.php b/app/Views/hr_access_controll.php index f845b288..f2d69989 100644 --- a/app/Views/hr_access_controll.php +++ b/app/Views/hr_access_controll.php @@ -144,7 +144,7 @@ // $listed_pre[] = $policies['branch_id'].'-'.$policies['policy_no']; // } - if($value['pre_branch_id'] !== $policies['branch_id']){ + if(empty($value['pre_hr_id']) || $value['pre_branch_id'] !== $policies['branch_id']){ continue; } ?> @@ -212,7 +212,7 @@ // $listed_post[] = $policies['branch_id'].'-'.$policies['policy_no']; // } - if($value['post_branch_id'] !== $policies['branch_id']){ + if(empty($value['post_hr_id']) || $value['post_branch_id'] !== $policies['branch_id']){ continue; }