@extends('layouts.app') @section('title', 'Period Report') @section('content')

Report Period

{{ ucfirst($period) }} Report: {{ $startDate->format('F j, Y') }} to {{ $endDate->format('F j, Y') }}

Total Talks
{{ $stats['total_talks'] }}
Completed
{{ $stats['completed'] }}
Avg Attendance Rate
{{ number_format($stats['avg_attendance_rate'], 1) }}%
Avg Feedback Score
{{ number_format($stats['avg_feedback_score'], 2) }}/5

Status Breakdown

{{ $stats['scheduled'] }}
Scheduled
{{ $stats['in_progress'] }}
In Progress
{{ $stats['completed'] }}
Completed
{{ $stats['cancelled'] }}
Cancelled
{{ $stats['overdue'] }}
Overdue
@if($departmentBreakdown->isNotEmpty())

Department Breakdown

@foreach($departmentBreakdown as $dept) @endforeach
Department Talks Avg Attendance
{{ $dept['name'] }} {{ $dept['count'] }} {{ number_format($dept['avg_attendance'], 2) }}%
@endif @if($topicBreakdown->isNotEmpty())

Top Topics

@foreach($topicBreakdown as $topic) @endforeach
Topic Talks Avg Attendance
{{ $topic['name'] }} {{ $topic['count'] }} {{ number_format($topic['avg_attendance'], 2) }}%
@endif

All Talks

@forelse($talks as $talk) @empty @endforelse
Reference Title Date Status Department Attendance Rate
{{ $talk->reference_number }} {{ $talk->title }} {{ $talk->scheduled_date->format('M j, Y') }} {{ ucfirst($talk->status) }} {{ $talk->department?->name ?? 'N/A' }} {{ number_format($talk->attendance_rate, 2) }}%
No talks found for the selected period.
@endsection