@php $normalized = $getState() ?? []; $warnings = $normalized['warnings'] ?? []; $settings = $normalized['settings'] ?? []; $settingsTable = $normalized['settings_table'] ?? null; $settingsTableRows = is_array($settingsTable) ? ($settingsTable['rows'] ?? []) : []; $context = $normalized['context'] ?? 'policy'; $recordId = $normalized['record_id'] ?? null; @endphp
No settings available.
@endif @if (! empty($settingsTableRows)) @php $settingsTableTitle = is_array($settingsTable) ? ($settingsTable['title'] ?? null) : null; $shouldShowTitle = is_string($settingsTableTitle) && $settingsTableTitle !== '' && ! ($context === 'policy' && strtolower($settingsTableTitle) === 'settings'); @endphp| {{ $column['label'] ?? $column['key'] ?? '-' }} | @endforeach @elsePath | Value | @endif
|---|---|---|
@if (is_array($cell))
{{ json_encode($cell, JSON_PRETTY_PRINT) }}
@elseif (is_bool($cell))
{{ $cell ? 'true' : 'false' }}
@else
{{ $cell ?? '-' }}
@endif
|
@endforeach
@else
{{ $row['path'] ?? '-' }}
@if (! empty($row['label']))
{{ $row['label'] }}
@endif
|
{{ is_array($row['value'] ?? null) ? json_encode($row['value'], JSON_PRETTY_PRINT) : ($row['value'] ?? '-') }} | @endif
| {{ $column['label'] ?? $column['key'] ?? '-' }} | @endforeach @elsePath | Value | @endif
|---|---|---|
@if (is_array($cell))
{{ json_encode($cell, JSON_PRETTY_PRINT) }}
@elseif (is_bool($cell))
{{ $cell ? 'true' : 'false' }}
@else
{{ $cell ?? '-' }}
@endif
|
@endforeach
@else
{{ $row['path'] ?? '-' }}
@if (! empty($row['label']))
{{ $row['label'] }}
@endif
|
{{ is_array($row['value'] ?? null) ? json_encode($row['value'], JSON_PRETTY_PRINT) : ($row['value'] ?? '-') }} | @endif