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.

View cdna-admin screens you can override in your site repository.

Admin view

invoices/backend/invoices/manage.html Invoices\Manage

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$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

The admin template receives
VariableTypeDescription
$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.

The admin template receives
VariableTypeDescription
$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.