{% import '@OroShipping/ShippingMethodsConfigsRule/macros.html.twig' as ShipRuleMacro %} {% apply spaceless %} {% set methodLabel = get_shipping_method_label(methodData.identifier)|trans %} {% if methodLabel|length > 0 %}
  • {{ methodLabel }} {{ ShipRuleMacro.renderShippingMethodDisabledFlag(methodData.identifier) }} {%- if methodData.options.surcharge is not empty -%}  ({{ 'oro.fedex.shipping_method_options.surcharge.label'|trans}}: {{ methodData.options.surcharge|oro_format_currency({'currency': currency}) }}) {%- endif -%}
  • {% endif %} {% endapply %}