@if(!count($pharmacies))
    <span class="d-block no-suggest-items">No matching pharmacies!</span>
@endif
<?php $activeSet = false; ?>
@foreach($pharmacies as $pharmacy)
    <a native class="d-block suggest-item pharmacy-suggest text-nowrap {{ $activeSet ? '' : 'active'  }}" href="#"
       data-target-uid="{{$pharmacy->uid}}"
       data-pharmacyName="{{$pharmacy->name}}"
       data-pharmacyCity="{{$pharmacy->address_city}}"
       data-pharmacyState="{{$pharmacy->address_state}}"
       data-pharmacyAddressMemo="{{$pharmacy->address_line1}}"
       data-pharmacyPhone="{{$pharmacy->phone}}"
       data-pharmacyFax="{{$pharmacy->fax}}"
    >
        {{$pharmacy->displayString()}}
    </a>
    <?php $activeSet = true; ?>
@endforeach
