Generate a Delivery Note PDF from the admin area
Stream the module-generated PDF for an authorised delivery note. The guide then takes you through the correct route, the checks to complete before making changes, the workflow in order, and the evidence to review afterwards.
Where to goAdmin Area → Delivery Note → View note → PDF
What you’ll accomplish
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.
Follow these steps
- Go to the required note.
- Select PDF.
- Allow the document to open or download according to the browser.
- Check the reference, invoice, recipient, items and status.
- Print or share through the organisation’s authorised process.
Fields and options to review
- 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
Rules the system enforces
- 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.
How to confirm it worked
- A consistent delivery-note document is produced for the selected record.
Safety checks 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.
Continue with related guidance
Was this guide useful?Your response is stored only in this browser.
