{# templates/superadmin_v2/artisans/sa_gestion_artisans_list.html.twig #} {% extends 'superadmin_v2/superadmin.html.twig' %} {% block title %}Gestion des Artisans - {{ parent() }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ render(controller('App\\Controller\\Superadmin\\SaLayoutController::breadcrumb', {'rubriques_id':rubriques_id, 'action':filariane_action} )) }} {{ include('superadmin_v2/layout/sa_tab.html.twig') }}
{{ include('superadmin_v2/layout/sa_debug.html.twig') }} {{ include('superadmin_v2/layout/sa_alert.html.twig') }}
{{ include('superadmin_v2/artisans/sa_gestion_artisans_recherche.html.twig') }} {{ include('superadmin_v2/layout/sa_paginator.html.twig') }}
{% if nb_pages >= page %} {% for k,row in listing %} {% endfor %}
ID {{ getDirectionV2('id')|raw }} Société Infos Ville Création /
Inscription {{ getDirectionV2('creation_date')|raw }}
Dernière
connexion {{ getDirectionV2('derniere_connexion')|raw }}
Chiffres Actions
{{ highLight(row.id, id)|raw }} {% if row.checked == 1 %}
{% endif %} {% if row.to_delete == 1 %}
{% endif %}
{{ highLight(row.societe, q)|raw }} {% if row.gerant|length > 0 %}
Gérant : {{ row.gerant }}{% endif %}
{% if row.siret|length > 0 %}
N° SIRET : {{ row.siret }}{% endif %} {% if row.tva|length > 0 %}
N° TVA : {{ row.tva }}{% endif %} {% if row.validated == 0 and 7 in roles %}
{% endif %}
{{ getLinkPjArtisan('kbis', row.kbis, 'Extrait Kbis')|raw }} {{ getLinkPjArtisan('attestation_assurance', row.attestation_assurance, 'Attestation d\'assurance')|raw }} {{ getLinkPjArtisan('piece_identite_gerant', row.piece_identite_gerant, 'Pièce d\'identité Gérant')|raw }} {{ getLinkPjArtisan('attestation_certibiocide', row.attestation_certibiocide, 'Attestation certibiocide')|raw }}
  {{ highLight(row.email, q)|raw }} {% if row.tel|length > 0 %}
  {{ highLight(row.tel, q)|raw }}{% endif %} {% if row.mobile|length > 0 %}
  {{ highLight(row.mobile, q)|raw }}{% endif %} {% if row.mobileBis|length > 0 %}
  {{ highLight(row.mobileBis, q)|raw }}{% endif %} {% if row.mobileTrois|length > 0 %}
  {{ highLight(row.mobileTrois, q)|raw }}{% endif %} {% if row.site_web|length > 0 %}
 {{ wordBreak(row.site_web, 50) }} {% endif %}

  {{ row.adresse }}

  {{ row.credits * 1.2 }} {% if row.credits > 0 %}€ HT ({{ row.credits }} points){% endif %} {% if row.audio|length > 0 %}{{ getAudio(row.audio)|raw }}{% endif %}
{% if row.idVille > 0 %} {{ row.cp }}
{{ row.ville }} {% else %} {{ row.d_ville }} {{ row.d_cp }} {% endif %} {% if 8 in roles %}
{% endif %}
{{ row.creationDate|date('d-m-Y H:i') }}
{% if row.inscription == 1 %} Auto-inscription {% elseif row.inscription == 0 %} Prospection {% endif %} {#
{% if row.inscription == 1 %} {% elseif row.inscription == 0 %} {% endif %}
#}
{% if row.derniere_connexion is not null %}{{ row.derniere_connexion|date('d-m-Y H:i') }}{% endif %} {% if k == 0 %} {% if 8 in roles %} {% endif %}
{{ getTdDirection('nbr_prospections')|raw }} Nbr prospections : {{ row.nbr_prospections }}
{{ getTdDirection('prospections_vues')|raw }} Prospections vues : {{ row.nbr_prosp_ouvert }}
{{ getTdDirection('nbr_reponses')|raw }} Nbr réponses : {% if row.nbr_reponses > 0 %}{{ row.nbr_reponses }}{% else %}0{% endif %}
-----
{{ getTdDirection('sms_envoyes')|raw }} Nbr SMS envoyés : {{ row.nbr_sms_envoy }}
{{ getTdDirection('sms_ouverts')|raw }} Nbr SMS ouverts : {{ row.nbr_sms_ouvert }}
-----
{{ getTdDirection('nbr_connexions')|raw }} Nbr connexions : {{ row.nbr_connexions }}
-----
Note

{{ getNl2Br(row.note)|raw }} {% if row.derniereNoteDate is not null %}
--------
{{ row.derniereNoteDate|date('d-m-Y H:i') }}{% endif %}

{% else %} {% if 8 in roles %} {% endif %}
Nbr prospections : {{ row.nbr_prospections }}
Prospections vues : {{ row.nbr_prosp_ouvert }}
Nbr réponses : {% if row.nbr_reponses > 0 %}{{ row.nbr_reponses }}{% else %}0{% endif %}
-----
Nbr SMS envoyés : {{ row.nbr_sms_envoy }}
Nbr SMS ouverts : {{ row.nbr_sms_ouvert }}
-----
Nbr connexions : {{ row.nbr_connexions }}
-----
Note

{{ getNl2Br(row.note)|raw }} {% if row.derniereNoteDate is not null %}
--------
{{ row.derniereNoteDate|date('d-m-Y H:i') }}{% endif %}

{% endif %}
{% if row.to_delete == 0 %} {% if 8 in roles %}
{# % if row.validated == 1 and row.idVille > 0 and '-- Désinscription' not in row.email and '[a]' not in row.email % #} {# % endif % #} {% if 22 in roles %} {% if 5 > row.nbr_reponses_payantes %} {% else %} {% endif %} {% endif %}
{% if row.inscription == 1 %} {% endif %} {% if 27 in roles %} {% endif %}
{% endif %} {% if 7 in roles %} {% endif %} {% if 23 in roles %} {% endif %} {% if 27 in roles %} {# % if row.checked == 0 and row.validated == 1 and row.activated == 1 and row.desinscription == 0 and row.deleted == 0 and row.to_delete == 0 and row.idVille > 0 and row.email|length > 0 and (row.tel|length > 9 or row.mobile|length > 9) and row.siret|length > 10 and row.tva|length > 0 and row.kbis|length > 0 and row.attestation_assurance|length > 0 and row.piece_identite_gerant|length > 0 and ((row.ind_nuisible == 1 and row.attestation_certibiocide|length > 0) or (row.ind_nuisible == 0)) and row.document_administratif_valid == 1 and row.nbr_reponses_payantes > 0 %} {% endif % #} {% if row.checked == 0 and row.to_delete == 0 and row.activated == 0 and row.send_devis == 0 and row.document_administratif_valid == 0 and row.nbr_reponses == 0 and row.nbr_reponses_payantes == 0 %} {% endif %} {% endif %} {% endif %}
{% endif %}
{% if nb_pages >= page %}{{ include('superadmin_v2/layout/sa_paginator.html.twig') }}{% endif %}
{{ include('superadmin_v2/layout/sa_footer.html.twig') }}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}