{% extends 'base.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% import "macros/datatables.html.twig" as tables %} {% import "invoice/actions.html.twig" as actions %} {% set columns = { 'name': {'class': 'alwaysVisible text-nowrap', 'orderBy': false}, 'title': {'class': 'hidden-xs text-nowrap', 'orderBy': false}, 'company': {'class': 'hidden-xs hidden-sm hidden', 'orderBy': false}, 'vat_id': {'class': 'hidden-xs hidden-sm text-nowrap', 'orderBy': false}, 'vat': {'class': 'hidden-xs hidden-sm hidden-md text-nowrap', 'orderBy': false}, 'due_days': {'class': 'hidden-xs hidden-sm hidden-md text-nowrap', 'orderBy': false}, 'address': {'class': 'hidden', 'orderBy': false}, 'contact': {'class': 'hidden', 'orderBy': false}, 'calculator': {'title': 'label.invoice_calculator'|trans({}, 'invoice-calculator'), 'class': 'hidden', 'orderBy': false}, 'renderer': {'title': 'label.invoice_renderer'|trans({}, 'invoice-renderer'), 'class': 'hidden', 'orderBy': false}, 'language': {'class': 'text-nowrap', 'orderBy': false}, 'actions': {'class': 'actions alwaysVisible', 'orderBy': false}, } %} {% set tableName = 'invoice_template' %} {% block page_title %}{{ 'admin_invoice_template.title'|trans }}{% endblock %} {% block page_actions %}{{ actions.invoice_templates('index') }}{% endblock %} {% block main_before %} {{ tables.data_table_column_modal(tableName, columns) }} {% endblock %} {% block main %} {% if entries.count == 0 %} {{ widgets.nothing_found('kimai.invoiceTemplateUpdate') }} {% endif %} {{ tables.datatable_header(tableName, columns, null, {'reload': 'kimai.invoiceTemplateUpdate'}) }} {% for entry in entries %}