Frontend | Backend | Api

Discounts default templates (Backend)

This page contains an overview of the default templates for the Discounts module.

The overview is generated based on controllers using the specified template as their default layout and containing GET methods; thus depending on the configuration the controller might not use the template at all or other controllers might use the template too.
The table is only meant as a first orientation which ResponseVariables can likely be expected when working with the template.

File Controller GET Response variables GET Description
discounts/backend/actions/add.html Actions\Add Add a new record. Assigns an empty record to the template.
discounts/backend/codes/add.html Codes\Add
Name Type Description
code Code Single (empty) Code record
Add a new record. Assigns an empty record to the template.
discounts/backend/codes/edit.html Codes\Edit
Name Type Description
code Code Retrieved Code record
Retrieve a single record and display the edit page for the record
discounts/backend/codes/manage.html Codes\Manage
Name Type Description
codes Collection (Code) Collection of Codes
Retrieve available records and assign them to the template for editing.
discounts/backend/conditions/add.html Conditions\Add Add a new record. Assigns an empty record to the template.
discounts/backend/discounts/add.html Discounts\Add
Name Type Description
discount Discount Single (empty) Discount record
Add a new record. Assigns an empty record to the template.
discounts/backend/discounts/edit.html Discounts\Edit
Name Type Description
discount Discount Retrieved Discount record
Retrieve a single record and display the edit page for the record
discounts/backend/discounts/manage.html Discounts\Manage
Name Type Description
discounts Collection (Discount) Collection of Discounts
Retrieve available records and assign them to the template for editing.
discounts/backend/rules/add.html Rules\Add
Name Type Description
rule Rule Single (empty) Rule record
Add a new record. Assigns an empty record to the template.
discounts/backend/rules/edit.html Rules\Edit
Name Type Description
rule Rule Retrieved Rule record
Retrieve a single record and display the edit page for the record
discounts/backend/rules/manage.html Rules\Manage
Name Type Description
rules Collection (Rule) Collection of Rules
Retrieve available records and assign them to the template for editing.