@extends('layouts.app') @section('title', 'Toolbox Talks') @section('content')
Total
{{ $stats['total'] }}
Scheduled
{{ $stats['scheduled'] }}
Completed
{{ $stats['completed'] }}
Avg Attendance
{{ round($stats['avg_attendance']) }}%
| Talk Details | Schedule | Department | Supervisor | Attendance | Status | Actions |
|---|---|---|---|---|---|---|
|
@switch($talk->talk_type)
@case('safety')
@break
@case('health')
@break
@case('environment')
@break
@default
@endswitch
{{ $talk->title }}
@if($talk->biometric_required)
@endif
{{ $talk->reference_number }}
@if($talk->topic)
{{ $talk->topic->title }}
@endif
|
{{ $talk->scheduled_date->format('M d, Y') }}
{{ $talk->start_time ? $talk->start_time->format('g:i A') : 'Not set' }}
{{ $talk->duration_minutes }} min
|
{{ $talk->department?->name ?? 'All' }}
{{ $talk->location }}
|
{{ $talk->supervisor?->name ?? 'Not assigned' }}
|
@if($talk->status === 'completed')
{{ $talk->present_attendees }}/{{ $talk->total_attendees }}
{{ round($talk->attendance_rate) }}%
@else
N/A
@endif
|
@switch($talk->status) @case('scheduled') Scheduled @break @case('in_progress') In Progress @break @case('completed') Completed @break @case('cancelled') Cancelled @break @default {{ $talk->status }} @endswitch | |
|
No toolbox talks found Get started by creating your first toolbox talk Create Talk |
||||||
Showing {{ $toolboxTalks->firstItem() }} to {{ $toolboxTalks->lastItem() }} of {{ $toolboxTalks->total() }} results