update slack msg

This commit is contained in:
Marko 2024-03-01 16:15:21 +01:00
parent 624ccaec48
commit 56a529c852
No known key found for this signature in database

View File

@ -69,9 +69,9 @@ class SlackNotifySubscriber implements EventSubscriberInterface
]);
$msg = "Bestellung {$order->getOrderId()}: \n";
($item['marke'] ?: $msg .= $item['marke'] . '-');
$msg .= $item['marke'] . '-';
$msg .= $item['name'];
($item['han'] ?: $msg .= '-' . $item['han']);
$msg .= '-' . $item['han'];
$msg .= ' - *' . $item['menge'] . "* \n";
if ($order->getStatus() == 1) {