@php $run = $run ?? null; $run = $run instanceof \App\Models\OperationRun ? $run : null; $runData = $runData ?? null; $runData = is_array($runData) ? $runData : null; $runUrl = $runUrl ?? null; $runUrl = is_string($runUrl) && trim($runUrl) !== '' ? trim($runUrl) : null; $report = $report ?? null; $report = is_array($report) ? $report : null; $isInProgress = (bool) ($isInProgress ?? false); $canStart = (bool) ($canStart ?? false); $startTooltip = $startTooltip ?? null; $startTooltip = is_string($startTooltip) && trim($startTooltip) !== '' ? trim($startTooltip) : null; @endphp
@if ($run === null)
No verification run has been started yet.
@if ($canStart) Start verification @else
Start verification @if ($startTooltip)
{{ $startTooltip }}
@endif
@endif
@elseif ($isInProgress)
Verification is currently in progress. This section reads only stored run state and does not call external services.
@if ($runUrl) View run @endif @if ($canStart) Start verification @else
Start verification @if ($startTooltip)
{{ $startTooltip }}
@endif
@endif
@else @include('filament.components.verification-report-viewer', [ 'run' => $runData, 'report' => $report, ])
@if ($runUrl) View run @endif @if ($canStart) Start verification @else
Start verification @if ($startTooltip)
{{ $startTooltip }}
@endif
@endif
@endif