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><a href="{{ $asset->present()->viewUrl() }}">{{ $asset->serial }}</a></td>
<td> <td>
@if ($asset->assetloc) @if ($asset->location)
{!! $asset->assetloc->present()->nameUrl() !!} {!! $asset->location->present()->nameUrl() !!}
@endif @endif
</td> </td>
@if ($asset->assigned_to != '' && $asset->assigned_to > 0) @if ($asset->assigned_to != '' && $asset->assigned_to > 0)