@if ($student->sponsors->count() == 0 && !$student->trashed())
Set Sponsored

Update this benefitiary to default Sponsored status

@livewire('students.set-default-sponsor-form', ['student_id' => $student->id], key('set-default-sponsor-' . $student->id))
@endif @can('delete-beneficiaries') {{-- Knowing others is intelligence; knowing yourself is true wisdom. --}} @if ($student->deleted_at)
Restore

Make this Alumni active again. this can be after the comfirmation / approval of the A'level study application

@livewire('students.reactivation-form-model', ['student_id' => $student->id], key('reactivation-form-model-' . $student->id))
@else
Deactivate

Make this benefitiary an alumni.

@livewire('students.deactivation-form-model', ['student_id' => $student->id], key('deactivation-form-model-' . $student->id))
@endif @endcan @if ($student->deactivationNotes->count() > 0)
@foreach ($student->deactivationNotes as $note) @if ($note->is_deactivation)

Deactivated: {{ $note->created_at->diffForHumans() }} by {{ $note->user->name }} with reason: {{ $note->note }}

@else

Reactivated: {{ $note->created_at->diffForHumans() }} by {{ $note->user->name }} with reason: {{ $note->note }}

@endif @endforeach
@endif @can('delete-beneficiaries') @if ($student->deleted_at)
Delete

Permanently Delete this Alumni from the system

Delete
{{ __('Delete ' . $student->name) }}

{{ __('Are you sure you want to permanently delete this Beneficiary?') }}

{{ __('Confirm Delete') }}
@endif @endcan