2018-05-08 05:27:03 -07:00
|
|
|
@component('mail::message')
|
|
|
|
# {{ trans('mail.hello') }},
|
|
|
|
|
|
|
|
The following {{ $assets->count() }} items are due to be checked in soon:
|
|
|
|
|
|
|
|
@component('mail::table')
|
2018-05-08 05:59:34 -07:00
|
|
|
| Asset | Checked Out to | Expected Checkin |
|
2021-02-17 13:44:35 -08:00
|
|
|
| ------------- | ------------- | ------------- |
|
2018-05-08 05:27:03 -07:00
|
|
|
@foreach ($assets as $asset)
|
|
|
|
@php
|
2021-09-28 19:44:55 -07:00
|
|
|
$checkin = Helper::getFormattedDateObject($asset->expected_checkin, 'date');
|
2018-05-08 05:27:03 -07:00
|
|
|
@endphp
|
2021-02-17 13:41:08 -08:00
|
|
|
| [{{ $asset->present()->name }}]({{ route('hardware.show', ['hardware' => $asset->id]) }}) | [{{ $asset->assigned->present()->fullName }}]({{ route('users.show', ['user'=>$asset->assigned->id]) }}) | {{ $checkin['formatted'] }}
|
2018-05-08 05:27:03 -07:00
|
|
|
@endforeach
|
|
|
|
@endcomponent
|
|
|
|
|
2020-11-12 15:05:22 -08:00
|
|
|
{{ trans('mail.best_regards') }}
|
2018-05-08 05:27:03 -07:00
|
|
|
|
|
|
|
{{ $snipeSettings->site_name }}
|
|
|
|
|
|
|
|
@endcomponent
|