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=clean_filename($file[0]['jr_pj_number']);
|
||||||
$receipt=noalyss_str_replace('.','-',$receipt);
|
$receipt=noalyss_str_replace('.','-',$receipt);
|
||||||
$filename=$receipt.'-'.$filename;
|
$filename=$receipt.'-'.$filename;
|
||||||
|
$filename=str_replace(".PDF",".pdf",$filename);
|
||||||
|
|
||||||
$cn->start();
|
$cn->start();
|
||||||
$cn->lo_export($file[0]['jr_pj'], $this->store_convert.'/'.$filename);
|
$cn->lo_export($file[0]['jr_pj'], $this->store_convert.'/'.$filename);
|
||||||
$cn->commit();
|
$cn->commit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue