diff --git a/app/Notifications/Common/ItemReminder.php b/app/Notifications/Common/ItemReminder.php index 168a78d08..4aa84dcb9 100644 --- a/app/Notifications/Common/ItemReminder.php +++ b/app/Notifications/Common/ItemReminder.php @@ -44,7 +44,7 @@ class ItemReminder extends Notification public function toMail($notifiable) { $message = (new MailMessage) - ->line(trans('items.notification.message.reminder', ['name' => $this->item->name])) + ->line(trans('items.notification.message.reminder', ['name' => $this->item->name, 'quantity' => $this->item->quantity])) ->action(trans('items.notification.button'), url('items/items', $this->item->id, true)); // Override per company as Laravel doesn't read config diff --git a/resources/lang/en-GB/items.php b/resources/lang/en-GB/items.php index 8474e742d..aa9d81b50 100644 --- a/resources/lang/en-GB/items.php +++ b/resources/lang/en-GB/items.php @@ -9,7 +9,7 @@ return [ 'notification' => [ 'message' => [ - 'reminder' => 'You are receiving this email because the :name is remind of stock.', + 'reminder' => 'You are receiving this email because only :quantity of :name has remained.', 'out_of_stock' => 'You are receiving this email because the :name is running out of stock.', ], 'button' => 'View Now',