mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -08:00
22 lines
741 B
PHP
22 lines
741 B
PHP
|
@component('mail::message')
|
||
|
# {{ trans('mail.hello') }},
|
||
|
|
||
|
The following {{ $assets->count() }} items are due to be checked in soon:
|
||
|
|
||
|
@component('mail::table')
|
||
|
| Asset Name | Asset Tag | 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'] }}
|
||
|
@endforeach
|
||
|
@endcomponent
|
||
|
|
||
|
Thanks,
|
||
|
|
||
|
{{ $snipeSettings->site_name }}
|
||
|
|
||
|
@endcomponent
|