@extends('template.master') @section('page_styles') {{--CUSTOM STYLES HERE--}} @stop @section('content')
@if(!count($locations)) @include('no_data', [ 'nd_title' => 'No Available Google My Business Location', 'nd_subtitle' => 'Please add your Google My Business location on the system or contact our team for further assistance.' ]) @endif
@if (!empty($locations))
 
 
@foreach($locations as $location)
@if (auth()->user()->company->company_type == 1) @endif
...

{{$location['locationName']}}

@if (isset($location['addressLines'])) @foreach ($location['addressLines'] as $addressLine) {{$addressLine}}, @endforeach @endif @if(isset($location['sublocality']) && !is_null($location['sublocality'])) {{@$location['sublocality']}}, @endif @if(isset($location['locality']) && !is_null($location['locality'])) {{@$location['locality']}}, @endif @if(isset($location['administrativeArea']) && !is_null($location['administrativeArea'])) {{@$location['administrativeArea']}} @endif {{@$location['regionCode']}} {{@$location['postalCode']}}

{{$location['websiteUrl']}} {{$location['primaryPhone']}}
@endforeach @endif
@stop @section('page_modals') @stop @section('page_scripts') @stop