Your Dispatch Registers
@foreach ($efiles as $efile) @endforeach
Dispatch Registers ID Posted to Person(Section) Posted from Section Date
{{ $efile->uniquenumber }}
@php $getname = DB::table('users')->where('id', $efile->shareto)->first(); @endphp {{ $getname->name }} ({{ $getname->jobtitle }}) @php $getdep = DB::table('departments')->where('id', $efile->todep)->first(); @endphp @if (isset($getdep->name)) {{ $getdep->name }} @endif {{ $efile->created_at }}
@csrf