From 896916c889ff8a797869d929310d7371023c47eb Mon Sep 17 00:00:00 2001 From: velz Date: Wed, 7 Aug 2024 13:48:55 +0530 Subject: [PATCH] FIX_GMC_PARENTS_SELF_SI_CHECK_DISABLED --- app/Helpers/excel_util_helper.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Helpers/excel_util_helper.php b/app/Helpers/excel_util_helper.php index 0f3fd7d0..3f07ed82 100644 --- a/app/Helpers/excel_util_helper.php +++ b/app/Helpers/excel_util_helper.php @@ -241,6 +241,13 @@ if(!function_exists('check_si')) $return_array = array('status' => true,'error' => ''); } + if($policy_details['policy_type_id'] == 3 && strtolower($row['5']) == 'self') // if GMC parent and current relation is self then skip this . so set all true; + { + $is_si_found = true; + $is_age_slab_found = true; + $return_array = array('status' => true,'error' => ''); + } + if($row['current_action'] != null && in_array(strtoupper($row['current_action']), ['I','A','DA','SI','MI']))// check rule only of action column data available { $received_si = $row['current_action'] == 'SI' ? $row[3] : $row[6];