{# templates/superadmin/artisans/sa_artisans_list.html.twig #} {% extends 'superadmin/superadmin.html.twig' %} {% block title %}Artisans - {{ parent() }}{% endblock %} {% block body %} {{ render(controller( 'App\\Controller\\Superadmin\\SaLayoutController::filAriane', {'rubriques_id':rubriques_id, 'action':filariane_action} )) }} {{ include('superadmin/layout/sa_actions.html.twig') }} {{ include('superadmin/layout/sa_debug.html.twig') }} {{ include('superadmin/layout/sa_alert.html.twig') }}
{{ include('superadmin/layout/sa_pagination.html.twig') }} {% if page <= nb_pages %} {% for k,row in listing %} {% endfor %}
ID Société Adresse Email / Tél. Date
d'ajout {{ getDirection('creationDate')|raw }}
Dernière
connexion {{ getDirection('derniereConnexion')|raw }}
Nbr
prospections {{ getDirection('nbr_prospections')|raw }}
Prospections
vues
Nbr
réponses {{ getDirection('nbr_reponses')|raw }}
Actions
{{ row.id }}
{% if row.derniereConnexion|date('YmdHis') != current_datetime and row.derniereConnexion|date('YmdHi') >= deux_minutes %} {% else %} {% endif %}
{{ row.societe }}{% if row.gerant|length > 0 %}
Gérant : {{ row.gerant }}{% endif %}
Adresse : {{ row.adresse }}
Code postal : {{ row.cp }}
Ville : {{ row.ville }}
{{ row.email }} {% if row.tel|length > 0 %}{% if row.email|length > 0 %}
{% endif %} {{ row.tel }}{% endif %} {% if row.mobile|length > 0 %}{% if (row.email|length > 0) or (row.tel|length > 0) %}
{% endif %} {{ row.mobile }}{% endif %} {% if row.mobileBis|length > 0 %}
{{ row.mobileBis }}{% endif %}
{{ row.creationDate|date('d-m-Y H:i') }} {% if row.derniereConnexion is not null %} {{ row.derniereConnexion|date('d-m-Y H:i') }} {% endif %} {{ row.nbr_prospections }} {{ row.nbr_prosp_ouvert }} {% if row.nbr_reponses > 0 %} {{ row.nbr_reponses }} {% else %} {{ row.nbr_reponses }} {% endif %} {% if row.idVille > 0 and '-- Désinscription' not in row.email %} {% if row.activated == 1 %} {% else %} {% endif %} {% endif %}
{{ include('superadmin/layout/sa_pagination.html.twig') }} {% endif %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}