Events
Table of Contents
Classes
- DocumentRendered
- Dispatched after a document (quote, reminder, …) was rendered.
- DocumentRendering
- Dispatched before a quote, order confirmation, delivery note, proforma invoice, payment
reminder or account statement is calculated and rendered.
- InvoiceRendered
- Dispatched after all requested formats were produced.
- InvoiceRendering
- Dispatched before an invoice is calculated, validated and rendered.
- InvoiceValidated
- Dispatched after a render run whose validation did not block it, before InvoiceRendered.
- InvoiceValidationFailed
- Dispatched when validation blocked rendering.
- MandatoryFieldMissing
- Dispatched when a template omitted mandatory values.
- QueuedDocumentFailed
- Dispatched when a queued RenderDocument job failed for good: after its last attempt, or at
once for errors that another attempt cannot fix. $job->data() returns the document.
- QueuedDocumentStored
- Dispatched by a queued RenderDocument job after it stored the document. DocumentRendered
precedes it.
- QueuedInvoiceFailed
- Dispatched when a queued RenderInvoice job failed for good: after its last attempt, or at
once for errors that another attempt cannot fix (validation, invalid data, configuration).
- QueuedInvoiceStored
- Dispatched by a queued RenderInvoice job after it stored the main output, e.g. to link the
stored file to an order. InvoiceRendered precedes it.