A free open source IT asset/license management system
Only format ecpected checkin date if one exists
snipeee0814716a6d
diff --git a/app/Notifications/CheckoutNotification.php b/app/Notifications/CheckoutNotification.phpindex 8a5512aa91..30dc6fcc5e 100644--- a/app/Notifications/CheckoutNotification.php+++ b/app/Notifications/CheckoutNotification.php@@ -93,7 +93,7 @@ class CheckoutNotification extends Notification'first_name' => $target->present()->fullName(),'item_name' => $item->present()->name(),'checkout_date' => $item->last_checkout,- 'expected_checkin' => $item->expected_checkin->format('Y-m-d'),+ 'expected_checkin' => ($item->expected_checkin) ? $item->expected_checkin->format('Y-m-d') : '','item_tag' => $item->asset_tag,'note' => $this->params['note'],'item_serial' => $item->serial,