From a3fe462dfb608532cad866eb27034fc58dcb36ba Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Mon, 6 Sep 2021 18:36:13 +0530 Subject: [PATCH] Keystakeholder 3 : ps --- api/application/helpers/readexceldata_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }