{% if instance not in ['shop-manager', 'developer', 'support'] %} {% endif %} {% if not (true == isShopManager and 'shop-manager' == instance) %} {% endif %} {% if 'shop-manager' == instance %} {% elseif 'manager' == instance %} {% endif %} {% for user in users %} {% if instance not in ['shop-manager', 'developer', 'support'] %} {% endif %} {% if not (true == isShopManager and 'shop-manager' == instance) %} {% endif %} {% if 'shop-manager' == instance %} {% elseif 'manager' == instance %} {% endif %} {% else %} {% endfor %}
# {{ 'app.global.user.list.first_name'|trans }} {{ 'app.global.user.list.last_name'|trans }}{{ 'app.global.fields.phone'|trans }}{{ 'app.global.user.list.role'|trans }}{{ isShopManager ? 'app.global.user.list.device'|trans : 'app.global.user.list.shop'|trans }}{{ 'app.global.user.list.franchise'|trans }}
{% if user.image is null and user.imageUrl is null %} {{ user.fullName|slice(0,2)|upper }} {% else %} {% set image = user.imageUrl ? getImageUrl(user.imageUrl) : getImage(users_images ~ user.image) %} {% endif %}
{% if not isShopManager or 'shop-manager' != instance %} {{ user.fullName|capitalize }} {% else %} {{ user.fullName|capitalize }} {% endif %}
{{ user.email }}
{{ user.firstName|capitalize }} {{ user.lastName|capitalize }} {{ user.phone|phoneWithFlag }} {{ ("app.global.user.instance." ~ instance)|trans|badge('info') }} {% if isShopManager %} {{ user.deviceName|capitalize|badge('success') }} {% else %} {{ user.shopName|capitalize|badge('success') }} {% endif %} {{ user.franchiseName|capitalize|badge('success') }}
{{ switchUser(user.email, instance) }} {% if true == isShopManager and 'shop-manager' == instance and null != user.deviceId %} {% endif %} {% if (isAdministrator or isSupport) and 'customer' == instance and not user.isVerified %} {% include 'Security/User/form-validation-email.html.twig' with {'id': user.id} %} {% endif %} {% if not isShopManager or 'shop-manager' != instance %} {{ link('show', path('foxorders_security_user_show', {'id': user.id})) }} {% endif %}
{{ 'app.global.detail.no_record_found'|trans }}