@php
$juridico = \App\Models\AuditorJuridico::where('auditor_id', $auditor->id)->first();
$nuevosIntegrantes = $juridico ? $juridico->equipoTecnico->where('es_nuevo', 1) : collect();
@endphp
@if($nuevosIntegrantes->count())
@foreach($nuevosIntegrantes as $integrante)
-
{{ $integrante->auditorNatural->nombre ?? 'Nombre no disponible' }}
{{ $integrante->auditorNatural->cedula ?? 'Cédula no disponible' }}
Nuevo
@endforeach
@else
No hay nuevos integrantes registrados.
@endif