@php $attributes = []; if (!empty($record->custom_attribute)) { $attributes = is_array($record->custom_attribute) ? $record->custom_attribute : json_decode($record->custom_attribute, true); } @endphp @if(!empty($attributes))
| Attribute | Value |
|---|---|
| {{ $key }} | {{ is_null($value) ? '—' : $value }} |