{{-- Do your work, then step back. --}}
Alumni Beneficiaries
@if (count($selectedstudents) > 0) {{-- bulk actions --}} @endif
{{-- filter --}} {{--
{{ __('Export') }}
--}}
{{-- per page selection --}}
@if (count($selectedstudents)) {{ count($selectedstudents) }} students selected | Deselect all @endif
@foreach ($students as $student) @endforeach
{{-- --}} # Name Number Gender Present Class Actions
{{ $student->name }}
{{ $student->name }}
{{ $student->number ?? '' }} {{ $student->gender == 'F' ? 'Female' : 'Male' }} @php $academics = App\Models\BeneficiaryInstitutionClass::where( 'beneficiary_id', $student->id, )->first(); @endphp @if ($academics != null) {{ $academics->institutionClass->description ?? '' }} @else {{ $student->present_class }} @endif
@can('delete-beneficiaries') @if ($student->deleted_at == null) Deactivate @else Activate @endif @endcan @can('view-beneficiaries') Details @endcan
{{ $students->links() }}