@if (@$data) @foreach ($data as $item)
@if ($item->type == 'checkbox')
{{ implode(',', $item->value ?? []) }}
@elseif($item->type == 'file') @if ($item->value) @if (auth()->guard('admin')->user()) @lang('Attachment') @else @lang('Attachment') @endif @else @lang('No file or file path not found....') @endif @else
{{ __($item->value) }}
@endif {{ __(keyToTitle(@$item->name)) }}
@endforeach @endif