mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-03 18:07:41 -08:00
removing || parts of if else
This commit is contained in:
parent
82c38a8b18
commit
efeef5cdc4
|
@ -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 || $asset->location_id)
|
@if ($asset->location)
|
||||||
{{ $asset->location->present()->name() }}
|
{{ $asset->location->present()->name() }}
|
||||||
@elseif($asset->rtd_location || $asset->rtd_location_id)
|
@elseif($asset->rtd_location)
|
||||||
{{ $asset->defaultLoc->present()->name() }}
|
{{ $asset->defaultLoc->present()->name() }}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue