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