@php $legacyLabel = $legacyLabel ?? 'Ver complemento'; @endphp @if($xmlFile) Ver XML @endif @if($pdfFile) Ver PDF @endif @if(!$xmlFile && !$pdfFile && $legacyFile) {{ $legacyLabel }} @endif