update slack msg

This commit is contained in:
Marko 2024-03-01 16:34:02 +01:00
parent 3a8b62c75a
commit 8f65dca839
No known key found for this signature in database

View File

@ -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);