{{-- Top Navigation & Success Messages --}} @if(session('success'))
✅ {{ session('success') }}
@endif {{-- Pending Approval Alert Banner --}} @if(($teacher->status ?? '') === 'pending')

⚠️ Action Required: Application Review

This teacher has completed their onboarding form but requires administrative approval before they can access the platform. Please review their documents below.

@csrf
@endif
{{-- Left Column: Profile Card --}}
{{-- ID Card --}}
{{ strtoupper(substr($teacher->name, 0, 2)) }}

{{ $teacher->name }}

Faculty Member

{{ $teacher->status ?? 'Active' }}
Email Address {{ $teacher->email }}
Phone Number @if($teacher->phone) {{ $teacher->phone }} @else Not provided @endif
Account Created {{ $teacher->created_at->format('M d, Y h:i A') }}
{{-- Admin Quick Actions --}}

Quick Actions

✏️ Edit Profile Data
@csrf

@csrf @method('DELETE')
{{-- Right Column: Documents and Professional Data --}}
{{-- Documents Section --}}

📁 Uploaded Documents

{{-- Note: Replace these simulated document checks with your actual database fields (e.g., $teacher->cv_path) --}}
{{-- Document Card: CV / Resume --}}
📄

Curriculum Vitae (CV)

PDF Document

@if(isset($teacher->cv_path) && $teacher->cv_path) View Document ↗ @else No document uploaded @endif
{{-- Document Card: Certification / ID --}}
🪪

Government ID / Cert

Image / PDF

@if(isset($teacher->id_path) && $teacher->id_path) View Document ↗ @else No document uploaded @endif
{{-- Additional Application Details --}}

📝 Application Notes

{{ $teacher->bio ?? 'The teacher has not provided any additional biographical notes or application details during registration.' }}