PluginConfigService

Implements \Shopware\Plugins\ViisonPickwareERP\Components\PluginConfig\PluginConfig, \Enlight_Hook

package

Default

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

$rootPath

string

Deletes all last printed preset ids.

clearLastPrintedPresetIds() 
inheritdoc

Returns all folders that contain barcode label templates.

getBarcodeLabelTemplateDirectories() : array<mixed,string>
inheritdoc

Response

array<mixed,string>

inheritdoc

getCustomBarcodeLabelTemplateDirectory() : string

Response

string

Returns the default barcode label template directory.

getDefaultBarcodeLabelTemplateDirectory() : string
inheritdoc

Response

string

getDisplayAboutPickwareErpWindow

getDisplayAboutPickwareErpWindow() : boolean
inheritdoc

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>
inheritdoc

Response

array<mixed,string>

Returns the last printed article preset ids.

getLastPrintedPresetIds() : array<mixed,integer>
inheritdoc

Response

array<mixed,integer>

Returns the pick list DocumentType by matching its key/name.

getPickListDocumentType() : \Shopware\Models\Document\Document|null
inheritdoc

Response

\Shopware\Models\Document\Document|null

Returns the path to the fallback image for templates without preview images.

getPreviewFallbackImagePath() : string
inheritdoc

Response

string

getPurchasePriceMode

getPurchasePriceMode() : string
inheritdoc

Response

string

getReturnShipmentMediaAlbum

getReturnShipmentMediaAlbum() : \Shopware\Models\Media\Album|null
inheritdoc

Response

\Shopware\Models\Media\Album|null

getShowCurrentStockWhenStocktaking

getShowCurrentStockWhenStocktaking() : boolean
inheritdoc

Response

boolean

Returns the supplier order DocumentType by matching its key/name.

getSupplierOrderDocumentTye() : \Shopware\Models\Document\Document|null
inheritdoc

Response

\Shopware\Models\Document\Document|null

setDisplayAboutPickwareErpWindow

setDisplayAboutPickwareErpWindow(boolean $newValue) 
inheritdoc

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) 
inheritdoc

Arguments

$typeIdentifier

string

$presetId

integer

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