WFDASH-WEBAPP/src/app/(app)/delivery-notes
Dave 841121097c fix(invoicing): handle PDF uploads and improve error messaging
This commit addresses issues with PDF handling in the invoicing process. The application now correctly uploads the PDF returned from QuickBooks to the appropriate order item, ensuring that the PDF is available for preview. If no PDF is provided, the system will return a clear message to the user instead of displaying a blank frame.

Additionally, the `readQbWebhookInvoice` function has been updated to include a `pdfBase64` field, allowing for better handling of PDF data. The `PdfPreviewDialog` component has been modified to manage the display of the PDF or an informative message when the PDF is unavailable.

Tests have been added to verify the new functionality and ensure that the application behaves as expected when handling PDF uploads and errors.
2026-10-09 13:27:17 +02:00
..
[id] feat(delivery-notes): edit the note before quoting, and fix the QuickBooks error 2026-10-09 09:27:09 +02:00
page.tsx fix(invoicing): handle PDF uploads and improve error messaging 2026-10-09 13:27:17 +02:00