{% for css_file_href in config.css_files %} {% endfor %} {{ fc_header_content|raw }}
{% block receipt %}
{% block receipt_header %}

{% if is_updateinfo %} {{ config.lang.email_subject_updateinfo|raw }} {% elseif is_subscription_modification %} {{ config.lang.email_subject_subscription_updated|raw }} {% elseif is_subscription_cancel %} {{ config.lang.email_subject_subscription_cancelled|raw }} {% else %} {{ config.lang.checkout_receipt|raw }}: #{{ order_id }} {% endif %}

{% endblock receipt_header %} {% block receipt_messaging_and_actions %}
{% block messaging %}
{% if is_updateinfo %}
{{ config.lang.checkout_updateinfo_completed|raw }}
{% elseif is_subscription_cancel %}
{{ config.lang.checkout_subscription_cancel_completed|raw }}
{% else %}
{{ config.lang.receipt_message_order|raw }}
{% endif %} {% if payment_is_pending %}
{{ config.lang.checkout_payment_pending|raw }}
{% endif %} {% if payment_is_authorized %}
{{ config.lang.receipt_message_authorized|raw }}
{% endif %}
{% endblock messaging %}
{% block downloadable_links %} {% if has_downloadables and is_subscription_cancel == false %}
{{ config.lang.checkout_download_links|raw }}
{% endif %} {% endblock downloadable_links %}
{% endblock receipt_messaging_and_actions %} {% block general_information %}
{{ config.lang.checkout_general_information|raw }}

{{ config.store_name }}

{{ order_id }}

{% if purchase_order %}

{{ purchase_order }}

{% endif %} {% if (payment_type == 'plastic' or payment_type == 'pos') and cc_number_masked %}

{{ cc_number_masked }} ({{ cc_type }})

{% endif %}

{{ checkout_date }}

{% endblock general_information %} {% block billing_information %}
{{ config.lang.checkout_billing_information|raw }} {% include "address.receipt.inc.twig" with {'address': billing_address} %}
{% endblock billing_information %} {% if not has_multiship %} {% if shipping_address.has_shippable_products %} {% block shipping_address %}
{{ config.lang.receipt_shipping_information|raw }}

{{ shipping_address.shipping_service_description|raw }}

{% include "address.receipt.inc.twig" with {'address': shipping_address} %}
{% endblock shipping_address %} {% endif %} {% else %}{# has_multiship #} {% block multiship_addresses %}
{% for multiship in multiship_data %}
{{ config.lang.cart_shipto|raw }} {{ multiship.address_name }} {% include "address.receipt.inc.twig" with {'address': multiship} %} {% if multiship.custom_fields %} {% for key,custom_field in multiship.custom_fields %} {% if not custom_field.is_hidden %}

{{ custom_field.value }}

{% endif %} {% endfor %} {% endif %} {% if total_order > 0 %}

{% if has_inclusive_taxes %} {{ multiship.total_item_with_tax_price|money_format }} {% else %} {{ multiship.total_item_price|money_format }} {% endif %}

{% if has_inclusive_taxes %} {{ multiship.total_shipping_with_tax_price|money_format }} {% else %} {{ multiship.total_shipping|money_format }} {% endif %}

{% if has_taxes %} {% for tax in multiship.taxes %} {% if tax.rate is null %} {% set tax_rate = '' %} {% else %} {% set tax_rate = ' (' ~ tax.rate|round(2) ~ '%)' %} {% endif %}

{{ tax.amount|money_format }}

{% endfor %} {% endif %}

{{ multiship.total_price|money_format }}

{% endif %}
{% endfor %}
{% endblock multiship_addresses %} {% endif %}{# not has_multiship #} {% block custom_fields %} {% if has_visible_custom_fields %}
{{ config.lang.checkout_additional_information|raw }} {% for key,custom_field in custom_fields %} {% if not custom_field.is_hidden %}

{{ custom_field.value }}

{% endif %} {% endfor %}
{% endif %} {% endblock custom_fields %} {% set cart_is_fullpage = true %}
{% include 'cart.inc.twig' %}
{% if transaction_history_data and transaction_history_data|length > 1 %}
{{ config.lang.receipt_transaction_history|raw }}
    {% for historical_data in transaction_history_data %} {% set action = historical_data.request_type|split('_')[1] %} {% set amount = historical_data.amount|money_format ~ " " ~ (action|capitalize) %} {% if action in ['refund', 'void'] %} {% set amount = "" ~ amount ~ "" %} {% endif %}
  • {{ historical_data.date }}: {{ amount|raw }}
  • {% endfor %}
{% endif %}
{# .fc-container #}
{# #fc-receipt-container.fc-receipt__main.fc-receipt__row #} {% endblock receipt %}
{% include template_from_string(fc_footer_content) %}