A free open source IT asset/license management system
if there is no location checked into return '-'
Godfrey Mea55e414ef9b
diff --git a/app/Notifications/CheckinAssetNotification.php b/app/Notifications/CheckinAssetNotification.phpindex 43f1aa8414..9998c24143 100644--- a/app/Notifications/CheckinAssetNotification.php+++ b/app/Notifications/CheckinAssetNotification.php@@ -153,7 +153,7 @@ class CheckinAssetNotification extends NotificationSection::create(KeyValue::create(trans('mail.checked_into') ?: '',- ($item->location) ? $item->location?->name : '',+ $item->location?->name ?? '-',trans('admin/hardware/form.status').': '.$item->status?->name)->onClick(route('hardware.show', $item->id)))