Your Acquire Registers
@foreach ($efiles as $eaccess) @php $efile = DB::table('efileshares')->where('doc_type' , 2)->where('id', $eaccess->draft_id)->first(); @endphp @endforeach
Dispatch Registers ID Posted from Person(Section) Date
@if(isset($efile->doc_no))
{{ $efile->doc_no }}
@endif
@if(isset($efile->sharefrom)) @php $getname = DB::table('users')->where('id', $efile->sharefrom)->first(); @endphp @endif {{ $getname->name }} ({{ $getname->jobtitle }}) @if(isset($efile->created_at)) {{ $efile->created_at }} @endif
@csrf @if(isset($efile->id)) @endif