WFDASH-WEBAPP/src/app/api
Dave 4dd5898007 feat(delivery-notes): add pdf regeneration and fix ad-hoc pdf saves
Add new POST API endpoint at /api/v1/delivery-notes/[id]/regenerate-pdf to re-render and save delivery note PDFs from current line items. Add a "Regenerate PDF" button to the delivery note detail page with loading state and single-flight protection to prevent duplicate requests. Update ad-hoc delivery note creation to automatically attach PDFs to order items so print and download buttons work immediately after creation. Add helper utilities for resolving relation names and calculating line item quantities for PDF rendering.
2026-08-13 10:59:22 +02:00
..
counter feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
invoicing fix(orders,delivery-notes): resolve build type errors after supplier removal 2026-08-12 01:42:19 +02:00
mcp feat: add driverless collection confirm and new order tooling 2026-08-12 01:13:46 +02:00
v1 feat(delivery-notes): add pdf regeneration and fix ad-hoc pdf saves 2026-08-13 10:59:22 +02:00