diff --git a/src/Order/Notifications/OrderStatusUpdatedNotification.php b/src/Order/Notifications/OrderStatusUpdatedNotification.php index c89a2a4..044e7e4 100644 --- a/src/Order/Notifications/OrderStatusUpdatedNotification.php +++ b/src/Order/Notifications/OrderStatusUpdatedNotification.php @@ -76,13 +76,17 @@ class OrderStatusUpdatedNotification extends BaseNotification $order = $this->event->order; $reference = OrderReferenceDisplay::resolve($order); + $statusLabel = config("lunar.orders.statuses.{$order->status}.label", $order->status); return (new MailMessage) - ->subject(__('Your order :reference has been updated', ['reference' => $reference])) + ->subject(__('Your order :reference is now :status', [ + 'reference' => $reference, + 'status' => $statusLabel, + ])) ->view('core::order.notifications.status-updated', [ 'order' => $order, 'reference' => $reference, - 'statusLabel' => config("lunar.orders.statuses.{$order->status}.label", $order->status), + 'statusLabel' => $statusLabel, ]); } }