@php use App\Models\StudentProgress; // var_dump(StudentProgress::where('student_id', $student->id)->latest()->first()->exam_clearance); @endphp @extends('layouts.app') @section('title') Student Details @endsection @section('content')
@if (session('error')) @elseif(session('success')) @endif
Student Information

{{-- column1 --}}
  • Student Name: {{ $student->first_name }} {{ $student->last_name }}
  • Student Number: {{ $student->student_no }}
  • NRC: {{ $student->nrc_passport }}
  • Phone: {{ $student->phone }}
  • Email: {{ $student->email }}
  • {{--
  • {{ $student->student_id }}
  • --}}
{{-- column1 --}}
  • Program of Study: {{ $student->program_name }}
  • Intake Year: {{ ucwords($student->entry_year) }}
  • Current Year: {{ ucwords($student_current_year) }}
  • Current Session: {{ ucwords($student_current_session) }}
  • Status: {{ ucwords($student_status) }}
@csrf @if ($registration_clearance == 'false') {{-- Clear for Exams --}} @else {{-- Revert Clearance --}} @endif
@endsection