{% extends "admin/base.html.twig" %} {% trans_default_domain 'ec_admin' %} {% set title = "Contacts"|trans %} {% block title %}{{ title|raw }}{% endblock %} {% block pageTitle %}{{ title|raw }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block body %}
{% if searchForm %} {{ form_start(searchForm, {'attr': {'id': 'index-search-form', 'class': 'form-material', 'novalidate': 'novalidate', 'action': app.request.uri}}) }}
{{ form_widget(searchForm.search) }}
{{ form_end(searchForm) }} {% endif %}
{% if routeExist('admin_' ~ interface['name'] ~ '_new') %} {{ render_esi(controller(namespace ~ "::new", {'website': website.id})) }} {% endif %}
{% include 'admin/include/stripe-preloader.html.twig' with {'preloaderId': 'index-preloader'} only %} {% for entity in pagination %} {% else %} {% endfor %}
{{ "Nom"|trans }} {{ "Prénom"|trans }} {{ "Infos"|trans }} {{ "Commandes"|trans }} {{ "Envoie de mail"|trans }} {{ "Actions"|trans }}
{{ entity.lastname }} {{ entity.firstname }} {% include '@ec_international/admin/include/informations.html.twig' with {'infoFields': ['lastLogin', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'customer', 'locale']} %} {% if entity.quotations|length > 0 %} {% set quotationTitle = entity.quotations|length > 1 ? 'Voir les commandes'|trans : 'Voir la commande'|trans %} {{ entity.quotations|length }} {% endif %} {% set i18n = email|i18n(entity.locale) %} {% set i18n = i18n ? i18n : email|i18n('fr') %} {% if i18n %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% set fullname = entity.lastname ~ ' ' ~ entity.firstname %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% endif %} {% if 'delete'|moduleActive(allModules) %} {% endif %}
{{ "Aucun contact"|trans }}
{% include 'admin/core/include/pagination.html.twig' %}
{% endblock %}