This commit is contained in:
akemidx 2024-12-03 16:57:28 -05:00
parent 6252f0ac5e
commit ca0f8ace99

View file

@ -10,12 +10,14 @@
<table width="100%"> <table width="100%">
<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 align="left">{{ trans('general.category') }}</th> <th></th> </tr> <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 align="left">{{ trans('general.category') }}</th> <th></th> </tr>
@foreach($assets as $asset) @foreach($assets as $asset)
<tr> <tr>
<td>{{ $asset->present()->name }}</td> <td>{{ $asset->present()->name }}</td>
<td> {{ $asset->asset_tag }} </td> <td> {{ $asset->asset_tag }} </td>
<td> {{ $asset->serial }} </td> <td> {{ $asset->serial }} </td>
<td> {{ $asset->model->category_id }}</td> <td> {{ $asset->model->category->name }}</td>
@if (($snipeSettings->show_images_in_email =='1') && $asset->getImageUrl()) @if (($snipeSettings->show_images_in_email =='1') && $asset->getImageUrl())
<td> <td>
<img src="{{ asset($asset->getImageUrl()) }}" alt="Asset" style="max-width: 64px;"> <img src="{{ asset($asset->getImageUrl()) }}" alt="Asset" style="max-width: 64px;">