2018-03-25 13:46:57 -07:00
|
|
|
@component('mail::message')
|
|
|
|
# {{ trans('mail.hello') }} {{ $target->present()->fullName() }},
|
|
|
|
|
|
|
|
{{ trans('mail.the_following_item') }}
|
|
|
|
|
|
|
|
@if ($item->getImageUrl())
|
|
|
|
<center><img src="{{ $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@component('mail::table')
|
|
|
|
| | |
|
|
|
|
| ------------- | ------------- |
|
2018-04-04 17:33:02 -07:00
|
|
|
@if ((isset($item->name)) && ($item->name!=''))
|
2018-03-25 13:46:57 -07:00
|
|
|
| **{{ trans('mail.asset_name') }}** | {{ $item->name }} |
|
2018-04-04 17:33:02 -07:00
|
|
|
@endif
|
2022-02-24 23:19:46 -08:00
|
|
|
@if (($item->name!=$item->asset_tag))
|
2018-03-25 13:46:57 -07:00
|
|
|
| **{{ trans('mail.asset_tag') }}** | {{ $item->asset_tag }} |
|
2022-02-24 23:19:46 -08:00
|
|
|
@endif
|
2018-03-25 13:46:57 -07:00
|
|
|
@if (isset($item->manufacturer))
|
|
|
|
| **{{ trans('general.manufacturer') }}** | {{ $item->manufacturer->name }} |
|
|
|
|
@endif
|
|
|
|
@if (isset($item->model))
|
|
|
|
| **{{ trans('general.asset_model') }}** | {{ $item->model->name }} |
|
|
|
|
@endif
|
2022-02-24 23:19:46 -08:00
|
|
|
@if ((isset($item->model->model_number)) && ($item->model->name!=$item->model->model_number))
|
2018-08-02 11:43:11 -07:00
|
|
|
| **{{ trans('general.model_no') }}** | {{ $item->model->model_number }} |
|
2018-03-25 13:46:57 -07:00
|
|
|
@endif
|
|
|
|
@if (isset($item->serial))
|
|
|
|
| **{{ trans('mail.serial') }}** | {{ $item->serial }} |
|
|
|
|
@endif
|
|
|
|
@if (isset($last_checkout))
|
|
|
|
| **{{ trans('mail.checkout_date') }}** | {{ $last_checkout }} |
|
|
|
|
@endif
|
|
|
|
@foreach($fields as $field)
|
|
|
|
@if (($item->{ $field->db_column_name() }!='') && ($field->show_in_email) && ($field->field_encrypted=='0'))
|
|
|
|
| **{{ $field->name }}** | {{ $item->{ $field->db_column_name() } }} |
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@if ($admin)
|
|
|
|
| **{{ trans('general.administrator') }}** | {{ $admin->present()->fullName() }} |
|
|
|
|
@endif
|
|
|
|
@if ($note)
|
|
|
|
| **{{ trans('mail.additional_notes') }}** | {{ $note }} |
|
|
|
|
@endif
|
|
|
|
@endcomponent
|
|
|
|
|
2020-11-12 15:05:22 -08:00
|
|
|
{{ trans('mail.best_regards') }}
|
2018-03-25 13:46:57 -07:00
|
|
|
|
|
|
|
{{ $snipeSettings->site_name }}
|
|
|
|
|
|
|
|
@endcomponent
|