mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-01 00:47:27 -08:00
or statement for if/else
This commit is contained in:
parent
2f5e468b3c
commit
82c38a8b18
|
@ -42,10 +42,10 @@
|
|||
<td>{{ $asset->id }}</td>
|
||||
<td>{{ $asset->present()->name() }}</td>
|
||||
<td>
|
||||
@if ($asset->location)
|
||||
{{ $asset->location->name }}
|
||||
@elseif($asset->rtd_location)
|
||||
{{ $asset->defaultLoc->name }}
|
||||
@if ($asset->location || $asset->location_id)
|
||||
{{ $asset->location->present()->name() }}
|
||||
@elseif($asset->rtd_location || $asset->rtd_location_id)
|
||||
{{ $asset->defaultLoc->present()->name() }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue