removing || parts of if else

This commit is contained in:
akemidx 2024-11-13 18:29:58 -05:00
parent 82c38a8b18
commit efeef5cdc4

View file

@ -42,9 +42,9 @@
<td>{{ $asset->id }}</td>
<td>{{ $asset->present()->name() }}</td>
<td>
@if ($asset->location || $asset->location_id)
@if ($asset->location)
{{ $asset->location->present()->name() }}
@elseif($asset->rtd_location || $asset->rtd_location_id)
@elseif($asset->rtd_location)
{{ $asset->defaultLoc->present()->name() }}
@endif
</td>