@if($file && $file->title) {{$file->title}} @endif

@if($new_file)

{{$new_file->getClientOriginalName()}}

@elseif($file && $file->file_title)

@if($file && $file->file_title) {{$file->file_title}} @endif

@endif
@if($new_file) @if($new_file->getClientOriginalExtension() == 'doc' || $new_file->getClientOriginalExtension() == 'docx') @else @endif @elseif($file_path) @if($file_path && ($type && $type == 'doc' || $type && $type == 'docx' )) @else @endif @else
@endif
@if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin']))
Change Document
@endif
@if($file_path) Download @endif
{{-- @if($file && $file->title != 'Cv') --}}
@if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin'])) @else @endif @error('document_title') {{ $message }} @enderror
@if($file && $file->title != 'Cv')
@if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin'])) @else @endif @error('document_value') {{ $message }} @enderror
@if($this->file_existing && $this->file_existing->slug == 'dbs_certificate') @else @endif
@if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin'])) Calendar @else @endif
@error('date') {{ $message }} @enderror
@endif @if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin']))
@if($verified_date && $this->file_existing->slug != 'cv')
@error('verified_date') {{ $message }} @enderror
@endif @endif
{{-- @endif --}}
@if(Auth::user()->hasRole(['consultant', 'admin', 'super-admin']))
@endif
Cancel