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];