Fixed requestable assets reference to assetloc

This commit is contained in:
snipe 2017-10-30 19:40:35 -07:00
parent 546c3e50fa
commit e44e573a3c

View file

@ -62,8 +62,8 @@
<td><a href="{{ $asset->present()->viewUrl() }}">{{ $asset->serial }}</a></td>
<td>
@if ($asset->assetloc)
{!! $asset->assetloc->present()->nameUrl() !!}
@if ($asset->location)
{!! $asset->location->present()->nameUrl() !!}
@endif
</td>
@if ($asset->assigned_to != '' && $asset->assigned_to > 0)