PickListDocumentCreation

Extends

package

Default

Methods

Replaces the template variables with preview data for a demo pick list document for the given $document. Use this method when handling a pick list preview document which naturally lacks the relevant demo data.

createPickListDocumentTemplatePreviewVariables(\Shopware_Components_Document $document) : array

Arguments

$document

\Shopware_Components_Document

Response

array

Replaces the positions in the passed `$templateVariables` with instructions for picking the relevant order items and adds all other variables that are required by a pick list document (e.g. warehouse and bin locations) to the template variables, which are finally returned.

createPickListDocumentTemplateVariables(array $templateVariables, \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse $warehouse) : array
Throws
\Shopware\Plugins\ViisonPickwareERP\Components\Document\PickListDocumentException

Iff the resulting pick list would be empty.

Arguments

$templateVariables

array

Response

array