Invoice integration and note creation

Use View DN PDF from the invoice More menu

Open the generated delivery-note PDF from the invoice’s existing actions menu.

Audience: Invoice and delivery staffPermission: Delivery Note: ViewModule v1.0.0
Exact navigationAdmin Area → Invoices → Open invoice → More → View DN PDF

What this guide covers

Open the generated delivery-note PDF from the invoice’s existing actions menu. 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

  1. Open an invoice with a non-void note.
  2. Open the More actions menu.
  3. Select View DN PDF.
  4. Allow the document to open in a new tab.
  5. Confirm the reference and invoice details before printing or sharing.

Fields, choices and supported possibilities

  • Menu entry appears only when note metadata includes a PDF URL
  • New-tab target uses `noopener`
  • Admin PDF route uses note ID

Code-backed validations and workflow rules

  • The module inserts the entry without replacing core invoice actions.
  • No entry is added when there is no active note.
  • PDF generation is permission-protected through the admin controller.

Expected result and verification

  • The authorised staff member receives the current generated PDF for the linked note.

Checks, security and troubleshooting

  • Use the secure client/public path for recipient access rather than sharing an admin 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.