@if($recentVal->person)
Candidate Name : {{$recentVal->person->name}}
@endif
Due on
{{ showTimeFormat($recentVal['due_date'], 'm/d/Y')}}
Assigned to
{{$recentVal['assignTo'] ? $recentVal['assignTo']['name'] : ''}}
Status
{{$recentVal['status']}}
Created by
{{$recentVal['username']}}
Created Date
{{ showTimeFormat($recentVal['created_at'], 'M d, Y h:m a')}}
@if(count($recentVal['commentDetails']) > 0)
@php $latestComments = $recentVal['commentDetails']->first();@endphp
LAST COMMENT BY {{$latestComments->user->name}} on {{showTimeFormat($latestComments->created_at, 'm/d/Y')}}
{!! $latestComments->comment !!}
@endif