{% extends '@OroUI/actions/index.html.twig' %} {% import '@OroUI/macros.html.twig' as UI %} {% set gridName = 'tax-customer-tax-codes-grid' %} {% set pageTitle = 'oro.tax.customertaxcode.entity_plural_label'|trans %} {% block navButtons %} {% import '@OroUI/macros.html.twig' as UI %} {% if is_granted('oro_tax_customer_tax_code_create') %}
{{ UI.addButton({ 'path': path('oro_tax_customer_tax_code_create'), 'entity_label': 'oro.tax.customertaxcode.entity_label'|trans }) }}
{% endif %} {% endblock %}