Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
addNote example
$this
->
redirect
(
[
'action' => 'index'
]
)
;
}
/** * @return void */
public
function
addAction
(
)
{
$orderNumber
=
(string)
$this
->
Request
(
)
->
getParam
(
'ordernumber'
)
;
if
(
$this
->
addNote
(
$orderNumber
)
)
{
$this
->
View
(
)
->
assign
(
'sArticleName',
Shopware
(
)
->
Modules
(
)
->
Articles
(
)
->
sGetArticleNameByOrderNumber
(
$orderNumber
)
)
;
}
$this
->
redirect
(
[
'action' => 'index'
]
)
;
}
/** * @return void */
public
function
ajaxAddAction
(
)
{