Generate a Delivery Note PDF from the admin area
Stream the module-generated PDF for an authorised delivery note.
Exact navigationAdmin Area → Delivery Note → View note → PDF
What this guide covers
Stream the module-generated PDF for an authorised delivery note. 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
- Open the required note.
- Select PDF.
- Allow the document to open or download according to the browser.
- Verify the reference, invoice, recipient, items and status.
- Print or share through the organisation’s authorised process.
Fields, choices and supported possibilities
- Admin controller loads Delivery_note_pdf library
- Note ID selects the module record
- TCPDF used when available
- Inline HTML fallback used when the PDF library is unavailable
Code-backed validations and workflow rules
- The admin PDF action is guarded by View capability.
- PDF content is generated from stored note and snapshot data at request time.
- The action does not change note status.
- The current code does not log the admin PDF action as a dedicated event.
Expected result and verification
- A consistent delivery-note document is produced for the selected record.
Checks, security and troubleshooting
- Use client/public links for recipients; do not send an admin-session URL.
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.
