InvoiceArchiveService

Implements \Shopware\Plugins\ViisonPickwareERP\Components\Document\InvoiceArchive, \Enlight_Hook

package

Default

Methods

__construct

__construct(\Shopware\Plugins\ViisonPickwareERP\Components\PluginConfig\PluginConfig $pluginConfig, \Shopware\Plugins\ViisonPickwareERP\Components\Document\DocumentMailing $documentMailingService) 

Sends the file of the given `$document` to all email addresses, which are configured to be recipients of archived invoice documents.

sendDocumentToInvoiceArchive(\Shopware\Models\Order\Document\Document $document) 
inheritdoc

Arguments

$document

\Shopware\Models\Order\Document\Document