Reports - Dental Days
Operatory Splits
| Path | /operatory-splits |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+2 inline) |
| Tabs | — |
| API routes | /api/data/offices/api/data/operatory-splits/api/data/operatory-splits${qs |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
calendar_operatory_splits | calendar_id, date, operatory_dentrix_id |
calendars | calendar_name, dentrix_office_id, hubspot_id, short_code, status |
companies | hubspot_id, name |
dentrix_offices | app, dentrix_id, name |
email_recipients | active, email, email_type, notify_types |
email_sends | app, error, lang, provider, recipients, ref, sent_by, status, subject, subject_encrypted, template_key, to_email, to_email_encrypted, to_email_hash |
email_templates | active, bcc_emails, body_en, body_es, from_email, key, reply_to, subject_en, subject_es, to_emails |
operatories | active, app, dentrix_id, name, office_id, short_name, use_for_booking |
schedules | calendar_id, capacity, date |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- OperatorySplits.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/
- forms/
- DatePicker.tsx
- reports/
- DentrixSourceNote.tsx
- HowItWorksNote.tsx
- ReportHeader.tsx
- forms/
- contexts/
- AuthContext.tsx
- hooks/
- useApi.ts
- components/
- src/
- worker/
- src/
- db/
- index.ts
- routes/
- data.ts
- services/
- email-templates.ts
- utils/
- email.ts
- office.ts
- db/
- src/
- web/