patient-suggest.blade.php 523 B

123456789101112
  1. @if(!count($clients))
  2. <span class="d-block no-suggest-items">No matching patients!</span>
  3. @endif
  4. <?php $activeSet = false; ?>
  5. @foreach($clients as $client)
  6. <a class="d-block suggest-item patient-suggest text-nowrap {{ $activeSet ? '' : 'active' }}"
  7. href="" data-target-uid="{{$client->uid}}">
  8. {{$client->displayName()}}
  9. {!! $client->cell_number ? '<span class="text-sm text-secondary ml-1">(' . $client->cell_number . ')</span>' : '' !!}
  10. </a>
  11. <?php $activeSet = true; ?>
  12. @endforeach