@extends( 'newBase' ) @section('title', 'index') @section('content') @php($version = \Illuminate\Support\Facades\Config::get('app.version')) {{----}}

{{$actionTitle}}

{{ csrf_field() }}
@include('chat::selectUser',['users'=>$client,'userInfo'=>($userInfo ?? ''),'type'=>($type ?? 0)])

{!! htmlspecialchars_decode($detail->body) !!}

@include('chat::newUpload',['aUserDocumentList'=>$detail->documents ?? []])
@if(!empty($detail->documents)) @foreach($detail->documents as $key=>$one)
@include('components.itemsDownLoadFiles',[ 'id'=> $one->id, 'format'=> $one->format, 'filePath' => config('locations.customerDocument.asset').$one->filePath, 'pdfPath'=> config('locations.customerDocument.asset').$one->pdfPath, 'thumbnailPath'=> ((in_array($one->format,\App\lib\FileTransaction::FILE_TYPES["document"] ))?config('locations.customerDocumentThumbnail.asset'):config('locations.customerDocument.asset')).$one->thumbnailPath, 'name'=> $one->name, 'isShowSync'=>1, 'file_upload_status'=>$one->file_upload_status, 'created_at' =>$one->created_at, 'updated_at'=>$one->updated_at, 'showDelete' => 0, 'size'=>$one->size ])
@endforeach @endif {{--
--}}
{{--
--}} {{-- 发送--}} {{-- 放弃--}} {{--
--}}
@if(!empty($replay) && $type == 1) @foreach($replay as $key=>$one)

{{__('Reply')}}

{{$one->created_at}}

{!!htmlspecialchars_decode($one->body)!!}

{{__('Replier')}}:{{$one->userName}}

@if(count($one->documentsID) > 0)

{{count($one->documentsID)}} {{__('File Number')}} - {{__('Download All')}}|

@endif
@foreach($one->documentsID as $key=>$documents) @endforeach
@endforeach @endif
{{----}} @include('chat::js',['start'=>'1']) @endsection