update slack msg

This commit is contained in:
Marko 2024-03-01 16:56:34 +01:00
parent f5a7ecd359
commit d5ad48e468
No known key found for this signature in database

View File

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