{{ __('Canceled Recipients') }} {{ __(' Here you can show canceled recipients') }}
@include('components.jstable')
@foreach($recipients as $recipient) {{-- --}} @endforeach
Full Name ID Birth Date City Phones National IDs Fund Type Application Date Fund Status Recipient Status All Information Account Status Submit
user avatar
{{ $recipient->first_name }} {{ $recipient->second_name }} {{ $recipient->third_name }} {{ $recipient->last_name }} {{ $recipient->city }} - {{ $recipient->district }}
{{ $recipient->id }} {{ $recipient->birth_date }} {{ $recipient->city }} @forelse($recipient->phoneNumbers as $phone) {{ $phone->phone_number }} @empty No phones @endforelse @forelse($recipient->nationalIds as $nid) {{ $nid->national_id_number }} @empty No IDs @endforelse @forelse($recipient->fundRegistrations as $fund) {{ ucfirst($fund->fund_type) }} @empty No Fund @endforelse @forelse($recipient->fundRegistrations as $fund) {{ $fund->application_date }} @empty No Date @endforelse @forelse($recipient->fundRegistrations as $fund) @switch($fund->fstatus) @case('approved') Approved @break @case('rejected') Rejected @break @case('pending') Pending @break @default {{ $fund->fstatus }} @endswitch @empty No Fund @endforelse @switch($recipient->status) @case('Active') Active @break @case('Canceled') Canceled @break @case('Pending') Pending @break @endswitch @php $statusFormId = 'canceled-status-form-' . $recipient->id; @endphp
@csrf @method('PUT')
{{-- DataTables init is handled globally (resources/js/app.js) --}}