<div class="tt-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: block;">
    <div class="tt-dataset tt-dataset-countries">
        @foreach($query as $result)
        @if($result->Phone == '')
        <?php $PatientName = $result->MrdNo." / ".$result->PatientName;?>
        @else
        <?php $PatientName = $result->MrdNo." / ".$result->PatientName."/".$result->Phone;?>
        @endif
        <div class="tt-suggestion tt-selectable" onclick="getPatientVal('{{$PatientName}}')">{{$PatientName}}</div>
        @endforeach
    </div>
</div>