{% extends "commerce/_layouts/tax" %} {% block content %}

{{ "Tax Categories"|t('commerce') }}

{% for taxCategory in taxCategories %} {% endfor %}
{{ "Name"|t('commerce') }} {{ "Handle"|t('commerce') }} {{ "Description"|t('commerce') }} {{ "Used By Tax Rates"|t('commerce') }} {{ "Default?"|t('commerce') }}
{{ taxCategory.name }} {{ taxCategory.handle }} {{ taxCategory.description }} {% for rate in taxCategory.taxRates %} {{ rate.name }}
{% endfor %}
{% if taxCategory.default %} {% endif %} {% if not taxCategory.taxRates|length %}{% endif %}
{{ 'New tax category'|t('commerce') }}
{% endblock %} {% js %} var adminTable = new Craft.AdminTable({ tableSelector: '#taxcategories', deleteAction: 'commerce/tax-categories/delete', minObjects: 1 }); {% endjs %}