changed filename for exported pdfDocs
This commit is contained in:
parent
468339da09
commit
6a931daa70
@ -54,7 +54,8 @@ class d3_overview_controller_pdfdocuments extends d3_overview_controller_pdfdocu
|
|||||||
self::$_blIsAdmin = 0;
|
self::$_blIsAdmin = 0;
|
||||||
$oUtils = Registry::getUtils();
|
$oUtils = Registry::getUtils();
|
||||||
$sTrimmedBillName = trim($oOrder->oxorder__oxbilllname->getRawValue());
|
$sTrimmedBillName = trim($oOrder->oxorder__oxbilllname->getRawValue());
|
||||||
$sFilename = $oOrder->oxorder__oxordernr->value . "_" . $sTrimmedBillName . ".pdf";
|
//oxbillr nicht so eingeschrieben lassen
|
||||||
|
$sFilename = $oOrder->oxorder__oxbillnr->value . "_" . $sTrimmedBillName . ".pdf";
|
||||||
$sFilename = $this->makeValidFileName($sFilename);
|
$sFilename = $this->makeValidFileName($sFilename);
|
||||||
ob_start();
|
ob_start();
|
||||||
$oOrder->genPdf($sFilename, Registry::getConfig()->getRequestParameter("pdflanguage"));
|
$oOrder->genPdf($sFilename, Registry::getConfig()->getRequestParameter("pdflanguage"));
|
||||||
|
Loading…
Reference in New Issue
Block a user