TemplatesTaxes module

Taxes templates

Default templates the Taxes 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

Taxes/backend/categories/add.html Categories\Add

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$category Category Single (empty) Category record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/categories/add.html in your site repository.

Taxes/backend/categories/edit.html Categories\Edit

Retrieve a single record and display the edit page for the record

The admin template receives
VariableTypeDescription
$category Category Retrieved Category record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/categories/edit.html in your site repository.

Taxes/backend/categories/manage.html Categories\Manage

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

The admin template receives
VariableTypeDescription
$categories Collection<Category> Collection of Categories

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/categories/manage.html in your site repository.

Taxes/backend/providers/add.html Providers\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/Taxes/backend/providers/add.html in your site repository.

Taxes/backend/providers/edit.html Providers\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/Taxes/backend/providers/edit.html in your site repository.

Taxes/backend/providers/manage.html Providers\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/Taxes/backend/providers/manage.html in your site repository.

Taxes/backend/zones/add.html Zones\Add

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$zone Zone Single (empty) Zone record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/zones/add.html in your site repository.

Taxes/backend/zones/edit.html Zones\Edit

Retrieve a single record and display the edit page for the record

The admin template receives
VariableTypeDescription
$zone Zone Retrieved Zone record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/zones/edit.html in your site repository.

Taxes/backend/zones/manage.html Zones\Manage

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

The admin template receives
VariableTypeDescription
$zones Collection<Zone> Collection of Zones

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Customise this admin screen: create templates/Taxes/backend/zones/manage.html in your site repository.