@extends('layouts.app') @section('breadcrumb', 'Revisión documental') @section('content') Ver documento original Volver al inbox

Contexto extraído

Estado
Tipo
{{ $document->type ?? '—' }}
Confianza OCR
{{ number_format((float) ($document->confidence_score ?? 0), 2, ',', '.') }}
Documento original
{{ basename($document->original_path) }} {{ $document->original_path }}

Corrección manual

Texto OCR (preview)

{{ \Illuminate\Support\Str::limit($document->ocr_text ?? 'Sin OCR', 5000) }}

JSON IA (normalizado)

{{ json_encode($document->ai_json, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}

Últimas correcciones

@forelse($recentCorrections as $correction)
{{ $correction->field_name }}
Antes: {{ $correction->original_value ?? '—' }}
Después: {{ $correction->corrected_value ?? '—' }}
@empty

Sin correcciones todavía.

@endforelse
@endsection @push('scripts') @endpush