patient-suggest.blade.php 699 B

12345678910111213
  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}}" {!! $client->mcp ? '' : 'title="Unclaimed Patient"' !!}>
  8. <img src="/img/bluecircle.png" alt="Unclaimed Patient" class="mr-1 {{$client->mcp ? 'claimed' : 'unclaimed'}}">
  9. {{$client->displayName()}}
  10. {!! $client->cell_number ? '<span class="text-sm text-secondary ml-1">(' . $client->cell_number . ')</span>' : '' !!}
  11. </a>
  12. <?php $activeSet = true; ?>
  13. @endforeach