How abdo2000-1/cp-pro-max works
This is a dental-laboratory ERP/CRM interface: staff enter through the routed React application, work orders and cases, and access related clinical, operational, and business records. The principal workflow is order-flow review, case entry, and order detail, with DICOM viewing as a clinical capability. Supporting branches cover CRM records, billing and reporting, workflow/document operations, and application configuration. The README is only a Vite template; product capabilities are inferred from routes, filenames, types, and the sampled source index. Several page implementations were not sampled, so their internal links are omitted.
Main entry points: App.tsx Route application · Flow.tsx Order flow · store.ts Domain state store · api.ts API adapter
Components 21
Application shell
- Route application
src/App.tsx - Navigation shell
src/components/layout/Layout.tsx
Clinical work
- Order flow
src/pages/Flow.tsx - Case intake
src/pages/AddCase.tsx - Order details
src/pages/OrderDetailsPage.tsx - DICOM viewer
src/components/dicom/DicomMprViewer.tsx - Case management
src/pages/Cases.tsx - Case record
src/pages/CaseDetails.tsx - Patient records
src/pages/Patients.tsx
ERP operations
- Order operations
src/pages/OrderWorkflow.tsx - Clinic and doctor CRM
src/pages/Clinics.tsx - Billing
src/pages/Billing.tsx - Reports and targets
src/pages/Reports.tsx - Documents and scans
src/pages/OrderFiles.tsx
Shared services
- Configuration manager
src/pages/ConfigManager.tsx - App contexts
src/contexts/ConfigContext.tsx - Reactive store hook
src/hooks/useStore.ts - Domain state store
src/services/store.ts - API adapter
src/services/api.ts - Flow sample data
src/data/flowMockData.ts
Other components
- Staff user
Connections 24
- Staff user → Route application: opens
src/App.tsx - Route application → App contexts: wraps routes
src/App.tsx - Route application → Navigation shell: renders shell
src/App.tsx - Route application → Order flow: routes to
src/App.tsx - Route application → Case intake: routes to
src/App.tsx - Route application → Order details: routes to
src/App.tsx - Route application → Case management: routes to
src/App.tsx - Route application → Case record: routes to
src/App.tsx - Route application → Patient records: routes to
src/App.tsx - Route application → Order operations: routes to
src/App.tsx - Route application → Clinic and doctor CRM: routes to
src/App.tsx - Route application → Billing: routes to
src/App.tsx - Route application → Reports and targets: routes to
src/App.tsx - Route application → Documents and scans: routes to
src/App.tsx - Route application → Configuration manager: routes to
src/App.tsx - Order flow → Reactive store hook: reads state
src/pages/Flow.tsx - Order flow → Flow sample data: uses data
src/pages/Flow.tsx - Case intake → Domain state store: updates records
src/pages/AddCase.tsx - Order details → DICOM viewer: renders viewer
src/pages/OrderDetailsPage.tsx - Case management → API adapter: fetches cases
src/pages/Cases.tsx - Case record → API adapter: fetches case
src/pages/CaseDetails.tsx - Reactive store hook → Domain state store: subscribes
src/hooks/useStore.ts - Domain state store → API adapter: uses adapter
src/services/store.ts - Configuration manager → App contexts: reads config
src/pages/ConfigManager.tsx