diff --git a/api/application/helpers/readexceldata_helper.php b/api/application/helpers/readexceldata_helper.php index b3eef9b9..9b4545da 100644 --- a/api/application/helpers/readexceldata_helper.php +++ b/api/application/helpers/readexceldata_helper.php @@ -140,8 +140,8 @@ class readexceldata $temp['stakeholder_name'] = $value['stakeholder_name']; $temp['share_holding'] = $value[ $dynamic_share_key ]; $temp['company_id'] = ($i + 1); - $temp['vintage_in_current_biz'] = $value[ $dynamic_vintage_key ]; - $temp['total_work_exp'] = $value[ $dynamic_work_exp_key ]; + $temp['vintage_in_current_biz'] = $value[$dynamic_vintage_key] != "" ? $value[$dynamic_vintage_key] : 0; + $temp['total_work_exp'] = $value[$dynamic_work_exp_key] != "" ? $value[ $dynamic_work_exp_key ] : 0; $re_arranged_stake_holders_details[] = $temp; }