@if (isset($fields))
@foreach ($fields as $field)
@if (in_array($field->type, ['text', 'password', 'number']))
@elseif($field->type == 'textarea')
@elseif($field->type == 'radio')
@elseif($field->type == 'checkbox')
@elseif($field->type == 'select')
@elseif($field->type == 'date')
@elseif($field->type == 'file')
@php
$fileValue = '--';
if(!is_null($model->custom_fields_data['field_'.$field->id]) && $model->custom_fields_data['field_'.$field->id] != ''){
$fileValue = ''.__('app.storageSetting.downloadFile').' ';
}
@endphp
@endif
{{-- @dd($model->custom_fields_data) --}}
@endforeach
@endif