@php
$enterprise = $config['form']['navbar']['enterprise']['input'];
@endphp
@foreach ($enterprise as $k_e => $e)
@if (empty($e['status']))
@continue
@endif
@if (str_contains($k_e, 'row_'))
@foreach ($e as $k_i => $i)
@if (empty($i['status']))
@continue
@endif
@if (in_array($i['type'], ['input', 'date']))
@php
$read_only = !empty($i['readonly']);
$label = $i['label'] ?? __('field.' . $k_i);
@endphp
@endif
@endforeach
@elseif (str_contains($e['type'], 'upload'))
@php
$read_only = !empty($e['readonly']);
@endphp
@endif
@endforeach