Skip to content

Commit ca0f8ac

Browse files
committed
fixed
1 parent 6252f0a commit ca0f8ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/views/notifications/markdown/user-inventory.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010

1111
<table width="100%">
1212
<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>
13+
14+
1315
@foreach($assets as $asset)
1416
<tr>
1517
<td>{{ $asset->present()->name }}</td>
1618
<td> {{ $asset->asset_tag }} </td>
1719
<td> {{ $asset->serial }} </td>
18-
<td> {{ $asset->model->category_id }}</td>
20+
<td> {{ $asset->model->category->name }}</td>
1921
@if (($snipeSettings->show_images_in_email =='1') && $asset->getImageUrl())
2022
<td>
2123
<img src="{{ asset($asset->getImageUrl()) }}" alt="Asset" style="max-width: 64px;">

0 commit comments

Comments
 (0)