Frontend | Backend | Api

Taxes routes (Backend)

Name Request Response variables Description
addProvider

GET /cdna-admin/taxes/add-provider/{type}

type [a-zA-Z]+
Add a new record. Assigns an empty record to the template.
editProvider

GET /cdna-admin/taxes/provider/{id}

id \d+
Retrieve a single record and display the edit page for the record
manageProviders

GET /cdna-admin/taxes/providers

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

GET /cdna-admin/taxes/add-category

Name Type Description
category Category Single (empty) Category record
Add a new record. Assigns an empty record to the template.
editCategory

GET /cdna-admin/taxes/category/{id}

id \d+
Name Type Description
category Category Retrieved Category record
Retrieve a single record and display the edit page for the record
manageCategories

GET /cdna-admin/taxes/categories

Name Type Description
categories Collection (Category) Collection of Categories
Retrieve available records and assign them to the template for editing.
addZone

GET /cdna-admin/taxes/add-zone

Name Type Description
zone Zone Single (empty) Zone record
Add a new record. Assigns an empty record to the template.
editZone

GET /cdna-admin/taxes/zone/{id}

id \d+
Name Type Description
zone Zone Retrieved Zone record
Retrieve a single record and display the edit page for the record
manageZones

GET /cdna-admin/taxes/zones

Name Type Description
zones Collection (Zone) Collection of Zones
Retrieve available records and assign them to the template for editing.