{#** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *#} {% block order_preview %}

local_shipping

{{ 'Carrier'|trans({}, 'Admin.Global') }}: {% if not orderPreview.isVirtual %} {{ orderPreview.shippingDetails.carrierName }} {% else %} - {% endif %}

{{ 'Tracking number'|trans({}, 'Admin.Shipping.Feature') }}: {% if not orderPreview.isVirtual and orderPreview.shippingDetails.trackingNumber is not empty %} {% if orderPreview.shippingDetails.trackingUrl %} {{ orderPreview.shippingDetails.trackingNumber }} {% else %} {{ orderPreview.shippingDetails.trackingNumber }} {% endif %} {% else %} - {% endif %}

{{ 'Shipping details'|trans({}, 'Admin.Orderscustomers.Feature') }}: {% if orderPreview.virtual %} - {% endif %}

{% if not orderPreview.virtual %} {% for line in orderPreview.shippingAddressFormatted|split("\n") %} {{ line }}

{% endfor %} {% endif %}

email

{{ 'Email:'|trans({}, 'Admin.Global') }}

{{ orderPreview.invoiceDetails.email }}

receipt

{{ 'Invoice details'|trans({}, 'Admin.Orderscustomers.Feature') }}:

{% for line in orderPreview.invoiceAddressFormatted|split("\n") %} {{ line }}

{% endfor %}
{% if orderPreview.taxIncluded %} {% set taxInclusion = 'Tax included'|trans({}, 'Admin.Global') %} {% else %} {% set taxInclusion = 'Tax excluded'|trans({}, 'Admin.Global') %} {% endif %} {% if orderPreview.taxIncluded == false %} {% endif %} {% for productDetail in orderPreview.productDetails %} {% if orderPreview.taxIncluded == false %} {% endif %} {% endfor %} {% if orderPreview.productDetails|length > productsPreviewLimit %} {% endif %}
{{ 'Products'|trans({}, 'Admin.Global') }} ({{ orderPreview.productDetails|length }}) {{ 'Reference'|trans({}, 'Admin.Global') }} {{ 'Stock location'|trans({}, 'Admin.Orderscustomers.Feature') }} {{ 'Tax'|trans({}, 'Admin.Global') }} {{ 'Quantity'|trans({}, 'Admin.Global') }} {{ 'Total'|trans({}, 'Admin.Global') }} {{ taxInclusion }}
{% if productDetail.id %} {{ productDetail.name }} {% else %} {{ productDetail.name }} ({{ 'Product deleted'|trans({}, 'Admin.Catalog.Feature') }}) {% endif %} {{ productDetail.reference }} {% if productDetail.location is not empty %}{{ productDetail.location }}{% endif %} {{ productDetail.totalTax }}{{ productDetail.quantity }} {{ productDetail.totalPrice }}
more_horiz {{ '(%count% more)'|trans({ '%count%': orderPreview.productDetails|length - productsPreviewLimit }, 'Admin.Global') }}
{{ renderhook('displayOrderPreview', {'order_id': orderId}) }} {% endblock %}