@extends('admin.layouts.layouts') @section('content')

{{ $student->first_name }} {{ $student->last_name }}

Student Details

Email: {{ $student->email }}

Phone: {{ $student->phone ?? 'No Phone Number Provided' }}

Address: {{ $student->address ?? 'No Address Provided' }}

Group Type: {{ $student->group_type ?? 'No Group Assigned' }}

Payment Status: {{ $student->payment ?? 'No Value' }}

Stage Years:

@if ($student->studentContents->isNotEmpty())
    @foreach ($student->studentContents as $content) @if ($content->stageYear)
  • {{ $content->stageYear->name }}
  • @else
  • No Stage Year Assigned
  • @endif @endforeach
@else No Stage Year Assigned @endif

Curricula:

@if ($student->studentContents->isNotEmpty())
    @foreach ($student->studentContents as $content) @if ($content->curriculum)
  • {{ $content->curriculum->name }}
  • @else
  • No Curriculum Assigned
  • @endif @endforeach
@else No Curriculum Assigned @endif

Teachers:

@if ($student->studentContents->isNotEmpty())
    @foreach ($student->studentContents as $content) @if ($content->teacher)
  • @if ($content->isTeacherAssigned) {{ $content->teacher->name }} @else Teacher changed this curriculum. Please select another teacher. @endif
  • @else
  • No Teacher Assigned
  • @endif @endforeach
@else No Teacher Assigned @endif
@endsection