@foreach($record->getAttributes() as $key => $value)
{{ str_replace('_', ' ', $key) }}
@if(is_bool($value) || in_array($value, [0, 1, '0', '1'], true) && str_starts_with($key, 'is_')) {{ $value ? 'Yes' : 'No' }} @elseif($value === null || $value === '') — @else {{ $value }} @endif
@endforeach