@php $changes = $this->getChanges(); @endphp @if ($changes->isEmpty()) No attendance modification records found. @else
@foreach ($changes as $change) @endforeach
Date Student Status Change Modified By Modified At
{{ $change->date->format('d M Y') }} {{ $change->studentProfile?->user?->name ?? '—' }}
@if ($change->old_status) {{ $change->old_status->getLabel() }} @else New @endif {{ $change->new_status->getLabel() }}
{{ $change->changedBy?->name ?? '—' }} {{ $change->created_at->format('d M Y, h:i A') }}
@endif