@php $ob_file = $contract->getFile($document_index); @endphp
@if(!empty(old("contract_file.{$document_index}.file_path")) && Storage::disk('temp')->has(old("contract_file.{$document_index}.file_path"))) @elseif(is_object($ob_file) && !empty($ob_file->file_path) && Storage::disk('contract')->has($contract->id.'/'.$ob_file->file_path)) @else @endif
file_name : '') }}"> file_path : '') }}"> @if (isset($document) && is_object($document)) @endif