Methods
__construct
__construct(\Enlight_Config $pluginConfig, \Shopware\Components\Model\ModelManager $entityManager, \Shopware\Plugins\ViisonCommon\Components\HiddenConfigStorageService $hiddenConfigStorageService, string $rootPath)
Arguments
$pluginConfig
\Enlight_Config
$entityManager
\Shopware\Components\Model\ModelManager
$hiddenConfigStorageService
\Shopware\Plugins\ViisonCommon\Components\HiddenConfigStorageService
Deletes all last printed preset ids.
clearLastPrintedPresetIds()
Returns all folders that contain barcode label templates.
getBarcodeLabelTemplateDirectories() : array<mixed,string>
Response
array<mixed,string>
inheritdoc
getCustomBarcodeLabelTemplateDirectory() : string
Returns the default barcode label template directory.
getDefaultBarcodeLabelTemplateDirectory() : string
getDisplayAboutPickwareErpWindow
getDisplayAboutPickwareErpWindow() : boolean
Response
boolean
Whether the "About Pickware ERP" backend window should be displayed
Returns the trimmed and filtered email addresses configured as recipients for archived invoices.
getInvoiceArchiveEmailAddresses() : array<mixed,string>
Response
array<mixed,string>
Returns the last printed article preset ids.
getLastPrintedPresetIds() : array<mixed,integer>
Response
array<mixed,integer>
Returns the pick list DocumentType by matching its key/name.
getPickListDocumentType() : \Shopware\Models\Document\Document|null
Response
\Shopware\Models\Document\Document|null
Returns the path to the fallback image for templates without preview images.
getPreviewFallbackImagePath() : string
getPurchasePriceMode
getPurchasePriceMode() : string
getShowCurrentStockWhenStocktaking
getShowCurrentStockWhenStocktaking() : boolean
Returns the supplier order DocumentType by matching its key/name.
getSupplierOrderDocumentTye() : \Shopware\Models\Document\Document|null
Response
\Shopware\Models\Document\Document|null
setDisplayAboutPickwareErpWindow
setDisplayAboutPickwareErpWindow(boolean $newValue)
Arguments
$newValue
boolean
Whether or not the "About Pickware ERP" backend window should be displayed
Sets the last printed preset id for a preset type.
setLastPrintedPresetId(string $typeIdentifier, integer $presetId)
Constants
The name of the config element, which stores the id of the default barcode label preset,
which is the preset, that was last used for printing barcode labels using the barcode
label printing dialog.
IDS
Folder for custom barcode label templates.
PATH
Fallback preview image file, which is used when no template specific image
file can be found.
IMAGE
Name of the media album used for the photos of a return shipment item.
NAME