How aurum0124/dtmsxpaperlessngx works
This is a staff-facing document tracking and management system backed by PaperlessNGX, with a public tracking interface. Staff retrieve and filter office documents, route or release them, record review actions, and archive copies in digital cabinets; the public can look up tracking status. The graph preserves documented routing modes, endorsements, barcode, AI suggestions, search, and archiving as product capabilities. Sampled source confirms key fetch, transfer, Paperless proxy/sync, and statistics integrations; unsampled feature wiring is represented only where documented, without asserting unverified calls.
Main entry points: api.js API client · api.php API routes · App.jsx App routing · DepartmentDashboard.jsx Office dashboard
Components 27
User interfaces
- App routing
frontend/src/App.jsx - Public tracker
frontend/src/pages/PublicTracker.jsx - Office dashboard
frontend/src/pages/DepartmentDashboard.jsx - Document retrieval
frontend/src/hooks/useDocumentState.js - Search and filters
frontend/src/hooks/useSearchState.js - Document lists
frontend/src/components/document/DocumentList.jsx - Document viewer
frontend/src/components/modals/DocumentViewerModal.jsx - API client
frontend/src/services/api.js
Document workflow
- Upload and suggestions
frontend/src/components/modals/UploadModal.jsx - Release and receive
frontend/src/components/modals/ReleaseModal.jsx - Route templates
frontend/src/components/RouteTemplatesView.jsx
Archive and oversight
- Digital cabinets
frontend/src/components/CabinetsView.jsx - Dashboard analytics
frontend/src/components/document/DashboardView.jsx - Administration
frontend/src/pages/Admin.jsx
API services
- API routes
backend/routes/api.php - Transfer workflow
backend/app/Http/Controllers/DocumentTransferController.php - Status and review
backend/app/Http/Controllers/DocumentStatusController.php - Archive management
backend/app/Http/Controllers/ArchiveCabinetController.php - Public tracking
backend/app/Http/Controllers/TrackerController.php - Statistics
backend/app/Http/Controllers/AdminStatsController.php - Preview proxy
backend/app/Http/Controllers/PreviewProxyController.php - Transfer records
backend/app/Models/DocumentTransfer.php - Archive records
backend/app/Models/ArchiveCabinet.php
Other components
- Public user
- Office staff
- PaperlessNGX
- Application database
Connections 33
- Public user → App routing: opens tracker
- Office staff → App routing: opens workspace
- App routing → Public tracker: routes
- App routing → Office dashboard: routes
- Office dashboard → Document retrieval: loads documents
- Document retrieval → API client: requests data
- Search and filters → Document lists: filters results
- Office dashboard → Document lists: renders
- Office staff → Upload and suggestions: submits documents
- Office staff → Release and receive: routes documents
- Office staff → Document viewer: reviews documents
- Route templates → API client: manages routes
- Release and receive → API client: records transfer
- Document viewer → API client: records actions
- Digital cabinets → API client: manages placements
- Dashboard analytics → API client: requests metrics
- Administration → API client: manages offices
- Public tracker → API client: looks up status
- API client → API routes: sends requests
- API routes → Transfer workflow: dispatches transfers
- API routes → Status and review: dispatches review
- API routes → Archive management: dispatches archive
- API routes → Public tracking: dispatches lookup
- API routes → Statistics: dispatches metrics
- API routes → Preview proxy: dispatches preview
- Transfer workflow → Transfer records: reads and writes
- Transfer workflow → PaperlessNGX: syncs tags and fields
- Archive management → Archive records: reads and writes
- Statistics → Application database: reads activity records
- Statistics → PaperlessNGX: queries documents
- Preview proxy → PaperlessNGX: fetches previews
- Public tracking → PaperlessNGX: looks up documents
- Document viewer → Preview proxy: loads preview