Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
@extends('layouts.app') @section('title', $caseRecord->title) @section('page-title', 'Review case') @section('content')
{{ $caseRecord->user->name }} · {{ $caseRecord->user->email }}

{{ $caseRecord->title }}

{{ str($caseRecord->category)->replace('_', ' ')->title() }} · Updated {{ $caseRecord->updated_at->diffForHumans() }}

@csrf @method('PATCH')
Client-provided facts

Case details

@foreach(['summary' => 'Situation summary','timeline' => 'Timeline','people_involved' => 'People involved','questions' => 'Questions','concerns' => 'Concerns'] as $field => $label)
{{ $label }}

{!! nl2br(e($caseRecord->{$field} ?: 'Not provided.')) !!}

@endforeach
Secure files

Documents

{{ $caseRecord->documents->count() }}
@forelse($caseRecord->documents as $document)
@csrf @method('PATCH')
{{ strtoupper(pathinfo($document->original_name, PATHINFO_EXTENSION)) }}Download
@if($document->plain_language_summary)
Plain-language explanation

{!! nl2br(e($document->plain_language_summary)) !!}

@endif
@empty
No files uploaded.
@endforelse
Guided preparation

Assistant conversations

{{ $caseRecord->assistantSessions->count() }}
@forelse($caseRecord->assistantSessions as $session)
{{ $session->title }}{{ str($session->phase)->title() }} · {{ $session->updated_at->format('M j, Y · g:i A') }}
⌄
@foreach($session->messages->sortBy('created_at') as $message)

{{ $message->role === 'user' ? 'Client' : 'CaseReady' }}:
{!! nl2br(e($message->content)) !!}

@endforeach
@empty
No assistant conversations yet.
@endforelse
Generated packets

PDF history

{{ $caseRecord->generatedPackets->count() }}
@forelse($caseRecord->generatedPackets as $packet)
{{ $packet->title }}{{ $packet->created_at->format('M j, Y · g:i A') }}
Download
@empty
No packets generated.
@endforelse
Legacy automated preparation

AI suggestions

{{ $caseRecord->suggestions->count() }}
@forelse($caseRecord->suggestions as $suggestion)
{{ $suggestion->question ?: 'General preparation review' }}{{ $suggestion->created_at->format('M j, Y · g:i A') }}
⌄
{!! nl2br(e($suggestion->content)) !!}
@empty
No AI suggestions generated.
@endforelse
@endsection