mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-01 00:47:27 -08:00
this fixes the assigned to piece
This commit is contained in:
parent
f10807661d
commit
2f5e468b3c
|
@ -42,9 +42,9 @@
|
|||
<td>{{ $asset->id }}</td>
|
||||
<td>{{ $asset->present()->name() }}</td>
|
||||
<td>
|
||||
@if ($asset->location_id)
|
||||
@if ($asset->location)
|
||||
{{ $asset->location->name }}
|
||||
@elseif($asset->rtd_location_id)
|
||||
@elseif($asset->rtd_location)
|
||||
{{ $asset->defaultLoc->name }}
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue