@php $lat = $getRecord()->latitude; $long = $getRecord()->longitude; @endphp @if ($lat && $long) @else Location not available @endif