allocated name issues fixes : ps
This commit is contained in:
parent
2290cf98b3
commit
794ffa02ad
@ -177,6 +177,8 @@ class SMC_Credit_PD_Controller extends REST_Controller {
|
|||||||
$pdf_name = strtolower(trim($SMC_CREDIT_PD[0]['applicant_name']));
|
$pdf_name = strtolower(trim($SMC_CREDIT_PD[0]['applicant_name']));
|
||||||
$pdf_name .= '-'.$SMC_CREDIT_PD[0]['abbr'];
|
$pdf_name .= '-'.$SMC_CREDIT_PD[0]['abbr'];
|
||||||
$pdf_name .= '-'.(date('dmY',strtotime($SMC_CREDIT_PD[0]['completed_date'])));
|
$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);
|
//$pdf_name = str_replace(' ', '_', $pdf_name);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user