DTH
Dragon Tiny Homes
Ticket printer console
Dashboard
Ticket PDFs
Fill & Print
Templates
Projects
Today
Fill & print tickets
Pull the latest project data, translate notes, preview or send to printer.
Projects
Manage DTH codes
See project tickets, clone into new builds, delete stray tickets.
Templates
Create template
Define checklists and job types; translate English to Chinese.
Edit/Archive templates
Adjust wording, archive old versions, and manage checklists.
Admin
DB viewer
Inspect the first 50 rows of each table for quick debugging.
Workflow
Pick a project (DTH code) and template.
Fill notes, checklist rows, and upload site photos.
Translate missing Chinese text if needed.
Preview to verify, then print the receipt ticket.
Tips
Existing project + template combos preload the last ticket.
Templates stay static; tickets own their checklist text.
Use archive instead of delete when a template has history.
Translation requires OPENAI_API_KEY in .env (server side only).
Admin
User management
Create or update mock users for testing.
Open user management