We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63b1f38 + 1a4f148 commit f0a9b2cCopy full SHA for f0a9b2c
app/views/backend/locations/index.blade.php
@@ -33,7 +33,11 @@
33
@foreach ($locations as $location)
34
<tr>
35
<td>{{{ $location->name }}}</td>
36
- <td>{{{ $location->address }}}, {{{ $location->address2 }}} </td>
+ <td>{{{ $location->address }}}
37
+ @if($location->address2 != '')
38
+ , {{{ $location->address2 }}}
39
+ @endif
40
+ </td>
41
<td>{{{ $location->city }}}, {{{ strtoupper($location->state) }}} {{{ strtoupper($location->country) }}} </td>
42
<td>
43
<a href="{{ route('update/location', $location->id) }}" class="btn btn-warning btn-sm"><i class="fa fa-pencil icon-white"></i></a>
0 commit comments