mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-05 19:07:30 -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->id }}</td>
|
||||||
<td>{{ $asset->present()->name() }}</td>
|
<td>{{ $asset->present()->name() }}</td>
|
||||||
<td>
|
<td>
|
||||||
@if ($asset->location_id)
|
@if ($asset->location)
|
||||||
{{ $asset->location->name }}
|
{{ $asset->location->name }}
|
||||||
@elseif($asset->rtd_location_id)
|
@elseif($asset->rtd_location)
|
||||||
{{ $asset->defaultLoc->name }}
|
{{ $asset->defaultLoc->name }}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue