{{-- @if ($lawsProject->advices) --}} @foreach ($document->advices->reject(fn ($advice) => empty($advice->to_id) && $advice->hasLegalOpinion()) as $advice) @endforeach {{-- @endif --}}
DATA PARA SITUAÇÃO PARECER JURÍDICO AÇÕES
{{ $advice->date }} {{ $advice->destination->name ?? 'Parecer jurídico' }} {{ optional(optional($advice->situation->last())->situation)->name ?? 'Não informado' }} {{ $advice->hasLegalOpinion() ? 'Informado' : 'Não informado' }}
{{-- --}} {{-- --}} {{-- --}} @if ($advice->to_id) @endif