@props(['prompt', 'isExhibit' => false]) {{-- An evidence PROMPT — a reminder to ask the client about a finding. It is never an answer: the excerpt is clearly framed as "from records", and the actions let the agent ask, cite, defer or dismiss. $prompt is an App\Support\Witness\EvidencePrompt. --}} @php $handled = $prompt->isResolved() || $prompt->isIrrelevant(); $args = "'".$prompt->sectionKey."', '".$prompt->questionKey."', ".$prompt->evidenceItemId; @endphp
{{ $prompt->promptLine() }}
“{{ $prompt->snippet() }}”
@if($prompt->documentName) {{ $prompt->documentName }}@if($prompt->page), p.{{ $prompt->page }}@endif @endif @if($isExhibit) Exhibited @endif @if($prompt->isDeferred()) Deferred @elseif($prompt->isResolved()) Handled @elseif($prompt->isIrrelevant()) Not relevant @endif
@if(! $handled)
@unless($prompt->isDeferred()) @endunless
@else @endif