Ver detalles del cambio
Antes
@foreach($before as $key=>$value){{ $labels[$key] ?? str_replace('_',' ',ucfirst($key)) }}: {{ is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : ($value === null ? '—' : (is_bool($value) ? ($value ? 'Sí' : 'No') : $value)) }}
@endforeachDespués / configuración
@foreach($after as $key=>$value){{ $labels[$key] ?? str_replace('_',' ',ucfirst($key)) }}: {{ is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : ($value === null ? '—' : (is_bool($value) ? ($value ? 'Sí' : 'No') : $value)) }}
@endforeach