@foreach ($servicecenters as $sc) @if ($sc->status == 1)
{{ $sc->service_center_name ?? '' }}
@isset($sc->address) Address

{{ $sc->address ?? '' }}

@endisset @isset($sc->phone) Phone

{{ $sc->phone ?? '' }}

@endisset @if (isset($sc->open_from) && isset($sc->open_to))

Opening Hours:
{{ !empty($sc->open_from) ? date('h:i A',strtotime($sc->open_from)) : '-' ?? ''}} to {{ !empty($sc->open_to) ? date('h:i A',strtotime($sc->open_to)) : '-' ?? ''}} Daily

@endif @isset($sc->description)

Description
{{ $sc->description ?? '' }}

@endisset
@if (isset($sc->map_location)) {!! $sc->map_location !!} @else @endif
@endif @endforeach

Visit us

Schedule a visit for repairs, help or support.

@foreach($servicecenters as $sc) @if($sc->status == 0)

{{ $sc->service_center_name ?? '' }}

@if (isset($sc->open_from) && isset($sc->open_to)) Opening Hours:
{{ !empty($sc->open_from) ? date('h:i A',strtotime($sc->open_from)) : '-' ?? ''}} to {{ !empty($sc->open_to) ? date('h:i A',strtotime($sc->open_to)) : '-' ?? ''}} Daily
@endif

{!! $sc->description ?? '' !!}

@endif @endforeach
@endsection @section('scripts') @endsection