update slack msg

This commit is contained in:
Marko 2024-03-01 10:28:26 +01:00
parent b950238865
commit 624ccaec48
No known key found for this signature in database

View File

@ -72,7 +72,7 @@ class SlackNotifySubscriber implements EventSubscriberInterface
($item['marke'] ?: $msg .= $item['marke'] . '-'); ($item['marke'] ?: $msg .= $item['marke'] . '-');
$msg .= $item['name']; $msg .= $item['name'];
($item['han'] ?: $msg .= '-' . $item['han']); ($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);