@php $history = $history ?? collect(); $hasHistory = $history->isNotEmpty(); @endphp @canRoute ('visus.results.show')