ViisonPickwareERPPurchasePriceConverter

Extends \Shopware\Plugins\ViisonCommon\Controllers\ViisonCommonBaseController

package

Default

Methods

Compares the POSTed 'oldMode' and 'newMode' with the active and configured purchase price modes respectively and, if the values match and the mode has changed, converts all purchase prices depending on the currently active mode. That is, if the active mode is 'net', all purchase prices are converted from net to gross prices, and if the active mode is 'gross', all purchase prices are converted from gross to net prices. Finally, future change notifications are hidden until the mode changes again.

convertPurchasePricesAction() 

Responds both the currently active and configured purchase price modes.

getPurchasePriceModesAction() 

getViewParams

getViewParams() 
inheritdoc

Hides all future change notifications until the mode changes again.

hideChangeNotificationAction()