{{-- Conteúdo da célula ANDAMENTO: legenda institucional (cor) + texto livre --}} @php $legendaPorCor = $legendaPorCor ?? []; $corKey = (string) ($cor ?? ''); $legendaFixa = $corKey !== '' && isset($legendaPorCor[$corKey]) ? $legendaPorCor[$corKey] : null; $livre = trim((string) ($textoLivre ?? '')); $temConteudo = $legendaFixa || $livre !== ''; $compacto = !empty($compacto); @endphp @if($temConteudo)
@if($legendaFixa)
{{ $compacto ? \Illuminate\Support\Str::limit($legendaFixa, 28) : $legendaFixa }}
@endif @if($livre !== '')
@if($legendaFixa)* @endif{{ $compacto ? \Illuminate\Support\Str::limit($livre, 24) : $livre }}
@endif
@endif