Requests
@php
$patients = [];
try {
$user = Auth::user()->uuids;
$mdID = \App\Models\ClinicStaff::where(['user_id' => $user])->select('clinic_id')->firstOrFail()->toArray();
$patients = getPatientCheckRequest($mdID['clinic_id']);
} catch (\Throwable $th) {
//throw $th;
echo ''.$th->getMessage().'';
}
@endphp
Total Request: @if($patients) {{ count($patients) }} @else {{ __(0) }} @endif
S/No | Name | TB Test Type | Reason | Sputum test type | Other checks | Date | Time | @role('ls')Action | @endrole|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $key+1 }} | {{ $Dataitems['Fname']. ' '.$Dataitems['Lname'] }} | @php $checking_lists = displayPatientsRequestToLabSpecialist($Dataitems['id']); @endphp
|
|
|
|
|
|
|