Reports - CandidPro
Message Templates
| Path | /candid-templates |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+6 inline) |
| Tabs | — |
| API routes | /api/candid/templates |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
candid_template_sends | (columns not named in the SQL) |
email_templates | active, app, audience, body_en, body_es, category, description, from_email, key, name, reply_to, send_via, sms_active, sms_en, sms_es, subject_en, subject_es, trigger_event, updated_at, updated_by, variables |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- CandidTemplates.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
- reports/
- services/
- api.ts
- components/
- src/
- worker/
- src/
- routes/
- candid.ts
- utils/
- sms.ts
- routes/
- src/
- web/