You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my tax consultant needs my invoices in separated .PDFs like invoicenumber.pdf - is this somehow possible? I only know the way to select them all in the backend and hit "PDF Rechnungen" which creates one large .PDF file with all invoices - just need to get them separated and with the invoice-number as filename.
which results in Fatal error: Call to a member function getStoreId() on a non-object in app/code/community/FireGento/Pdf/Model/Engine/Invoice/Default.php on line 64 - so it seems there are some parameters missing.
Has anyone a solution for the whole problem or a fix for my try? Would help me very much!
Thank you in advance and best greets, David
The text was updated successfully, but these errors were encountered:
Dear Firegento-Team and other helping hands,
my tax consultant needs my invoices in separated .PDFs like invoicenumber.pdf - is this somehow possible? I only know the way to select them all in the backend and hit "PDF Rechnungen" which creates one large .PDF file with all invoices - just need to get them separated and with the invoice-number as filename.
I've tried something like
$collection = Mage::getResourceModel('sales/order_invoice_collection'); $pdf = Mage::getModel('sales/order_pdf_invoice')->getPdf(array($this)); header("Content-type:application/pdf"); header("Content-Disposition:attachment;filename='invoices.pdf'");
which results in Fatal error: Call to a member function getStoreId() on a non-object in app/code/community/FireGento/Pdf/Model/Engine/Invoice/Default.php on line 64 - so it seems there are some parameters missing.
Has anyone a solution for the whole problem or a fix for my try? Would help me very much!
Thank you in advance and best greets, David
The text was updated successfully, but these errors were encountered: