digilocker : ps

This commit is contained in:
VE10-Sanjeev 2022-12-27 20:32:26 +05:30
parent ee72f24377
commit 71fa1957e8

View File

@ -2251,6 +2251,7 @@ class Flyhi_Controller extends REST_Controller {
public function getDigiLockerDocs_get(){
$this->load->helper('digital_locker');
// $code = "66e28b748d5f73186206a03f27f6aee73191a087";
// $co_applicant = "3399";
$code = $this->get('code');
$co_applicant = $this->get('state');
log_message('ERROR',"### 1 Msg : Inside flyhi Controller GetDigilockerDocs fns");
@ -2497,7 +2498,7 @@ $this->load->view("digital_locker",$view_data);
$doc_renamed = $applicant_name."_".$doc_name.'.pdf';
log_message('ERROR','### 6 Doc renamed : '.$doc_renamed);
// $src_local_file = XLPATH.'/tmp/'.$doc_renamed;
$src_local_file = XLPATH.'/pd_reports/'. $pd_id .'/'.$doc_name.'.pdf';
$src_local_file = XLPATH.'/pd_reports/'. $pd_id .'/'.$doc_renamed.'.pdf';
log_message('ERROR','### 6 Doc path : '.$doc_renamed);
if(!file_exists($src_local_file))
{