Reports - Dental Days
Dental Days Calendar
| Path | /dental-days-calendar |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+3 inline) |
| Tabs | — |
| API routes | /api/data/dental-days/calendar:x/api/data/offices/api/data/vans:x |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
bookings | app, calendar_id, date |
calendars | calendar_name, city, dentrix_office_id, hubspot_id, short_code, state, status, street_address, zip_code |
companies | hubspot_id, name, slug |
dentrix_offices | app, dentrix_id, display_name, name |
equipment_repairs | (columns not named in the SQL) |
schedules | calendar_id, capacity, date, end_hour, start_hour, van_name |
vans | active, color, created_at, id, name, notes, sort_order |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- DentalDaysCalendar.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
- LastSynced.tsx
- reports/
- hooks/
- useApi.ts
- lib/
- office.ts
- time.ts
- van-colors.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- utils/
- office.ts
- routes/
- src/
- web/