Troubleshoot Delivery Note PDF or QR output
Diagnose document generation without changing unrelated CRM, theme or server files.
Exact navigationAdmin Area → Delivery Note → View note → PDF
What this guide covers
Diagnose document generation without changing unrelated CRM, theme or server files. This guide follows the supplied Delivery Note module’s live hooks, controller actions, model rules, views and stored side effects.
Exact step-by-step process
- Confirm the note exists and View permission is granted.
- Test the admin PDF route directly from the note detail page.
- Check whether TCPDF is available; observe the inline HTML fallback if not.
- Verify company logo readability and size.
- Check invoice snapshot JSON and item data.
- Test the secure URL separately.
- Review PHP/application logs for PDF image, font or QR-library errors.
Fields, choices and supported possibilities
- Note record and snapshots
- TCPDF availability
- Logo file
- Signature data URI
- QR library candidates
- Public URL
Code-backed validations and workflow rules
- A missing QR library should fall back rather than prevent output.
- Malformed image/signature data can affect rendering and should be investigated without changing status.
- The module does not write a PDF file record; it streams output on demand.
Expected result and verification
- The root cause is isolated to record data or the module’s document dependencies while the note remains intact.
Checks, security and troubleshooting
- Do not disable TLS/security controls or expose filesystem paths to work around a rendering issue.
Stay within the supported flowDo not force database values, expose secure tokens, bypass permission checks, replace a stored signature or invent a status or interface that the supplied code does not implement.
