@if(isset($heading)) {!! $heading !!} @endif {{----}} @foreach($records as $key=>$record_value) @endforeach
User Activities
SN Date & Time Description Type Name Username
{{++$key}} {{date('d M Y H:i A',strtotime($record_value->created_at))}} {{$record_value->description}} {{$record_value->type}} {{$record_value->user->display_name}} @if(!(isset($record_value->user->display_name))) {{$record_value->user->name}} @endif {{$record_value->user->name}}