@csrf

Data table for all incoming correspondence register

@foreach ($allData as $key => $item) @endforeach
S/N Date of Letter Date Received From Whom Received Institution's Ref. Subject Action
{{$item->reg_no}} {{date('d M, Y', strtotime($item->dol)) }} {{date('d M, Y', strtotime($item->date_received))}} {{$item->received}} {{$item->inst_ref}} {{$item->subject}}
@endsection