@extends('layouts.app') @section('title', 'Student Profile') @section('content')

Student Profile

Endpoint: GET /api/academy/profile

← Back to Dashboard
@if(isset($data['success']) && $data['success'] && isset($data['data'])) @php $profile = $data['data']; @endphp

{{ $profile['name'] ?? 'N/A' }}

{{ $profile['email'] ?? 'N/A' }}

{{ ucfirst($profile['status'] ?? 'Unknown') }} @if(isset($profile['gender'])) {{ $profile['gender'] === 'M' ? 'Male' : 'Female' }} @endif
Phone
{{ $profile['phone'] ?? 'N/A' }}
Student ID
{{ $profile['student_id'] ?? 'N/A' }}
Customer ID
{{ $profile['customer_id'] ?? 'N/A' }}
Gender
{{ $profile['gender'] === 'M' ? 'Male' : ($profile['gender'] === 'F' ? 'Female' : ($profile['gender'] ?? 'N/A')) }}
Career Goals
{{ $profile['career_goals'] ?? 'N/A' }}
Registered At
{{ isset($profile['registered_at']) ? \Carbon\Carbon::parse($profile['registered_at'])->format('M d, Y H:i') : 'N/A' }}
@else
Failed to parse valid profile data.
@endif
@endsection