images issues : ps
This commit is contained in:
parent
730b5f599b
commit
24dc99cfb9
@ -8676,7 +8676,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
if(isset($records['is_show_report'])){ $record_data['is_show_report'] = $records['is_show_report']; }
|
if(isset($records['is_show_report'])){ $record_data['is_show_report'] = $records['is_show_report']; }
|
||||||
if(isset($records['pd_document_title'])){ $record_data['pd_document_title'] = $records['pd_document_title']; }
|
if(isset($records['pd_document_title'])){ $record_data['pd_document_title'] = $records['pd_document_title']; }
|
||||||
if(isset($records['isactive'])){ $record_data['isactive'] = $records['isactive']; }
|
if(isset($records['isactive'])){ $record_data['isactive'] = $records['isactive']; }
|
||||||
|
if(isset($records['pd_image_alias_name'])){ $record_data['pd_image_alias_name'] = $records['pd_image_alias_name']; }
|
||||||
$where_condition_array = array('pd_document_id' => $records['pd_document_id']);
|
$where_condition_array = array('pd_document_id' => $records['pd_document_id']);
|
||||||
$id = $this->PD_Model->updateRecords($record_data,PDDOCUMENTS,$where_condition_array);
|
$id = $this->PD_Model->updateRecords($record_data,PDDOCUMENTS,$where_condition_array);
|
||||||
if($id != null || $id != "")
|
if($id != null || $id != "")
|
||||||
@ -9199,6 +9199,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
|
|
||||||
// for business related images
|
// for business related images
|
||||||
$company_id = null;
|
$company_id = null;
|
||||||
|
|
||||||
if($records['image_key'] == 'selfie_with_person_met' || $records['image_key'] == 'person_met_id')
|
if($records['image_key'] == 'selfie_with_person_met' || $records['image_key'] == 'person_met_id')
|
||||||
{
|
{
|
||||||
//get main applicant name
|
//get main applicant name
|
||||||
@ -9275,7 +9276,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
$img_array['Name'] = $records['image_key'];
|
$img_array['Name'] = $records['image_key'];
|
||||||
$current_doc_title = $records['image_key'];
|
$current_doc_title = $records['image_key'];
|
||||||
}
|
}
|
||||||
|
$img_array['pd_image_alias_name'] = $records['pd_image_alias_name'];
|
||||||
$img_array['image_key'] = $records['image_key'];
|
$img_array['image_key'] = $records['image_key'];
|
||||||
$img_array['link'] = isset($records['link']) ? $records['link'] : null;
|
$img_array['link'] = isset($records['link']) ? $records['link'] : null;
|
||||||
//set company id for business related forms
|
//set company id for business related forms
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user