Accounts Receivable
Office Payments
| Path | /office-payments |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+2 inline) |
| Tabs | — |
| API routes | /api/data/office-payments/api/data/offices |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
dentrix_offices | active, dentrix_id, display_name, name, pay_slug, payments_enabled, stripe_account_id |
office_payments | (columns not named in the SQL) |
office_subscriptions | (columns not named in the SQL) |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- OfficePayments.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
- ReportHeader.tsx
- sortable-grid.tsx
- reports/
- hooks/
- useApi.ts
- services/
- api.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- utils/
- office.ts
- routes/
- src/
- web/