{{ __('Application History') }}

@foreach ($application->logs->sortBy('created_at') as $log) @if ($log->user) @if ($log->user_id == $application->user_id) @else @endif @else @endif @endforeach
Date/Time Status User Name (Role) Remark
{{ $log->created_at->format('d-m-Y h:i a') }} {{ $log->status }}{{ $log->user?->name }} (Applicant){{ $log->user?->name }} ({{ $log->user?->roles?->first()?->name }})-{{ $log->remarks }}