mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
Fixes #2387
This commit is contained in:
parent
1ca5f8bee5
commit
29eadb10ae
|
@ -298,24 +298,32 @@
|
||||||
@if (isset($asset->userloc))
|
@if (isset($asset->userloc))
|
||||||
<li>{{ $asset->userloc->name }}
|
<li>{{ $asset->userloc->name }}
|
||||||
<li>{{ $asset->userloc->address }}
|
<li>{{ $asset->userloc->address }}
|
||||||
@if (isset($asset->userloc->address2))
|
@if ($asset->userloc->address2!='')
|
||||||
{{ $asset->userloc->address2 }}
|
{{ $asset->userloc->address2 }}
|
||||||
@endif
|
@endif
|
||||||
</li>
|
</li>
|
||||||
@if (isset($asset->assetloc->city))
|
|
||||||
<li>{{ $asset->assetloc->city }}, {{ $asset->assetloc->state }} {{ $asset->assetloc->zip }}</li>
|
<li>{{ $asset->userloc->city }}
|
||||||
|
@if (($asset->userloc->city!='') && ($asset->userloc->state!=''))
|
||||||
|
,
|
||||||
@endif
|
@endif
|
||||||
|
{{ $asset->userloc->state }} {{ $asset->userloc->zip }}</li>
|
||||||
|
|
||||||
|
|
||||||
@elseif (isset($asset->assetloc))
|
@elseif (isset($asset->assetloc))
|
||||||
<li>{{ $asset->assetloc->name }}
|
<li>{{ $asset->assetloc->name }}
|
||||||
<li>{{ $asset->assetloc->address }}
|
<li>{{ $asset->assetloc->address }}
|
||||||
@if (isset($asset->assetloc->address2))
|
@if ($asset->assetloc->address2!='')
|
||||||
{{ $asset->assetloc->address2 }}
|
{{ $asset->assetloc->address2 }}
|
||||||
@endif
|
@endif
|
||||||
</li>
|
</li>
|
||||||
@if (isset($asset->assetloc->city))
|
|
||||||
<li>{{ $asset->assetloc->city }}, {{ $asset->assetloc->state }} {{ $asset->assetloc->zip }}</li>
|
<li>{{ $asset->assetloc->city }}
|
||||||
|
@if (($asset->assetloc->city!='') && ($asset->assetloc->state!=''))
|
||||||
|
,
|
||||||
@endif
|
@endif
|
||||||
|
{{ $asset->assetloc->state }} {{ $asset->assetloc->zip }}</li>
|
||||||
|
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue