A free open source IT asset/license management system
Display assigned to in expiring assets mail
Marcus Mooref9956cf61720
diff --git a/resources/views/notifications/markdown/report-expiring-assets.blade.php b/resources/views/notifications/markdown/report-expiring-assets.blade.phpindex 1b35b7a309..9c0ea84ac5 100644--- a/resources/views/notifications/markdown/report-expiring-assets.blade.php+++ b/resources/views/notifications/markdown/report-expiring-assets.blade.php@@ -21,8 +21,8 @@@if ($asset->supplier)| **{{ trans('mail.supplier') }}** | {{ ($asset->supplier ? e($asset->supplier->name) : '') }} |@endif-@if ($asset->assignedTo)-| **{{ trans('mail.assigned_to') }}** | {{ e($asset->assignedTo->present()->display_name) }} |+@if ($asset->assigned)+| **{{ trans('mail.assigned_to') }}** | {{ e($asset->assigned->present()->display_name) }} |@endif| <hr> | <hr> |@endforeach