2018-05-08 05:27:03 -07:00
|
|
|
@component('mail::message')
|
|
|
|
# {{ trans('mail.hello') }},
|
|
|
|
|
2021-11-02 07:44:57 -07:00
|
|
|
{{ trans('general.due_to_checkin', array('count' => $assets->count())) }}
|
2018-05-08 05:27:03 -07:00
|
|
|
|
|
|
|
@component('mail::table')
|
2021-11-02 07:44:57 -07:00
|
|
|
| {{ trans('general.assets') }} | {{ trans('general.checked_out_to') }} | {{ trans('general.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
|
2024-04-26 12:59:13 -07:00
|
|
|
| [{{ $asset->present()->name }}]({{ route('hardware.show', ['hardware' => $asset->id]) }}) | [{{ $asset->assignedTo->present()->fullName }}]({{ route($asset->targetShowRoute().'.show', [$asset->assignedTo->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
|