Digi locker Changes : ps
This commit is contained in:
parent
418e76f554
commit
b81e6ed53d
@ -2344,7 +2344,7 @@ class Flyhi_Controller extends REST_Controller {
|
||||
|
||||
if(is_object($s3result) && $s3result['ObjectURL'] != '' && $s3result['@metadata']['statusCode'] == 200)
|
||||
{
|
||||
$pd_document_data = array('fk_pd_id' => $pd_id,'img_type' => 2,'pd_document_title'=>$digilocker_doc_name[$i],'pd_document_name'=>$doc_name,'fk_form_id'=>18,'co_applicant_id'=>$applicant_id,'image_key' => 'person_met_id','content_type'=>3);
|
||||
$pd_document_data = array('fk_pd_id' => $pd_id,'img_type' => 2,'pd_document_title'=>$doc_name,'pd_document_name'=>$digilocker_doc_name[$i],'fk_form_id'=>18,'co_applicant_id'=>$applicant_id,'image_key' => 'person_met_id','content_type'=>3);
|
||||
$pd_document_id = $this->Flyhi_Model->saveRecords($pd_document_data,PDDOCUMENTS);
|
||||
if($pd_document_id != "" || $pd_document_id != null){ $temp_flag++; }
|
||||
unlink($src_local_file);
|
||||
@ -2530,7 +2530,7 @@ $this->load->view("digital_locker",$view_data);
|
||||
|
||||
if(is_object($s3result) && $s3result['ObjectURL'] != '' && $s3result['@metadata']['statusCode'] == 200)
|
||||
{
|
||||
$pd_document_data = array('fk_pd_id' => $pd_id,'img_type' => 2,'pd_document_title'=>$doc_renamed,'pd_document_name'=>$form_data['doc_name'],'fk_form_id'=>18,'co_applicant_id'=>$applicant_id,'image_key' => 'person_met_id','content_type'=>3);
|
||||
$pd_document_data = array('fk_pd_id' => $pd_id,'img_type' => 2,'pd_document_title'=>$form_data['doc_name'],'pd_document_name'=>$doc_renamed,'fk_form_id'=>18,'co_applicant_id'=>$applicant_id,'image_key' => 'person_met_id','content_type'=>3);
|
||||
$pd_document_id = $this->Flyhi_Model->saveRecords($pd_document_data,PDDOCUMENTS);
|
||||
if($pd_document_id != "" || $pd_document_id != null){ $temp_flag++; }
|
||||
// unlink($src_local_file);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user