Reports - Agent
AR Report By Month
| Path | /ar-report-by-month |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+2 inline) |
| Tabs | — |
| API routes | /api/data/agent-aged-receivables-monthly |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
agent_daily_aged_receivables | date, guarantor_before_30, guarantor_before_60, guarantor_before_90, guarantor_over_90, guarantor_total, insurance_before_30, insurance_before_60, insurance_before_90, insurance_over_90, insurance_total, office_name, procedure_filter |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- ARAgingByMonthReport.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
- TableLoading.tsx
- LastSynced.tsx
- reports/
- services/
- api.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- utils/
- timestamps.ts
- routes/
- src/
- web/