TemplatesInvoices module
Invoices templates
Default templates the Invoices module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Admin view
invoices/backend/invoices/manage.html
Invoices\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$invoices |
Collection<Invoice> |
Collection of Invoices |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/invoices/manage.html in your site repository.
invoices/backend/payment-methods/add.html
PaymentMethods\Add
Add a new record. Assigns an empty record to the template.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/payment-methods/add.html in your site repository.
invoices/backend/payment-methods/edit.html
PaymentMethods\Edit
Retrieve a single record and display the edit page for the record
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/payment-methods/edit.html in your site repository.
invoices/backend/payment-methods/manage.html
PaymentMethods\Manage
Retrieve available records and assign them to the template for editing.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/payment-methods/manage.html in your site repository.
invoices/backend/refunds/edit.html
Refunds\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$refund |
Refund |
Retrieved Refund record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/refunds/edit.html in your site repository.
invoices/backend/transactions/manage.html
Transactions\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$transactions |
Collection<Transaction> |
Collection of Transactions |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/invoices/backend/transactions/manage.html in your site repository.