Keystakeholder Issues fixes : ps
This commit is contained in:
parent
4a3e8c3995
commit
2489504e8b
@ -48,7 +48,6 @@ class readexceldata
|
||||
$where_condition_array = array('isactive' => 1,'section_id' => $section_id);
|
||||
//if($section_id == null){ $where_condition_array = array('isactive' => 1,'section_id in ' => '(null,1)'); }
|
||||
$section_ref_data = $CI->PD_Model->selectCustomRecords(array('*'),$where_condition_array,EXCEL_COLUMN_REF_NAME);
|
||||
// print_r($section_ref_data);die();
|
||||
$return_data = array();
|
||||
// $section_id = is_null($section_id) ? '' : $section_id;
|
||||
if($section_id)
|
||||
@ -116,10 +115,10 @@ class readexceldata
|
||||
$temp['company_id'] = isset($LFMP_company_data[$i]['company_id'])?$LFMP_company_data[$i]['company_id']:0;
|
||||
$temp['company_name'] = isset($LFMP_company_data[$i]['borrower_name'])?$LFMP_company_data[$i]['borrower_name']:"";
|
||||
$temp['started_biz'] = "NO";
|
||||
$temp['stakeholder_name'.$j] = $value['stakeholder_name'];
|
||||
$temp['share_holding'.$j] = $value[$dynamic_share_key];
|
||||
$temp['vintage_in_current_biz'.$j] = $value[$dynamic_vintage_key];
|
||||
$temp['total_work_exp'.$j] = $value[ $dynamic_work_exp_key ];
|
||||
$temp['stakeholder_name'.$j] = $value['stakeholder_name'] == "" ? $value['stakeholder_name'] : Null;
|
||||
$temp['share_holding'.$j] = $value[$dynamic_share_key] == "" ? $value[$dynamic_share_key] : null;
|
||||
$temp['vintage_in_current_biz'.$j] = $value[$dynamic_vintage_key] == "" ? $value[$dynamic_vintage_key] : 0;
|
||||
$temp['total_work_exp'.$j] = $value[ $dynamic_work_exp_key ] == "" ? $value[ $dynamic_work_exp_key ] : 0;
|
||||
$temp['stakeholder_length'] = ($j+1);
|
||||
$re_arranged_stake_holders_details[$i] = $temp;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user