+
+ |
+ {{ $def->order_no }}
+ |
+
+
+ {{ $def->source_table }}
+ |
+
+
+ {{ $def->field_key }}
+ |
+
+
+
+ {{ $def->field_name }}
+ @if($def->is_required)
+ *
+ @endif
+
+ @if($def->default_value)
+ 기본값: {{ $def->default_value }}
+ @endif
+ |
+
+
+ @php
+ $typeLabels = [
+ 'textbox' => ['label' => '텍스트', 'color' => 'gray'],
+ 'number' => ['label' => '숫자', 'color' => 'blue'],
+ 'dropdown' => ['label' => '드롭다운', 'color' => 'purple'],
+ 'checkbox' => ['label' => '체크박스', 'color' => 'green'],
+ 'date' => ['label' => '날짜', 'color' => 'orange'],
+ 'textarea' => ['label' => '텍스트영역', 'color' => 'gray'],
+ ];
+ $typeInfo = $typeLabels[$def->field_type] ?? ['label' => $def->field_type, 'color' => 'gray'];
+ @endphp
+
+ {{ $typeInfo['label'] }}
+
+ |
+
+
+ @if($def->is_required)
+
+ @else
+ -
+ @endif
+ |
+
+
+ @if($def->is_seed_default)
+
+ 시딩대상
+
+ @else
+
+ 제외
+
+ @endif
+ |
+
+
+ @if(!empty($def->options))
+ @php
+ $optionsData = is_array($def->options) ? $def->options : json_decode($def->options, true);
+ $optionCount = is_array($optionsData) ? count($optionsData) : 0;
+ @endphp
+
+ {{ $optionCount }}개
+
+ @else
+ -
+ @endif
+ |
+
+
+
+ |
+
+ @endforeach
+