@extends('layouts.app') @section('content')
| Filename | Folder | Category | Status | Matched text | |
|---|---|---|---|---|---|
| {{ $file->getMedia('filename')->first()->name ?? $file->uuid }} | {{ $file->folder->name ?? '' }} | {{ $file->category->name ?? '—' }} | {{ $file->statusLabel() }} | @if($term && $file->ocr_text && stripos($file->ocr_text, $term) !== false) @php $pos = max(0, stripos($file->ocr_text, $term) - 40); $snippet = substr($file->ocr_text, $pos, 140); @endphp …{{ $snippet }}… @endif | View |
| No matching documents. | |||||