{# Notice for plugins and theme developer: Do not extend this template! This template will be rendered over the `block` function. Templates which are rendered over the `block` function can not be extended. Instead of extending this template, simply extend the `base.html.twig` (or the document specific template) and override the block you want. All blocks of this template are available in the template which renders this template over the `block` function. #} {% block letter_header %}
{{ config.companyName }} |
{% if config.displayCompanyAddress and config.companyAddress is not empty %} {{ config.companyAddress|replace({' - ': ' |
'})|raw }} {% endif %} |
{{'document.phoneNumber'|trans({'%phoneNumber%': config.companyPhone })|sw_sanitize }} |
{{ config.companyEmail }} |
{{ config.companyUrl }} |
{{ 'document.customerNumber'|trans({'%customerNumber%': customer.customerNumber})|sw_sanitize }} |
{{ 'document.orderNumber'|trans({'%orderNumber%': order.orderNumber })|sw_sanitize }} |
{{ 'document.orderDate'|trans({'%orderDate%': order.orderDateTime|format_date('medium', locale=locale)})|sw_sanitize }} |
{{ 'document.date'|trans({'%date%': config.documentDate|format_date('medium', locale=locale)})|sw_sanitize }} |