@foreach($query as $result) @if($result->Phone == '') @else @endif
{{$PatientName}}
@endforeach