{{-- PHASE 1: INITIATION & CONTAINMENT --}}
1 Basic Information
Number {{ $deviation->deviation_number }} Kind
{{ $deviation->record_kind->label() }}
Type {{ $deviation->deviation_type }} Category {{ $deviation->deviation_category }} Department {{ $deviation->department?->department_name }} Location {{ $deviation->location }} Process Step {{ $deviation->process_step ?? '—' }} Affected Items / Batches
@foreach($deviation->affectedItems as $item)
Batch #
Product Code
Quantity
Disposition
Disposition Date
Actions
@endforeach
{{ $item->batch_number ?? '—' }}
{{ $item->product_code ?? '—' }}
@if($item->quantity_affected)
{{ number_format($item->quantity_affected, 3) }}
{{ $item->unit_of_measure }}
@else
—
@endif
{{ $item->disposition }}
{{ $item->disposition_date?->format('M j, Y') ?? '—' }}
Containment Actions
@foreach($deviation->containments as $c)
Type
Description
Taken By
Date
Effectiveness
Actions
@endforeach
{{ str_replace('_', ' ', $c->action_type) }}
{{ Str::limit($c->action_description, 80) }}
{{ $c->takenByUser?->name ?? '—' }}
{{ $c->action_date?->format('M j, Y') }}
{{ str_replace('_', ' ', $c->effectiveness) }}