@extends('layouts.app') @section('title', 'Student Dashboard - FYP') @section('content') {{-- Personal Info --}}
FYP Information
@if($student->studentFyp)
Student ID
{{ $student->user_id }}
Program
{{ $student->program ?? 'N/A' }}
Email
{{ $student->email }}
Contact
{{ $student->contact ?? 'N/A' }}
Supervisor
{{ $student->studentFyp->supervisorDisplayName() }}
Project Title
{{ $student->studentFyp->projectTitle?->title ?? 'Not Assigned' }}
Category
{{ $student->studentFyp->projectTitle?->category?->name ?? 'N/A' }}
FYP Duration
{{ $student->studentFyp->fyp_duration ?? 'Not Set' }}
Status: {{ $student->studentFyp->status }}
@else
You have not been assigned to a Final Year Project yet. Please contact the administrator.
@endif
{{-- Announcements --}}
Recent Announcements
@if($announcements->count() > 0) @foreach($announcements as $a) @endforeach
Title Description Attachments Date
{{ $a->title }} {{ Str::limit($a->description, 100) }} @foreach($a->attachments as $att) 📄 {{ $att->file_name }}
@endforeach
{{ $a->created_at->format('d M Y') }}
@else
No announcements at this time.
@endif
@endsection