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