Reports - Agent

AR Report By Month

Path/ar-report-by-month
Statustodo
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

TableColumns used
agent_daily_aged_receivablesdate, 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

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
        • services/
          • api.ts
    • worker/
      • src/
        • routes/
          • data.ts
        • utils/
          • timestamps.ts