A free open source IT asset/license management system
Added model name to expected checkin reminders
snipe65cf7527b025
diff --git a/resources/views/notifications/markdown/report-expected-checkins.blade.php b/resources/views/notifications/markdown/report-expected-checkins.blade.phpindex 88b6eff4aa..907c826072 100644--- a/resources/views/notifications/markdown/report-expected-checkins.blade.php+++ b/resources/views/notifications/markdown/report-expected-checkins.blade.php@@ -4,13 +4,13 @@The following {{ $assets->count() }} items are due to be checked in soon:@component('mail::table')-| Asset Name | Asset Tag | Checked Out to | Expected Checkin |+| Asset | Checked Out to | Expected Checkin || ------------- | ------------- |@foreach ($assets as $asset)@php$checkin = \App\Helpers\Helper::getFormattedDateObject($asset->expected_checkin, 'date');@endphp-| {{ $asset->name }} | [{{ $asset->asset_tag }}]({{ route('hardware.show', ['assetId' => $asset->id]) }}) | [{{ $asset->assigned->first_name }} {{ $asset->assigned->last_name }}]({{ route('users.show', ['user'=>$asset->assigned->id]) }}) | {{ $checkin['formatted'] }}+| [{{ $asset->present()->name }}]({{ route('hardware.show', ['assetId' => $asset->id]) }}) | [{{ $asset->assigned->present()->fullName }}]({{ route('users.show', ['user'=>$asset->assigned->id]) }}) | {{ $checkin['formatted'] }}@endforeach@endcomponent