# TODO

- Create database migration for document_layouts table
- Implement drag-and-drop designer UI (plain JS)
- Add AJAX endpoints for layout save/load/delete
- Integrate chrome-php for PDF export (sandboxed)
- Add real-time PDF preview
- Implement access control and CSRF protection
- Add audit logging for exports
- Optimize layout storage and retrieval
- Add template import/export functionality
- Write unit/integration tests
- Document API endpoints and module usage
