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