{% extends '@OroUI/actions/view.html.twig' %} {% import '@OroDataGrid/macros.html.twig' as dataGrid %} {% oro_title_set({params : {"%id%": entity.id } }) %} {% block pageHeader %} {% set breadcrumbs = { 'entity': entity, 'indexPath': path('oro_tax_rule_index'), 'indexLabel': 'oro.tax.taxrule.entity_plural_label'|trans, 'entityTitle': entity.id|default('N/A'|trans) } %} {{ parent() }} {% endblock pageHeader %} {% block content_data %} {% import '@OroUI/macros.html.twig' as UI %} {% set taxRuleInfo %} {{ UI.renderProperty('oro.tax.taxrule.customer_tax_code.label'|trans, entity.customerTaxCode) }} {{ UI.renderProperty('oro.tax.taxrule.product_tax_code.label'|trans, entity.productTaxCode) }} {{ UI.renderProperty('oro.tax.taxrule.tax_jurisdiction.label'|trans, entity.taxJurisdiction) }} {{ UI.renderProperty('oro.tax.taxrule.tax.label'|trans, entity.tax) }} {{ UI.renderProperty('oro.tax.taxrule.description.label'|trans, entity.description) }} {% endset %} {% set dataBlocks = [{ 'title': 'oro.tax.sections.general'|trans, 'subblocks': [ {'data' : [taxRuleInfo]}, ] }] %} {% set id = 'tax-tax-rule-view' %} {% set data = {'dataBlocks': dataBlocks} %} {{ parent() }} {% endblock content_data %}