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)

@else
{{ $signature ? 'SIGNED' : 'SIGN' }}
@endif
@if (! $signature)
@endif
@endforeach
@endif
@include('partials.attachments', [
'attachments' => $action->attachments,
'deletePermission' => 'corrective-actions.update',
])
Back