@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; $navGroups = \App\Support\Navigation\StudentNav::groups('profile'); @endphp @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Personal Info

Date of Birth
{{ $student->dob->format('M j, Y') }}
Gender
{{ ucfirst($student->gender) }}
Admitted On
{{ $student->enrolled_at?->format('M j, Y') ?? '—' }}
Status
{{ ucfirst($student->status) }}
@csrf @method('PUT')
New photo preview
@if($student->photo_path)
{{ $student->fullName() }}
@endif

JPG or PNG. Max 2MB.

Academic

These details are managed by the school and cannot be edited here.

Class & Section
{{ $student->section ? $student->section->label() : '—' }}
Academic Session
{{ $student->academicSession->name }}
Roll Number
{{ $student->roll_number ?? '—' }}
Branch
{{ $student->branch->name }}
Department
{{ $student->department?->name ?? '—' }}
@if($student->admissionApplication)
Admission Reference
{{ $student->admissionApplication->reference }}
@endif

Documents

@if($student->admissionApplication && $student->admissionApplication->documents->isNotEmpty())
    @foreach($student->admissionApplication->documents as $document)
  • {{ ucwords(str_replace('_', ' ', $document->document_type)) }}
  • @endforeach
@else

No documents on file.

@endif

Guardians

@forelse($student->guardians as $guardian)

{{ $guardian->fullName() }} @if($guardian->pivot->is_primary)Primary@endif

{{ ucfirst($guardian->relationship) }} · {{ $guardian->phone }}@if($guardian->email) · {{ $guardian->email }}@endif

@empty

No guardians on file yet.

@endforelse