@role('administrator|superadministrator')

Districts

TB Districts

@include('livewire.districts.edit_district') @foreach ((array)json_decode($districtData, true) as $key => $Dataitems ) @endforeach
# District Name District Number Region Country Action
{{ $key+1 }} {{ $Dataitems['d_name'] }} {{ $Dataitems['district_code'] }} {{ $Dataitems['r_name'] }} {{ $Dataitems['country_name'] }}
@endrole @role('rtc') @php $district = []; try { $user = Auth::user()->uuids; $labAuthID = \App\Models\Coordinator::where(['user_id' => $user])->select('region_id')->firstOrFail()->toArray(); $district = getDistrictByRegionID($labAuthID['region_id']); } catch (\Throwable $th) { //throw $th; echo ''.$th->getMessage().''; } @endphp {{-- @dd($district) --}}

Districts

TB Districts

@include('livewire.districts.edit_district') @foreach ($district as $key => $Dataitems ) @endforeach
# District Name Distrcit number Region Country Action
{{ $key+1 }} {{ $Dataitems->d_name }} {{ $Dataitems->district_code }} {{ $Dataitems->r_name }} {{ $Dataitems->country_name }} {{ __('View TB Patient') }}
@endrole @role('rmo') @php $district = []; try { $user = Auth::user()->uuids; $labAuthID = \App\Models\MedicalOfficer::where(['user_id' => $user])->select('region_id')->firstOrFail()->toArray(); $district = getDistrictByRegionID($labAuthID['region_id']); } catch (\Throwable $th) { //throw $th; echo ''.$th->getMessage().''; } @endphp {{-- @dd($district) --}}

Districts

TB Districts

@include('livewire.districts.edit_district') @foreach ($district as $key => $Dataitems ) @endforeach
# District Name Region Country Action
{{ $key+1 }} {{ $Dataitems->d_name }} {{ $Dataitems->r_name }} {{ $Dataitems->country_name }} {{ __('View TB Patient') }}
@endrole