@extends('layouts.app') @section('title', 'Toolbox Talks Reporting') @section('content')
Total Talks
{{ number_format($stats['total_talks']) }}
Completion Rate
{{ number_format($stats['completion_rate'], 1) }}%
Participation Rate
{{ number_format($stats['participation_rate'], 1) }}%
Satisfaction Score
{{ number_format($stats['satisfaction_score'], 1) }}/5

Need Detailed Reports?

Access comprehensive reports with advanced filtering, period-based analysis, and Excel/PDF exports.

Attendance Trends (Last 6 Months)

@forelse($attendanceTrends ?? [] as $trend)
{{ $trend['month'] }}
@if($trend['avg_attendance'] > 10) {{ number_format($trend['avg_attendance'], 1) }}% @endif
{{ $trend['total_talks'] }} talks
@empty

No attendance data available

@endforelse

Top Topics Performance

@forelse($topics ?? [] as $topic)
{{ $topic['name'] }}
{{ $topic['count'] }} talks
Avg Attendance: {{ number_format($topic['avg_attendance'], 1) }}%
Avg Rating: {{ number_format($topic['avg_rating'], 1) }}/5
@empty

No topic data available

@endforelse

Department Comparison

View Details
@forelse($departmentPerformance ?? [] as $dept)
{{ $dept['name'] }}
{{ $dept['total_talks'] }} talks
{{ number_format($dept['avg_attendance'], 1) }}%
@empty

No department data available

@endforelse

Recent Activity

@forelse($recentTalks ?? [] as $talk)
{{ $talk->title }}
{{ $talk->updated_at->diffForHumans() }}
@if($talk->department) {{ $talk->department->name }} @endif {{ ucfirst(str_replace('_', ' ', $talk->status)) }}
@empty

No recent activity

@endforelse
@endsection