{{--require documentItem.js , documentItem.js is included in newbase.blade--}} @php $isShowSync = $isShowSync ?? 0; //display sync info $showDownload = $showDownload ?? 1; //show download button and status $showDelete = $showDelete ?? 1; //show delete button $showTime = $showTime ?? 1; //show time $format = strtolower($format); @endphp @if($isShowSync !== 0) @if($file_upload_status == 1)
服务器同步中
@elseif($file_upload_status == 2)
同步失败,请删除后重新上传
@endif @endif @if($showDelete) @if($showDownload)
@endif
@endif
@if(in_array(strtolower($format),\App\lib\FileTransaction::FILE_TYPES["image"] )) @elseif(in_array($format,\App\lib\FileTransaction::FILE_TYPES["zip"] ))
@else @endif
0%
下载完成
@if($showDownload)
@if(isset($displayDocumentFinalStatus)) @if($canMarkDocumentFinalStatus) @if(!empty($final_oprator_id))
{{$userName}}
{{$final_created_at}}
@else
@endif @else @if(!empty($final_oprator_id)) {{--无权限 & 有final标记--}}
{{$userName}}
{{$final_created_at}}
@endif @endif @endif
@endif @if($showTime)
{{TimestampConverter::getTimezoneTimestamp($created_at, 'd-m-Y H:i')}}
@if(!empty($size)) @php if ($size >= 1073741824){ $size = number_format($size / 1073741824, 2) . ' GB'; }elseif ($size >= 1048576){ $size = number_format($size / 1048576, 2) . ' MB'; }elseif ($size >= 1024){ $size = number_format($size / 1024, 2) . ' KB'; }elseif ($size > 1){ $size = $size . ' size'; }elseif ($size == 1){ $size = $size . ' byte'; }else{ $size = '0 size'; } @endphp
{{$size}}
@endif
@endif