Status
{{ \App\Support\Badges\BadgeRenderer::label(\App\Support\Badges\BadgeDomain::FindingExceptionStatus)($selectedException->status) }}
{{ \App\Support\Badges\BadgeRenderer::label(\App\Support\Badges\BadgeDomain::FindingRiskGovernanceValidity)($selectedException->current_validity_state) }}
@php
$governanceWarning = app(\App\Services\Findings\FindingRiskGovernanceResolver::class)->resolveWarningMessage($selectedException->finding, $selectedException);
$governanceWarningColor = (string) $selectedException->current_validity_state === \App\Models\FindingException::VALIDITY_EXPIRING
? 'text-warning-700 dark:text-warning-300'
: 'text-danger-700 dark:text-danger-300';
@endphp
@if (filled($governanceWarning))
{{ $governanceWarning }}
@endif
Scope
{{ $selectedException->tenant?->name ?? 'Unknown tenant' }}
Finding #{{ $selectedException->finding_id }}
Review timing
Review due {{ $selectedException->review_due_at?->toDayDateTimeString() ?? 'โ' }}
Expires {{ $selectedException->expires_at?->toDayDateTimeString() ?? 'โ' }}
Request
-
Requested by
-
{{ $selectedException->requester?->name ?? 'Unknown requester' }}
-
Owner
-
{{ $selectedException->owner?->name ?? 'Unassigned' }}
-
Reason
-
{{ $selectedException->request_reason }}
Decision history
@if ($selectedException->decisions->isEmpty())
No decisions have been recorded yet.
@else
@foreach ($selectedException->decisions as $decision)
{{ ucfirst(str_replace('_', ' ', $decision->decision_type)) }}
{{ $decision->actor?->name ?? 'Unknown actor' }} ยท {{ $decision->decided_at?->toDayDateTimeString() ?? 'โ' }}
@if (filled($decision->reason))
{{ $decision->reason }}
@endif
@endforeach
@endif