{% extends app.request.xmlHttpRequest ? 'form.html.twig' : 'base.html.twig' %} {% block page_title %}{{ 'admin_invoice_template.title'|trans }}{% endblock %} {% block main %} {% set formEditTemplate = app.request.xmlHttpRequest ? 'default/_form_modal.html.twig' : 'default/_form.html.twig' %} {% set formOptions = { 'title': template.name|default('create'|trans), 'form': form, 'back': path('admin_invoice_template') } %} {% embed formEditTemplate with formOptions %} {% block form_body %} {{ form_row(form.name) }} {{ form_row(form.title) }}
{{ form_row(form.company) }}
{{ form_row(form.vatId) }}
{{ form_row(form.address) }}
{{ form_row(form.contact) }}
{{ form_row(form.paymentTerms) }}
{{ form_row(form.paymentDetails) }}
{{ form_row(form.dueDays) }}
{{ form_row(form.vat) }}
{{ form_row(form.renderer) }}
{{ form_row(form.language) }}
{{ form_row(form.calculator) }}
{{ form_row(form.numberGenerator) }}
{{ form_row(form.decimalDuration) }}
{{ form_widget(form) }} {% endblock %} {% endembed %} {% endblock %}