{% set fallback = app.request is not null ? app.request.locale : 'en' %} {% set language = model.template.language|default(fallback) %} {% block title %}{{ model.invoiceNumber }}-{{ model.customer.company|default(model.customer.name)|u.snake }}{% endblock %}
{% block invoice %}{% endblock %}