@extends('layouts.app') @section('title', 'Toolbox Talks') @section('content')

Toolbox Talks

@can('toolbox_talks.create') New Talk @endcan

Total

{{ $stats['total'] }}

Scheduled

{{ $stats['scheduled'] }}

Completed

{{ $stats['completed'] }}

Avg Attendance

{{ round($stats['avg_attendance']) }}%

Clear
@forelse($toolboxTalks as $talk) @empty @endforelse
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
@if($talk->status !== 'completed') @endif @if($talk->status === 'scheduled')
@csrf
@endif @if($talk->status === 'in_progress')
@csrf
@endif @if($talk->status !== 'completed')
@csrf @method('DELETE')
@endif

No toolbox talks found

Get started by creating your first toolbox talk

Create Talk
@if($toolboxTalks->hasPages())
{{ $toolboxTalks->links() }}
@endif
@endsection