{% extends 'App/_include/_layout.main.html.twig' %} {% block page_content %} {% set current_order = app.session.get('current_order') %}

{{ 'subscription.step3.title'|trans }}

{{ 'subscription.step3.subtitle.my_order'|trans }}

{% if current_order.orderLines|length > 0 %} {% for line in current_order.orderLines %} {% endfor %}
{{ 'my_account.order.detail.column.offer'|trans }} {{ 'my_account.order.detail.column.quantity'|trans }} {{ 'my_account.order.detail.column.price'|trans }}
{{ line.offer.name|trans|capitalize }}{% if line.amountUnit != line.amountTotal %} ({{ line.amountUnit }} € HT){% endif %} {{ line.quantity }}{% if not line.isOption %} ({{ 'license'|transchoice(line.quantity) }}){% endif %} {{ line.amountTotal|number_format(2, ',','') }} € HT
{{ 'my_account.order.detail.text2'|trans }} {{ 'my_account.order.amount_pre_tax'|trans }} {% if current_order.amountPreTax %}{{ current_order.amountPreTax|number_format(2, ',','') }} €{% endif %}
{{ 'my_account.order.amount_tax'|trans }} {% if current_order.amountTax %}{{ current_order.amountTax|number_format(2, ',','') }} €{% endif %}
{{ 'my_account.order.amount_with_tax'|trans }} {% if current_order.amountWithTax %}{{ current_order.amountWithTax|number_format(2, ',','') }} €{% endif %}
{% endif %}

{{ 'subscription.step3.subtitle.informations'|trans }}

{{ 'subscription.step3.company_name'|trans }}{{ current_order.customerName }}
{{ 'subscription.step3.address'|trans }} {% if current_order.address1|length > 0 %}{{ current_order.address1 }}{% endif %} {% if current_order.address1|length > 0 and current_order.address2|length > 0 %}
{% endif %} {% if current_order.address2|length > 0 %}{{ current_order.address2 }}{% endif %}
{{ 'subscription.step3.zc_city'|trans }}{{ current_order.zipCode ~ ' ' ~ current_order.city }}
{{ 'subscription.step3.country'|trans }}{{ current_order.country }}
{{ 'subscription.step3.physical_person'|trans }}{{ current_order.firstName ~ ' ' ~ current_order.lastName }}
{{ 'subscription.step3.email'|trans }}{{ current_order.email }}
{{ 'subscription.step3.phone'|trans }}{{ current_order.phone }}
{# hidden form for e-transactions #}
{% for row_k, row_v in e_transactions_data %} {% endfor %}
{% endblock %} {% block javascript_footer %} {{ parent() }} {% endblock %}