Accounts Receivable

Collection Report - Keith

Path/collections-report
Statustodo
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

TableColumns used
agent_daily_aged_receivables(columns not named in the SQL)
agent_deposit_slipsamount, office_name, transaction_date
dentrix_offices(columns not named in the SQL)

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • CollectionsReport.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
        • hooks/
          • useApi.ts
        • lib/
          • office.ts
        • services/
          • api.ts
    • worker/
      • src/
        • routes/
          • data.ts
        • utils/
          • office.ts