+
+ |
+ @if($hasAnyJson)
+
+ @endif
+ |
+
+
+
+ @if($field->is_active)
+
+ @else
+
+ @endif
+ @if($field->is_locked)
+
+ @endif
+
+ |
+
+
+ @if($isSystemField)
+
+ 시스템
+
+ @else
+
+ 커스텀
+
+ @endif
+ |
+
+
+ @if(empty($field->source_table))
+ 미지정
+ @else
+ {{ $field->source_table }}
+ @endif
+ |
+
+
+ @if(empty($field->field_key))
+ 미지정
+ @else
+ {{ $field->field_key }}
+ @endif
+ |
+
+
+
+ {{ $field->field_name }}
+ @if($field->is_required)
+ *
+ @endif
+
+ @if($field->description)
+
+ {{ $field->description }}
+
+ @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[$field->field_type] ?? ['label' => $field->field_type, 'color' => 'gray'];
+ @endphp
+
+ {{ $typeInfo['label'] }}
- @else
-
- {{ $sourceTables[$field->source_table] ?? $field->source_table }}
-
- @endif
- |
-
- @if(empty($field->field_key))
- 미지정
- @else
- {{ $field->field_key }}
- @endif
- |
-
- {{ $field->field_name }}
- |
-
- @php
- $typeLabels = [
- 'textbox' => '텍스트',
- 'number' => '숫자',
- 'dropdown' => '드롭다운',
- 'checkbox' => '체크박스',
- 'date' => '날짜',
- 'textarea' => '텍스트영역',
- ];
- @endphp
-
- {{ $typeLabels[$field->field_type] ?? $field->field_type }}
-
- |
-
- @if($field->is_required)
-
- |
+
+
+ @if($field->is_required)
+
-
- @else
- -
- @endif
- |
-
- {{ $field->default_value ?? '-' }}
- |
-
-
-
-
-
- |
-
- @endforeach
-