@if(auth()->user()?->role === 'medicalCouncil') @push('head') @endpush @endif {{-- HEADER --}}
{{ __('Medical Council Dashboard') }} {{ __('Confirm applications eligibility and manage recipients') }}
{{-- CALENDAR --}} @if(auth()->user()?->role === 'medicalCouncil')

Upcoming Appointments

@forelse($appointments ?? [] as $fund) @php $r = $fund->recipient; $name = $r ? trim("$r->first_name $r->second_name $r->third_name $r->last_name") : 'Recipient'; @endphp @empty @endforelse
{{ $name }} {{ $fund->medical_council_appointment_at?->format('Y-m-d H:i') }}
No appointments
@endif {{-- TABLE --}} @include('components.jstable')
@foreach($recipients as $recipient) @php $fund = $recipient->fundRegistrations->first(); $formId = 'fund-form-'.$recipient->id; @endphp @endforeach
Name ID City Phones National IDs Fund Date Fund Status Recipient Status Details Decision Reason Action
{{ $recipient->first_name }} {{ $recipient->last_name }}
{{ $recipient->city }}
{{ $recipient->id }} {{ $recipient->city }} @forelse($recipient->phoneNumbers as $p)
{{ $p->phone_number }}
@empty - @endforelse
@forelse($recipient->nationalIds as $n)
{{ $n->national_id_number }}
@empty - @endforelse
{{ ucfirst($fund->fund_type ?? '-') }} {{ $fund->created_at ?? '-' }} {{ $recipient->status }} View
@csrf @method('PUT')