@php use App\Support\Badges\BadgeDomain; use App\Support\Badges\BadgeRenderer; use Illuminate\Support\Carbon; $rows = $getState() ?? []; $formatTimestamp = static function (?string $value): string { if (! is_string($value) || trim($value) === '') { return '—'; } try { return Carbon::parse($value)->toDayDateTimeString(); } catch (\Throwable) { return $value; } }; @endphp
| Policy type | Items | Fidelity | Gaps | Latest evidence | Coverage hint |
|---|---|---|---|---|---|
| {{ $row['label'] ?? ($row['policyType'] ?? 'Policy type') }} | {{ (int) ($row['itemCount'] ?? 0) }} |
|
|
{{ $formatTimestamp($row['capturedAt'] ?? null) }} | {{ $row['coverageHint'] ?? '—' }} |