WFDASH-WEBAPP/docs
SJCoetz 714e910949 feat: add branded quote PDF generation and in-app viewer
This commit adds full quote PDF generation functionality with per-company letterhead branding:
- Server-side PDF rendering using @react-pdf/renderer matching the sample quote layout
- In-app modal PDF viewer with print, download, and new-tab controls
- Letterhead service to fetch and apply company-specific branding (CNL/ISHERWOOD)
- ZAR currency and date formatting utilities for South African quotes
- Updated QuoteAttachment type to handle PocketBase's array-based file tokens
- Fixed PocketBase attachment URL generation in quote email card
- Removed deprecated `included_in_quote` field from QuoteItem and quotes service
- Updated quote item creation test to validate draft item logic
- Added comprehensive unit tests for PDF rendering and formatting helpers
- Added dev scripts for debugging PDF and image rendering issues
- Added sample generated PDF files for visual verification
- Updated tsconfig to exclude development scripts directory
- Added @react-pdf/renderer production dependency
- Removed JEI as a valid letterhead option per requirements
2026-06-23 08:30:38 +02:00
..
example-quotes feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
pocketbase feat: add quote email tracking, user color coding, and improved attachments 2026-06-22 15:15:00 +02:00
superpowers/plans feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
0136daf3-3ebd-4bca-876e-316271a40303.jsonl feat(quotes): add email-to-quote pipeline with attachments and replies 2026-06-16 20:46:28 +02:00
api-mcp-layer.md feat(quotes): add email-to-quote pipeline with attachments and replies 2026-06-16 20:46:28 +02:00
core-recheck-matrix.md chore: standardize line endings and add full test + config scaffolding 2026-06-11 20:30:02 +02:00
django-nextjs-parity-backlog.md feat(quotes): add email-to-quote pipeline with attachments and replies 2026-06-16 20:46:28 +02:00
migration-audit.md chore: standardize line endings and add full test + config scaffolding 2026-06-11 20:30:02 +02:00
n8n-mcp-setup.md chore: standardize line endings and add full test + config scaffolding 2026-06-11 20:30:02 +02:00
order-items-schema-standard.md chore: standardize line endings and add full test + config scaffolding 2026-06-11 20:30:02 +02:00
order-workflow-rules.md Add PocketBase collections, APIs & migration docs 2026-05-25 18:39:33 +02:00
orders-first-rollout.md chore: standardize line endings and add full test + config scaffolding 2026-06-11 20:30:02 +02:00
quotes-email-monitor.md feat(quotes): add email-to-quote pipeline with attachments and replies 2026-06-16 20:46:28 +02:00
SHIPPED.md feat: add branded quote PDF generation and in-app viewer 2026-06-23 08:30:38 +02:00
wfdash-v5-deployment.md feat: add quote email intake and atomic numbering 2026-06-22 13:58:24 +02:00