ViisonPickwareERPStockTakeExport

Extends \Shopware\Plugins\ViisonCommon\Controllers\ViisonCommonBaseController Implements \Shopware\Components\CSRFWhitelistAware

package

Default

Methods

Responds a CSV file containing the pending stock takes for the given filter.

exportPendingStockTakesAction() 

Responds a CSV file containing the complete stock takes for the given filter.

exportStockTakesAction() 

Responds a list of filtered, sorted and paginated pending (uncounted) stock-takes.

getPendingStockTakeListAction() 

Responds a list of filtered, sorted and paginated stock-takes.

getStockTakeListAction() 

Responds the IDs and names of all backend users plus an empty dummy user.

getUserListAction() 

getViewParams

getViewParams() 
inheritdoc

getWhitelistedCSRFActions

getWhitelistedCSRFActions() 
inheritdoc

{@inheritdoc}

init() 

Overridden to disable the renderer and output buffering for export stock action request to be able to download CSVs as a response. This is relevant for the 'exportStockTakes' and 'exportPendingStockTakes' action.

Skips the pre dispatch for all 'export' requests to be able to display CSV files as response.

preDispatch() 

Counts all given, pending article-binlocation combinations with the given values as a stock take entry.

recordStockTakesAction() 

"Counts" a number of uncounted article-binlocation combinations by setting their stock to 0 as a stock take entry. One request is one batch of article-binlocation combinations being counted.

recordStockTakesUsingZeroStockAction()