Reports - CandidPro

Message Templates

Path/candid-templates
Statustodo
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

TableColumns used
candid_template_sends(columns not named in the SQL)
email_templatesactive, 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

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
        • services/
          • api.ts
    • worker/
      • src/
        • routes/
          • candid.ts
        • utils/
          • sms.ts