From 8f65dca8396ebaf04a520105e4a4d1734697a4ea Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:34:02 +0100 Subject: [PATCH] update slack msg --- src/EventSubscriber/SlackNotifySubscriber.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EventSubscriber/SlackNotifySubscriber.php b/src/EventSubscriber/SlackNotifySubscriber.php index eef6e74..ae34740 100644 --- a/src/EventSubscriber/SlackNotifySubscriber.php +++ b/src/EventSubscriber/SlackNotifySubscriber.php @@ -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);