Files
simple-aircraft-manager-rails/docs/guide/documents.md
T

24 lines
1.7 KiB
Markdown

# Documents
The **Documents** tab keeps scans and files: registration, airworthiness certificate, insurance, logbook scans, receipts, 337s, reports.
- **+ Upload Document**: a name, type, collection, description, and one or more files (images, PDFs or text). Each file is a page in the viewer.
- **Bulk upload**: many files at once. Each becomes its own document named after the file; files with the same name are combined, in order, as pages of one document.
- **+ Collection** groups documents (for example *Engine logbook* or *Annual 2026*). Collections start collapsed, showing how many documents they hold; click one to open it.
## Searching inside documents
The text on each document's pages is read in the background so **Search** can find it: a PDF's own text when it has one, otherwise OCR of the scan (Tesseract, on the server). Printed text reads well; handwriting much less so. An admin can switch scans to Claude (Admin → Settings → Document search), which reads handwriting far better but uses the Anthropic API. New uploads are read within a minute or so; existing documents are caught up overnight.
## Expiry
Give a registration, insurance policy or similar an expiration date and it shows on the airworthiness status as it approaches. An expired registration grounds the aircraft (91.203(a)(2)).
## Share-link visibility
Each collection or document is **Private**, visible on **all share links**, or **maintenance only** share links. See [Access, sharing and transfer](sharing.md).
## Legacy records
Tick **Legacy record** for scans of the paper logbooks and records from before the aircraft's *electronic records since* date. The paper originals remain the record for that period and must be kept.