@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $statusLabels = ['study' => 'Higher Study', 'job' => 'Job', 'business' => 'Business', 'other' => 'Other']; @endphp
@forelse($alumni as $index => $alumnus) @empty @endforelse
# Name Batch Status Featured Public
{{ $index + 1 }}
@if($alumnus->photo_path) {{ $alumnus->name }} @else
{{ mb_substr($alumnus->name, 0, 1) }}
@endif {{ $alumnus->name }}
{{ $alumnus->batch_year }}{{ $alumnus->exam ? ' '.$alumnus->exam : '' }} {{ $alumnus->status_type ? ($statusLabels[$alumnus->status_type] ?? $alumnus->status_type) : '—' }} {{ $alumnus->is_featured ? 'Featured' : '—' }} {{ $alumnus->is_public ? 'Public' : 'Hidden' }}
No alumni added yet.
@csrf
Photo preview
@foreach($alumni as $alumnus)
@csrf @method('PUT')
@if($alumnus->photo_path) @endif
Photo preview

{{ $alumnus->photo_path ? 'Replace with a new photo (optional):' : 'Photo (optional):' }}

@if($alumnus->photo_path) @endif
@endforeach