InvoiceActions

Class InvoiceActions

category

System

package

Extensions

subpackage

Invoices

Methods

Outputs a bulk PDF file through the use of mPDF.

_createBulkPdf(array $invoiceIds) 

This method will parse the selected PDFs of the provided invoices and will concatenate them into a single file. This file will be then outputted directly so that browsers download it immediately.

see \mPDF
Throws
\Mpdf\MpdfException

Arguments

$invoiceIds

array

The selected invoice IDs.

Generate the PDF permissions depending the shop configuration.

_getPdfPermissions() : array

Outputs the concatenated invoice PDFs.

bulkPdfInvoices(array $invoiceIds) 
Throws
\Mpdf\MpdfException

Arguments

$invoiceIds

array

The invoice IDs to be included in the concatenated file.