@role('administrator|superadministrator')

@role('superadministrator')@endrole @role('administrator') Health Center @endrole

TB Clinics

@include('livewire.clinics.edit_clinic') @foreach ((array)json_decode($clinicData, true) as $key => $Dataitems ) @endforeach
# Clinic Name Ward Region Phone Email Clinic No Action
{{ $key+1 }} {{ $Dataitems['c_name'] }} {{ $Dataitems['ward'] }} {{ $Dataitems['name'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['email'] }} {{ $Dataitems['clinic_number'] }} @role('superadministrator|administrator') @role('superadministrator') @endrole @endrole
@endrole @role('md')

Clinics

TB Clinics

@include('livewire.clinics.edit_clinic') @php $user_id = Auth::user()->uuids; $clinic = getClinicByAuthUser($user_id); @endphp @foreach ($clinic as $key => $Dataitems ) @endforeach
# Clinic Name Ward Region Country Phone Email Action
{{ $key+1 }} {{ $Dataitems['c_name'] }} {{ $Dataitems['ward'] }} {{ $Dataitems['name'] }} {{ $Dataitems['country_name'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['email'] }} @role('superadministrator') @endrole
@endrole @role('ltc')

Clinics

TB Clinics

@include('livewire.clinics.edit_clinic') @php $user_id = Auth::user()->uuids; $clinic = getClinicByAuthUser($user_id); @endphp @foreach ($clinic as $key => $Dataitems ) @endforeach
# Clinic Name Ward Region Country Phone Email
{{ $key+1 }} {{ $Dataitems['c_name'] }} {{ $Dataitems['ward'] }} {{ $Dataitems['name'] }} {{ $Dataitems['country_name'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['email'] }}
@endrole @role('rtc')

Clinics

TB Clinics

@include('livewire.clinics.edit_clinic') @php $user = Auth::user()->uuids; $labAuthID = \App\Models\Coordinator::where(['user_id' => $user])->select('region_id')->firstOrFail()->toArray(); $clinic = getClinicByAuthUserRegion($labAuthID); @endphp @foreach ($clinic as $key => $Dataitems ) @endforeach
# Clinic Name Ward Phone Email
{{ $key+1 }} {{ $Dataitems['c_name'] }} {{ $Dataitems['ward'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['email'] }}
@endrole @role('rmo')

Clinics

TB Clinics

@include('livewire.clinics.edit_clinic') @php $user = Auth::user()->uuids; $labAuthID = \App\Models\MedicalOfficer::where(['user_id' => $user])->select('region_id')->firstOrFail()->toArray(); $clinic = getClinicByAuthUserRegion($labAuthID); @endphp @foreach ($clinic as $key => $Dataitems ) @endforeach
# Clinic Name Ward Phone Email
{{ $key+1 }} {{ $Dataitems['c_name'] }} {{ $Dataitems['ward'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['email'] }}
@endrole @role('dmo')

Clinics

TB Clinics

@php $user = Auth::user()->uuids; $labAuthID = \App\Models\MedicalOfficer::where(['user_id' => $user])->select('district_id')->firstOrFail()->toArray(); $clinic = displayClinicByAuthDistrictID($labAuthID); @endphp @foreach ($clinic as $key => $Dataitems ) @endforeach
# Clinic Name Ward Phone Email
{{ $key+1 }} {{ $Dataitems->c_name }} {{ $Dataitems->ward }} {{ $Dataitems->phone }} {{ $Dataitems->email }}
@endrole