@if(isset($file) && $file && ($file->getClientOriginalExtension() == "png" || $file->getClientOriginalExtension() == "jpg" || $file->getClientOriginalExtension() == "jpeg"))
{{$file->getClientOriginalName()}}
#
@elseif($file && !is_array($file) && $file->temporaryUrl())
{{$file->getClientOriginalName()}}
#
@elseif(isset($document_exist)) @if($type == 'media')
{{-- --}}
{{$title}}
#
@else
{{$title}}
{{--
{{$title}}
--}}
#
@endif @else

#

Choose file

Allowed JPG, PNG, JPEG, PDF, DOC, DOX. Max size of 2MB

Uploading...
@endif @error('file') {{ $message }} @enderror
{{--
{{$type->title}} <
@if ($errors->has('docs_expiration_date')) {{ $errors->first('docs_expiration_date') }} @endif
@if(isset($file) && is_array($file)) @elseif(isset($document_exist)) @endif
--}}