{{-- A good traveler has no fixed plans and is not intent upon arriving. --}}
Beneficiaries
@if (count($selectedstudents) > 0) {{-- bulk actions --}} @endif
{{-- filter --}}
{{ __('Excel') }}
{{-- per page selection --}}
@if (count($selectedstudents)) {{ count($selectedstudents) }} students selected | Deselect all @endif
@foreach ($students as $student) @endforeach
{{-- --}} # Name Number Gender Sponsors Present Class Actions
{{ $student->name }}
{{ $student->name }}
{{ $student->number ?? '' }} {{ $student->gender == 'F' ? 'Female' : 'Male' }} {{ $student->sponsors->count() }} @php $academics = App\Models\BeneficiaryInstitutionClass::where( 'beneficiary_id', $student->id, )->first(); @endphp @if ($academics != null) {{ $academics->institutionClass?->name ?? $academics->institutionClass?->description ?? '' }} @else {{ $student->present_class }} @endif
@can('view-beneficiaries') Details @endcan
{{ $students->links() }}