update slack msg
This commit is contained in:
parent
3a8b62c75a
commit
8f65dca839
@ -69,9 +69,10 @@ class SlackNotifySubscriber implements EventSubscriberInterface
|
||||
]);
|
||||
|
||||
$msg = "Bestellung {$order->getOrderId()}: \n";
|
||||
$msg .= $item['marke'];
|
||||
$msg .= $item['name'];
|
||||
$msg .= ' ' . $item['sku'];
|
||||
$msg .= ' Menge: ' . $item['menge'] . "\n";
|
||||
$msg .= ' ' . $item['han'];
|
||||
$msg .= ' *Menge: ' . $item['menge'] . "* \n";
|
||||
|
||||
if ($order->getStatus() == 1) {
|
||||
$slack->from('CDS-Notify')->send($msg);
|
||||
|
Loading…
Reference in New Issue
Block a user