{{-- Case conferences: request → supervisor approval (participants) → record minutes / reports / recommendation → submit. Kinds: case conference · quarterly · high-risk · case committee. --}} @php $kinds = config('probation_workflow.conference_kinds'); $canApprove = auth()->user()->isSuperAdmin() || auth()->user()->isBranchAdmin(); $statusBadge = ['requested' => 'bg-warning text-dark', 'approved' => 'bg-info text-dark', 'scheduled' => 'bg-info text-dark', 'held' => 'bg-success', 'cancelled' => 'bg-secondary']; @endphp
Case Conferences & Case Committee
@forelse($case->conferences->sortByDesc(fn ($c) => optional($c->scheduled_for)->timestamp ?? 0) as $cf)
{{ $kinds[$cf->kind ?? 'case_conference'] ?? 'Case conference' }} · {{ optional($cf->scheduled_for)->format('d M Y') ?? 'date to be set' }} — {{ $cf->venue ?? '—' }} {{ ucfirst($cf->status) }} @if($cf->minutes_submitted_at)Minutes submitted {{ $cf->minutes_submitted_at->format('d M Y') }}@endif
Requested by {{ optional($cf->requester)->name ?? '—' }}@if($cf->approver) · approved by {{ $cf->approver->name }}@endif
@if($cf->request_notes)
Purpose: {{ $cf->request_notes }}
@endif @if($cf->participants->count())
Participants: {{ $cf->participants->map(fn ($p) => (optional($p->officer)->name ?? $p->external_name) . ($p->role ? ' (' . $p->role . ')' : ''))->implode(', ') }}
@endif
@foreach($cf->report_files ?? [] as $rf) {{ $rf['name'] }} @endforeach @if($cf->minutes_file_path)Minutes@endif
@if($cf->minutes)
{{ $cf->minutes }}
@endif @if($cf->recommendations)
Recommendation: {{ $cf->recommendations }}
@endif {{-- supervisor approval --}} @if($cf->status === 'requested' && $canApprove)
@csrf
@elseif($cf->status === 'requested')
Awaiting supervisor approval.
@endif {{-- record minutes after the meeting --}} @if(in_array($cf->status, ['approved', 'scheduled', 'held']) && !$cf->minutes_submitted_at) Record minutes / recommendation
@csrf
@endif
@empty

No case conferences yet.

@endforelse
@csrf
Hold Ctrl to select several.
If the conference has already taken place, attach the record and save it as held:
Recommendations are pulled into the “Case Conference Minutes” section of reports generated for this case.