Merge pull request #559 from BigZ/patch-3
[-] PDF : Invoice prefix wasn't used in filename
This commit is contained in:
commit
b25b88cf33
1 file changed
+1
-1
@@ -139,7 +139,7 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
|
|||||||
*/
|
*/
|
||||||
public function getFilename()
|
public function getFilename()
|
||||||
{
|
{
|
||||||
return Configuration::get('PS_INVOICE_PREFIX').sprintf('%06d', $this->order_invoice->number).'.pdf';
|
return Configuration::get('PS_INVOICE_PREFIX', Context::getContext()->language->id, null, $this->order->id_shop).sprintf('%06d', $this->order_invoice->number).'.pdf';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user