- DirectorAppointmentTab: table + 'Acceptance Letter' modal with company/director dropdowns - GET/POST /api/appointments: create record, generate HTML letter, convert to PDF via LibreOffice, email to director via himalaya SMTP - PATCH /api/appointments/[id]: save signature PNG, embed in signed letter PDF, mail to all company directors - GET /api/appointments/sign/[token]: public token lookup - /sign/[token]/page.tsx: public signature canvas (mouse + touch) - ysterbaard_director_appointments PB collection (requires manual schema setup) - Section 3 'Director Appointment' now active in ResolutionExplorer - NEXT_PUBLIC_APP_URL added to .env.local |
||
|---|---|---|
| .. | ||
| [id] | ||
| sign/[token] | ||
| route.ts | ||