title | issue |
---|---|
Add force transition in set order state |
NEXT-18753 |
- Changed
SetOrderStateAction
class inShopware\Core\Content\Flow\Dispatching\Action
to support force transition when change order state. - Changed
getTransitionDestinationById
function inShopware\Core\System\StateMachine\StateMachineRegistry
to gettoPlace
if context have force transition state.
- Added
sw_flow_set_order_state_modal_force_transition
block insrc/Administration/Resources/app/administration/src/module/sw-flow/component/modals/sw-flow-set-order-state-modal/sw-flow-set-order-state-modal.html.twig
to allow select force transition. - Added variable
config.is_force_transition
insrc/Administration/Resources/app/administration/src/module/sw-flow/component/modals/sw-flow-set-order-state-modal/index.js
to allow force transition. - Changed
getSetOrderStateDescription
function insrc/Administration/Resources/app/administration/src/module/sw-flow/component/sw-flow-sequence-action/index.js
to show the force transition description.