@extends('layouts.app') @section('title', 'Report Logs - Student') @section('content') {{-- Student Information --}}
Student Information
Full Name
{{ $student->fullname }}
Student ID
{{ $student->user_id }}
Program
{{ $student->program ?? 'N/A' }}
Contact
{{ $student->contact ?? 'N/A' }}
Email
{{ $student->email }}
Supervisor
{{ $fyp->supervisorDisplayName() }}
Project Title
{{ $fyp->projectTitle->title ?? 'Not Assigned' }}
{{-- FYP Information --}}
FYP Information
{{-- Information --}}
Information
@if($informations->count() > 0) @foreach($informations as $info)
{{ $info->title }}

{{ $info->description }}

Posted {{ $info->created_at->format('d M Y, h:i A') }}
@endforeach @else
No information available yet.
@endif {{-- Templates --}}
Templates
@if($templates->count() > 0) @foreach($templates as $i => $tpl) @endforeach
# Title Description Attachment
{{ $i + 1 }} {{ Str::replace('[TEMPLATE] ', '', $tpl->title) }} {{ Str::limit($tpl->description, 80) }} @if($tpl->attachments->count() > 0) @foreach($tpl->attachments as $att) Download @endforeach @else - @endif
@else
No templates available yet.
@endif
{{-- Log Book Submission --}}
Log Book Submission
@csrf
@error('title')
{{ $message }}
@enderror
Maximum file size: 10MB @error('file')
{{ $message }}
@enderror
{{-- List of Report Log --}}
List of Report Log
@forelse($reports as $i => $report) @empty @endforelse
No Title Comment Status Your Attachment Supervisor File
{{ $reports->firstItem() + $i }} {{ $report->title }} @if($report->supervisor_comment) {{ $report->supervisor_comment }} @else - @endif {{ $report->status }} Download @if($report->supervisor_file_path) Download @else - @endif
No reports submitted yet.
{{ $reports->links() }}
@endsection