{% extends "admin/base.html.twig" %} {% trans_default_domain 'ec_admin' %} {% set title = "Sociétés"|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_customer_new') and 'edit'|moduleActive(allModules) %} {{ 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 de l'entreprise"|trans }} {{ "Infos"|trans }} {{ "Commandes"|trans }} {{ "Contacts"|trans }} {{ "Actions"|trans }}
{% set path = entity.logo.dirname is defined and entity.logo.dirname ? entity.logo.dirname : 'medias/placeholder.jpg' %} {% set path = 'svg' not in path and 'gif' not in path ? path|imagine_filter('customer_logo') : asset(path) %} {{ entity.name }} {% include '@ec_international/admin/include/informations.html.twig' with {'infoFields': ['createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'locale']} %} {% set quotations = entity|customerQuotations %} {% if quotations.count > 0 %} {{ quotations.count }} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% set count = entity.users|length %} {{ count }} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% endif %} {% if 'delete'|moduleActive(allModules) %} {% endif %}
{{ "Aucun client"|trans }}
{% include 'admin/core/include/pagination.html.twig' %}
{% endblock %}