This commit is contained in:
snipe 2016-08-02 17:03:15 -07:00
parent 1ca5f8bee5
commit 29eadb10ae

View file

@ -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 }}
@endif @if (($asset->userloc->city!='') && ($asset->userloc->state!=''))
,
@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 }}
@endif @if (($asset->assetloc->city!='') && ($asset->assetloc->state!=''))
,
@endif
{{ $asset->assetloc->state }} {{ $asset->assetloc->zip }}</li>
@endif @endif
</ul> </ul>