Actions
Feature proposal #9134
closedImplement invoice trigger
Description
This should be fired before an invoice is displayed to allow completely replacing and customizing the invoice rendering with a custom implementation.
https://www.joomlapolis.com/forum/developer-members-support/245654-qr-code-in-cbsubs-invoice#333035
Updated by krileon almost 2 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented in MR !296
The following trigger was implemented.
$_PLUGINS->trigger( 'onCPayAfterDrawInvoice', [ $this, &$render, $user, $invoice ] )
var2 can be used to completely replace the invoice rendering. var1 is the view object. var3 the user object. var4 the invoice object. echos will output before the invoice HTML and returns after the invoice HTML. Gives complete control over total replacement of invoice rendering.
Actions