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

Corrective Action

Title
{{ $action->title }}
Status
{{ $action->status }}
Priority
{{ $action->priority }}
Due On
{{ $action->due_on ?? '—' }}
Completed On
{{ $action->completed_on ?? '—' }}
Site
{{ $action->site?->name ?? '—' }}
Assigned To
{{ $action->assignee?->name ?? '—' }}
Description
{{ $action->description ?? '—' }}
Additional People Signatures
@php $signatureMap = $action->signatures->keyBy('person_name'); $people = collect($action->tags ?? []) ->map(fn ($name) => trim($name)) ->filter() ->values() ->all(); @endphp @if (empty($people)) — @else
@foreach ($people as $person) @php $signature = $signatureMap->get($person); @endphp
@if ($signature?->signature_data) Signature for {{ $person }} @else
{{ $signature ? 'SIGNED' : 'SIGN' }}
@endif
{{ $person }} @if ($signature?->signed_at)
{{ $signature->signed_at->format('M d, Y g:i A') }}
@else
Not signed
@endif
@if (! $signature) @endif
@endforeach
@endif
@include('partials.attachments', [ 'attachments' => $action->attachments, 'deletePermission' => 'corrective-actions.update', ]) Back
Sign Attendance
@csrf