2018-09-07 02:24:41 -07:00
|
|
|
@component('mail::message')
|
|
|
|
|
2021-11-02 07:44:57 -07:00
|
|
|
{{ trans('general.reminder_checked_out_items', array('reply_to_name' => config('mail.reply_to.name'), 'reply_to_address' => config('mail.reply_to.address')))}}
|
2018-09-07 02:24:41 -07:00
|
|
|
|
|
|
|
@component('mail::table')
|
|
|
|
|
|
|
|
@if ($assets->count() > 0)
|
2020-12-08 20:04:01 -08:00
|
|
|
|
2021-11-02 07:44:57 -07:00
|
|
|
## {{ $assets->count() }} {{ trans('general.assets') }}
|
2020-12-08 20:04:01 -08:00
|
|
|
|
|
|
|
<table width="100%">
|
2023-02-12 09:59:56 -08:00
|
|
|
<tr><th align="left">{{ trans('mail.name') }} </th><th align="left">{{ trans('mail.asset_tag') }}</th><th align="left">{{ trans('admin/hardware/table.serial') }}</th> <th></th> </tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@foreach($assets as $asset)
|
2023-02-12 06:23:50 -08:00
|
|
|
<tr>
|
|
|
|
<td>{{ $asset->present()->name }}</td>
|
|
|
|
<td> {{ $asset->asset_tag }} </td>
|
|
|
|
<td> {{ $asset->serial }} </td>
|
|
|
|
@if (($snipeSettings->show_images_in_email =='1') && $asset->getImageUrl())
|
|
|
|
<td>
|
|
|
|
<img src="{{ asset($asset->getImageUrl()) }}" alt="Asset" style="max-width: 64px;">
|
|
|
|
</td>
|
|
|
|
@endif
|
|
|
|
</tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endforeach
|
2020-12-08 20:04:01 -08:00
|
|
|
</table>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if ($accessories->count() > 0)
|
2021-11-02 07:44:57 -07:00
|
|
|
## {{ $accessories->count() }} {{ trans('general.accessories') }}
|
2020-12-08 20:04:01 -08:00
|
|
|
|
|
|
|
<table width="100%">
|
2023-02-12 10:01:40 -08:00
|
|
|
<tr><th align="left">{{ trans('mail.name') }} </th> <th></th> </tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@foreach($accessories as $accessory)
|
2023-02-12 06:23:50 -08:00
|
|
|
<tr>
|
|
|
|
<td>{{ $accessory->name }}</td>
|
|
|
|
@if (($snipeSettings->show_images_in_email =='1') && $accessory->getImageUrl())
|
|
|
|
<td>
|
|
|
|
<img src="{{ asset($accessory->getImageUrl()) }}" alt="Accessory" style="max-width: 64px;">
|
|
|
|
</td>
|
|
|
|
@endif
|
|
|
|
</tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endforeach
|
2020-12-08 20:04:01 -08:00
|
|
|
</table>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if ($licenses->count() > 0)
|
2021-11-02 07:44:57 -07:00
|
|
|
## {{ $licenses->count() }} {{ trans('general.licenses') }}
|
2018-09-07 02:24:41 -07:00
|
|
|
|
2020-12-08 20:04:01 -08:00
|
|
|
<table width="100%">
|
|
|
|
<tr><th align="left"{{ trans('mail.name') }} </th></tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@foreach($licenses as $license)
|
2023-02-12 06:23:50 -08:00
|
|
|
<tr>
|
|
|
|
<td>{{ $license->name }}</td>
|
|
|
|
</tr>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endforeach
|
2020-12-08 20:04:01 -08:00
|
|
|
</table>
|
2018-09-07 02:24:41 -07:00
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@endcomponent
|
|
|
|
|
|
|
|
|
|
|
|
@endcomponent
|