@include('partials.styles') @include('partials.nav')

Toolbox Talk

Topic
{{ $talk->topic }}
Date Held
{{ $talk->held_on }}
Site
{{ $talk->site?->name ?? '—' }}
Crew
{{ $talk->crew?->name ?? '—' }}
Attendees
{{ $talk->attendees ? implode(', ', $talk->attendees) : '—' }}
Notes
{{ $talk->notes ?? '—' }}
Attendee Signatures
@php $signatureMap = $talk->signatures->keyBy('attendee_name'); $attendees = collect($talk->attendees ?? []) ->map(fn ($name) => trim($name)) ->filter() ->values() ->all(); @endphp @if (empty($attendees)) — @else
@foreach ($attendees as $attendee) @php $signature = $signatureMap->get($attendee); @endphp
@if ($signature?->signature_data) Signature for {{ $attendee }} @else
{{ $signature ? 'SIGNED' : 'SIGN' }}
@endif
{{ $attendee }} @if ($signature?->signed_at)
{{ $signature->signed_at->format('M d, Y g:i A') }}
@else
Not signed
@endif
@if (! $signature) @endif
@endforeach
@endif
Library Items
@if ($talk->libraryItems->isEmpty()) — @else @endif
SDS Sheets
@if ($talk->sdsDocuments->isEmpty()) — @else
@foreach ($talk->sdsDocuments as $doc) @php $ext = strtoupper(pathinfo($doc->file_name ?? '', PATHINFO_EXTENSION) ?: 'SDS'); @endphp
{{ $ext }}
{{ $doc->file_name ?: $doc->title }}
{{ $doc->manufacturer }}
@endforeach
@endif
Back
Sign Attendance
@csrf