replace city & state object with their name

This commit is contained in:
raishvaria
2019-12-04 09:37:22 +05:30
parent f4ca6d4b73
commit 9bcec9bd75
9 changed files with 22 additions and 22 deletions

View File

@ -12,10 +12,10 @@
{{$company_address->addresses[0]['address_street_2']}} <br>
@endif
@if($company_address->addresses[0]['city'])
{{$company_address->addresses[0]['city']->name}}
{{$company_address->addresses[0]['city']}}
@endif
@if($company_address->addresses[0]['state'])
{{$company_address->addresses[0]['state']->name}}
{{$company_address->addresses[0]['state']}}
@endif
@if($company_address->addresses[0]['zip'])
{{$company_address->addresses[0]['zip']}} <br>