@if(session('success'))
{{ session('success') }}
@endif

{{ __('Action Items') }}

{{ __('Manage student follow-ups and control who sees them.') }}

@if($actionItems->count() > 0)
@foreach($actionItems as $item)

{{ $item->title }}

{{-- Visibility Badges --}} @if($item->visible_to_student) Student Sees @endif @if($item->visible_to_parent) Parent Sees @endif
@if($item->description)

{{ $item->description }}

@endif
👤 {{ $item->student->name ?? 'Unknown Student' }} @if($item->due_date) 📅 Due: {{ $item->due_date->format('M d, Y') }} @endif
{{ str_replace('_', ' ', $item->status) }}
@csrf @method('DELETE')
@if($item->status !== 'completed')
@csrf @method('PATCH')
@endif
@endforeach {{ $actionItems->links() }}
@else
🎉

All caught up!

No action items found.

@endif {{-- CREATE MODAL --}} {{-- EDIT MODAL --}}