Accounts Receivable
Collection Report - Keith
| Path | /collections-report |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+2 inline) |
| Tabs | — |
| API routes | /api/data/collections-report:x/api/data/offices |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
agent_daily_aged_receivables | (columns not named in the SQL) |
agent_deposit_slips | amount, office_name, transaction_date |
dentrix_offices | (columns not named in the SQL) |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- CollectionsReport.tsx
- pages/
- src/
- web/
Shared code it uses (followed through its imports and the helpers its API calls; sign-in/access plumbing and UI primitives left out)
- apps/
- web/
- src/
- components/
- reports/
- DentrixSourceNote.tsx
- HowItWorksNote.tsx
- sortable-grid.tsx
- reports/
- hooks/
- useApi.ts
- lib/
- office.ts
- services/
- api.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- utils/
- office.ts
- routes/
- src/
- web/