@extends('layouts.app') @section('title', 'Student Profile - ' . $student->full_name) @section('page_header', 'Student Intern Profile') @section('content')
{{ strtoupper(substr($student->full_name, 0, 1)) }}

{{ $student->full_name }}

{{ $student->college->name ?? 'Direct Applicant / Independent' }}

Student ID: #{{ $student->id }} • Added {{ $student->created_at->format('d M Y') }}

Contact Details

Email

{{ $student->email ?? 'Not provided' }}

Phone

{{ $student->phone ?? 'Not provided' }}

Demographics

Age / DOB

{{ $student->age ? $student->age . ' Years' : 'N/A' }} {{ $student->dob ? '(' . date('d M Y', strtotime($student->dob)) . ')' : '' }}

Gender

{{ $student->gender ?? 'N/A' }}

College Information

Institution Name

{{ $student->college->name ?? 'N/A' }}

Location

{{ $student->college->city_state ?? 'N/A' }}

Issued Certificates

History of certificates issued to {{ $student->full_name }}

Issue New Certificate
@forelse($student->certificates as $cert)
{{ $cert->certificate_uuid }} @if($cert->status === 'active') Active @else Revoked @endif

{{ $cert->course->title ?? 'Internship Certificate' }}

Duration: {{ $cert->duration }} ({{ date('d M Y', strtotime($cert->start_date)) }} — {{ date('d M Y', strtotime($cert->end_date)) }})

@empty
No certificates generated for this student yet.
@endforelse
@endsection