From 1a987b78b7d0997004efac612b383a5a8420b118 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Fri, 17 Oct 2025 13:01:30 +0530 Subject: [PATCH] CHANGE_live_ui_fix_in_qcr - VADIVEL J 2025-10-17 --- app/Views/client_policy.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Views/client_policy.php b/app/Views/client_policy.php index 6fd9d35..e208933 100755 --- a/app/Views/client_policy.php +++ b/app/Views/client_policy.php @@ -2301,7 +2301,7 @@ $(document).ready(function () { si_mapping = ` SI Mapping`; } - if(showExpired == false && checkDateStatus(item.policy_end_date) != 'Expired'){ + if(showExpired == false && checkDateStatus(item.policy_end_date) == 'Expired'){ policyTable += ` @@ -2360,11 +2360,11 @@ $(document).ready(function () { ${auto_si_menu} ${si_mapping}`; // Conditionally render the delete option based on the role - if (role != 3 && role != 4) { - policyTable += - ` - Delete`; - } + if (role != 3 && role != 4) { + policyTable += + ` + Delete`; + } policyTable += `