@if ($student->photo_path) {{ $student->name_en }} @else
@endif

{{ $student->name_en }}

@if ($student->name_bn)

{{ $student->name_bn }}

@endif

{{ $student->student_uid }}

@if ($student->application) {{ $student->application->application_no }} @endif
{{ __('app.actions.back') }} @can('update', $student) {{ __('app.actions.edit') }} @endcan
@if ($notice) {{ $notice }} @endif @if ($profileError) {{ $profileError }} @endif @if ($student->isArchived()) {{ __('app.students.archived_warning') }} @endif
@can('promote', $student) @if ($student->isActive()) {{ __('app.students.promote') }} @endif @endcan @can('transfer', $student) @if ($student->isActive()) {{ __('app.students.transfer') }} @endif @endcan @can('archive', $student) @if (! $student->isArchived()) {{ __('app.actions.archive') }} @endif @endcan @can('restore', $student) @if ($student->isArchived()) {{ __('app.actions.restore') }} @endif @endcan
@if ($showPromote)
{{ __('app.students.promote_hint') }}
@foreach ($years as $yearOption) @endforeach @foreach ($divisions as $divisionOption) @endforeach @foreach ($classes as $classOption) @endforeach @foreach ($sections as $sectionOption) @endforeach
{{ __('app.actions.cancel') }} {{ __('app.students.promote') }}
@endif @if ($showTransfer)
{{ __('app.students.transfer_hint') }}
{{ __('app.actions.cancel') }} {{ __('app.students.transfer') }}
@endif
{{ __('app.students.gender') }}
{{ $student->gender->label() }}
{{ __('app.students.date_of_birth') }}
{{ $student->date_of_birth->translatedFormat('d M Y') }}
{{ __('app.students.blood_group') }}
{{ $student->blood_group ?: '—' }}
{{ __('app.students.admission_date') }}
{{ $student->admission_date->translatedFormat('d M Y') }}
{{ __('app.students.phone') }}
{{ $student->phone }}
{{ __('app.students.email') }}
{{ $student->email ?: '—' }}
{{ __('app.students.present_address') }}
{{ $student->present_address }}
@if ($student->permanent_address)
{{ __('app.students.permanent_address') }}
{{ $student->permanent_address }}
@endif @if ($student->previous_institution)
{{ __('app.students.previous_institution') }}
{{ $student->previous_institution }}
@endif
@foreach ($student->guardians as $guardian)
{{ $guardian->relation->label() }} @if ($guardian->is_primary) {{ __('app.students.primary_guardian') }} @endif @if ($guardian->is_emergency) {{ __('app.students.emergency_contact') }} @endif

{{ $guardian->name_en }} @if ($guardian->name_bn) / {{ $guardian->name_bn }} @endif

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

@if ($guardian->occupation)

{{ $guardian->occupation }}

@endif @if ($guardian->address)

{{ $guardian->address }}

@endif
@endforeach
@if ($student->documents->isEmpty())

{{ __('app.students.no_documents') }}

@else
    @foreach ($student->documents as $document)
  • {{ $document->title ?: $document->original_name }}

    {{ $document->type->label() }} · {{ $document->humanSize() }} @if ($document->uploader) · {{ $document->uploader->name }} @endif · {{ $document->created_at->translatedFormat('d M Y') }}

    {{ __('app.actions.download') }} @can('delete', $document) {{ __('app.actions.delete') }} @endcan
  • @endforeach
@endif @can('update', $student)
@error('documentUpload')

{{ $message }}

@enderror
@foreach ($documentTypes as $type) @endforeach
{{ __('app.students.upload_document') }}
@endcan
@if ($student->enrollments->isEmpty())

{{ __('app.students.no_enrollments') }}

@else
@foreach ($student->enrollments as $enrollment) @endforeach
{{ __('app.students.academic_year') }} {{ __('app.students.placement') }} {{ __('app.students.enrolled_on') }} {{ __('app.students.exited_on') }}
{{ $enrollment->academicYear?->name }} {{ $enrollment->division?->localizedName() }} {{ $enrollment->academicClass?->localizedName() ?? __('app.students.no_class') }} @if ($enrollment->section) · {{ $enrollment->section->localizedName() }} @endif @if ($enrollment->roll) · {{ __('app.students.roll') }}: {{ $enrollment->roll }} @endif {{ $enrollment->enrolled_on->translatedFormat('d M Y') }} @if ($enrollment->isCurrent()) {{ __('app.students.current') }} @else {{ $enrollment->exited_on?->translatedFormat('d M Y') }} @if ($enrollment->exit_type) {{ $enrollment->exit_type->label() }} @endif @endif
@endif
@if ($student->transfers->isEmpty())

{{ __('app.students.no_transfers') }}

@else
    @foreach ($student->transfers as $transfer)
  • {{ $transfer->destination_institution }}

    {{ $transfer->transferred_on->translatedFormat('d M Y') }}
    @if ($transfer->destination_address)

    {{ $transfer->destination_address }}

    @endif

    {{ $transfer->reason }}

    @if ($transfer->notes)

    {{ $transfer->notes }}

    @endif @if ($transfer->recorder)

    {{ $transfer->recorder->name }}

    @endif
  • @endforeach
@endif
{{ __('app.students.academic_year') }}
{{ $student->academicYear?->name }}
{{ __('app.students.division') }}
{{ $student->division?->localizedName() }}
{{ __('app.students.class') }}
{{ $student->academicClass?->localizedName() ?? __('app.students.no_class') }}
{{ __('app.students.section') }}
{{ $student->section?->localizedName() ?? '—' }}
{{ __('app.students.roll') }}
{{ $student->roll ?: '—' }}
@if ($student->currentEnrollment)
{{ __('app.students.enrolled_on') }}
{{ $student->currentEnrollment->enrolled_on->translatedFormat('d M Y') }}
@endif
{{ __('app.students.application_no') }}
@if ($student->application) {{ $student->application->application_no }} @else — @endif
{{ __('app.students.created_by') }}
{{ $student->creator?->name ?? '—' }}
{{ __('app.students.created_at') }}
{{ $student->created_at->translatedFormat('d M Y, H:i') }}