themes/webapicTheme/templates/bundles/SyliusShopBundle/Common/_address.html.twig line 1

Open in your IDE?
  1. {% import "@SyliusUi/Macro/flags.html.twig" as flags %}
  2. <address>
  3.     <strong>{{ address.firstName }} {{ address.lastName }}</strong><br/>
  4.     {% if address.company %}
  5.         {% set company = address.firstName ~ ' ' ~ address.lastName %}
  6.         {% if company != address.company %}
  7.             {{ address.company }}<br/>
  8.         {% endif %}
  9.     {% endif %}
  10.     {{ address.phoneNumber }}<br/>
  11.     {{ address.street }}<br/>
  12.     {% if address.streetComplementary %}
  13.         {{ address.streetComplementary }}<br/>
  14.     {% endif %}
  15.     {{ address.city }}<br/>
  16.     {% if address|sylius_province_name is not empty %}
  17.         {{ address|sylius_province_name }}<br/>
  18.     {% endif %}
  19.     {{ flags.fromCountryCode(address.countryCode) }}
  20.     {{ address.countryCode|sylius_country_name|upper }} {{ address.postcode }}
  21. </address>