Fix bug: export ANC receipt, if suffix is in uppercase, the export
fails
This commit is contained in:
parent
fcbe090db9
commit
552a980182
1 changed files with 2 additions and 1 deletions
|
|
@ -347,7 +347,8 @@ class Document_Export
|
|||
$receipt=clean_filename($file[0]['jr_pj_number']);
|
||||
$receipt=noalyss_str_replace('.','-',$receipt);
|
||||
$filename=$receipt.'-'.$filename;
|
||||
|
||||
$filename=str_replace(".PDF",".pdf",$filename);
|
||||
|
||||
$cn->start();
|
||||
$cn->lo_export($file[0]['jr_pj'], $this->store_convert.'/'.$filename);
|
||||
$cn->commit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue