@extends('layouts.app') @section('title', 'CAPA Dashboard') @section('content')
No data.
@endforelseNo overdue actions.
@else| CAPA # | Action | Responsible | Due Date | Days Overdue |
|---|---|---|---|---|
| {{ $a->capa?->capa_number }} | {{ Str::limit($a->action_description, 60) }} | {{ $a->responsible?->name ?? '—' }} | {{ $a->due_date?->format('M j, Y') }} | {{ now()->diffInDays($a->due_date) }} days |
| CAPA # | Title | Priority | Status | Created |
|---|---|---|---|---|
| {{ $c->capa_number }} | {{ Str::limit($c->title, 60) }} | {{ $c->priority }} | {{ $c->status }} | {{ $c->created_at?->format('M j, Y') }} |