mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-31 16:37:27 -08:00
fixed
This commit is contained in:
parent
6252f0ac5e
commit
ca0f8ace99
|
@ -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;">
|
||||||
|
|
Loading…
Reference in a new issue