From 76d0562716a2c8addb1833b84fe2fcd90a3d51e0 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 21 May 2018 17:34:27 -0700 Subject: [PATCH] Added last name to expected checkin notification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For non-US countries like Germany where it’s considered rude not to include last name --- app/Notifications/ExpectedCheckinNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/ExpectedCheckinNotification.php b/app/Notifications/ExpectedCheckinNotification.php index d1562832a2..3dc41950d9 100644 --- a/app/Notifications/ExpectedCheckinNotification.php +++ b/app/Notifications/ExpectedCheckinNotification.php @@ -61,7 +61,7 @@ class ExpectedCheckinNotification extends Notification return (new MailMessage) ->error() ->subject('Reminder: '.$this->params->present()->name().' checkin deadline approaching') - ->line('Hi, '.$this->params->assignedto->first_name) + ->line('Hi, '.$this->params->assignedto->first_name.' '.$this->params->assignedto->last_name) ->greeting('An asset checked out to you is due to be checked back in on '.$formatted_due.'.') ->line('Asset: '.$this->params->present()->name()) ->line('Serial: '.$this->params->serial)