This commit adds the full end-to-end delivery note workflow for the invoicing system: - Added `letterheadForCompany` utility to infer the correct letterhead from a company name - Created the DeliveryNoteDocument PDF component and server-side render function - Added API endpoints for delivery note creation, PDF retrieval, printing, and print tracking - Updated the PickingSlip component to support both invoice and delivery note headers - Added view models for grouping, filtering, and displaying delivery note items - Updated AGENTS.md with PocketBase schema and attachment best practices for new workflows - Added comprehensive test coverage for all new components and API routes |
||
|---|---|---|
| .. | ||
| delivery-note-document.tsx | ||
| format.test.ts | ||
| format.ts | ||
| purchase-order-document.tsx | ||
| quote-document.tsx | ||
| render.test.ts | ||
| render.tsx | ||