@if ($existing_files_docs) @foreach ($existing_files_docs as $index => $file_input)
@if(is_array($file_input) && $file_input['name']) @if (!$readonly) @endif @php $pic = App\Helpers\DocumentHelper::doc_type($file_input['name']); @endphp

{{ Str::limit($file_input['name'], 20) }}

@if($file_input) {{ __('messages.Download') }} @endif @else @php $pic = App\Helpers\DocumentHelper::doc_type($file_input->getClientOriginalName()); @endphp

{{ Str::limit($file_input->getClientOriginalName(), 20) }}

@if($file_input) {{ __('messages.Download') }} @endif @endif
@endforeach @endif