{#** * 2007-2019 PrestaShop and Contributors * * 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.txt. * 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://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#}

person {{ customerInformation.personalInformation.firstName }} {{ customerInformation.personalInformation.lastName }} {{ '[%06d]'|format(customerInformation.customerId.value) }} - {{ customerInformation.personalInformation.email }} edit

{{ 'Social Title'|trans({}, 'Admin.Global') }}
{{ customerInformation.personalInformation.socialTitle }}
{{ 'Age'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ customerInformation.personalInformation.birthday }}
{{ 'Registration Date'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ customerInformation.personalInformation.registrationDate }}
{{ 'Last Visit'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ customerInformation.personalInformation.lastVisitDate }}
{% if customerInformation.personalInformation.rankBySales %}
{{ 'Best Customer Rank'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ customerInformation.personalInformation.rankBySales }}
{% endif %} {% if isMultistoreEnabled %}
{{ 'Shop'|trans({}, 'Admin.Global') }}
{{ customerInformation.personalInformation.shopName }}
{% endif %}
{{ 'Language'|trans({}, 'Admin.Global') }}
{{ customerInformation.personalInformation.languageName }}
{{ 'Registrations'|trans({}, 'Admin.Orderscustomers.Feature') }}
{% set isNewsletterSubscribed = customerInformation.personalInformation.subscriptions.newsletterSubscribed %} {% set isPartnerOffersSubscribed = customerInformation.personalInformation.subscriptions.partnerOffersSubscribed %} {% if isNewsletterSubscribed %}check{% else %}cancel{% endif %} {{ 'Newsletter'|trans({}, 'Admin.Global') }} {% if isPartnerOffersSubscribed %}check{% else %}cancel{% endif %} {{ 'Partner offers'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ 'Latest Update'|trans({}, 'Admin.Orderscustomers.Feature') }}
{{ customerInformation.personalInformation.lastUpdateDate }}
{{ 'Status'|trans({}, 'Admin.Global') }}
{% set isCustomerActive = customerInformation.personalInformation.active %} {% if isCustomerActive %} check {{ 'Active'|trans({}, 'Admin.Global') }} {% else %} cancel {{ 'Inactive'|trans({}, 'Admin.Global') }} {% endif %}
{% if customerInformation.personalInformation.guest %}
{{ 'This customer is registered as a Guest.'|trans({}, 'Admin.Orderscustomers.Feature') }}
{% if customerInformation.generalInformation.customerBySameEmailExists %}

{{ 'A registered customer account using the defined email address already exists. '|trans({}, 'Admin.Orderscustomers.Notification') }}

{% else %} {{ form_start(transferGuestAccountForm, {'action': path('admin_customers_transform_guest_to_customer', {'customerId': customerInformation.customerId.value})}) }}

{{ 'This feature generates a random password before sending an email to your customer.'|trans({}, 'Admin.Orderscustomers.Help') }}

{{ form_end(transferGuestAccountForm) }} {% endif %}
{% endif %}