{{-- HEADER --}}

Status

{{-- CLAIM TYPE --}} @can('edit', $pensionCase)
@endcan {{-- CURRENT STATUS --}}
{{ $pensionCase->status->display_name ?? 'โ€”' }}
@if($claim_type !== $pensionCase->claim_type)
Changing to {{ strtoupper($claim_type) }}. Select a status from this claim type's workflow below, then save.
@endif {{-- STATUS SELECT --}}
{{-- OFFCANVAS : STATUS HISTORY --}}
Status History
@if($pensionCase->statusHistory->count())
    @foreach($pensionCase->statusHistory as $history)
  • {{ $history->status?->display_name }}
    {{ $history->created_at->format('d M Y H:i') }} @if($history->changed_by) ยท {{ $history->user?->name_first }} {{ $history->user?->name_last }} @endif
  • @endforeach
@else
No status history recorded.
@endif
@if($showHistory)
@endif