diff --git a/api/application/controllers/SMC_Credit_PD_Controller.php b/api/application/controllers/SMC_Credit_PD_Controller.php index beb866e9..3c192e5b 100644 --- a/api/application/controllers/SMC_Credit_PD_Controller.php +++ b/api/application/controllers/SMC_Credit_PD_Controller.php @@ -177,7 +177,6 @@ class SMC_Credit_PD_Controller extends REST_Controller { $pdf_name = strtolower(trim($SMC_CREDIT_PD[0]['applicant_name'])); $pdf_name .= '-'.$SMC_CREDIT_PD[0]['abbr']; $pdf_name .= '-'.(date('dmY',strtotime($SMC_CREDIT_PD[0]['completed_date']))); - // $pdf_name .= 'PD_Report_'.$pdf_name; $this->PD_Model->updateRecords(array('pd_report_filename' => $pdf_name),SMC_CREDIT_PD,array('SMC_CREDIT_PD.smc_credit_pd' => $smc_credit_pd)); //$pdf_name = str_replace(' ', '_', $pdf_name);