{% extends '@Commercial/commercial/layout.html.twig' %} {% block commercial_title %}Catégories prospects et clients{% endblock %} {% block commercial_content %}

Catégories prospects et clients

Classez votre portefeuille par marque, activité ou segment commercial.

Clients Exporter {% if is_granted('COMMERCIAL_REFERENCE_MANAGE', company) %}{% endif %}
Catégories actives{{ view.kpis.active }}{% if view.kpis.new_count %}+{{ view.kpis.new_count }} ce mois{% endif %}
Catégories utilisées{{ view.kpis.used }}{{ view.kpis.empty }} catégorie{{ view.kpis.empty > 1 ? 's' : '' }} vide{{ view.kpis.empty > 1 ? 's' : '' }}
Clients classés{{ view.kpis.clients }}Fiches actives
Prospects classés{{ view.kpis.prospects }}Fiches actives
Catégories archivées{{ view.kpis.archived }}Conservées sur les anciennes fiches
Réinitialiser
{{ view.total_rows }} catégorie{{ view.total_rows > 1 ? 's' : '' }}trouvée{{ view.total_rows > 1 ? 's' : '' }}
{% for row in view.rows %} {% set category = row.category %} {% set initials = category.nom|split(' ')|map(word => word|slice(0, 1))|join|slice(0, 2)|upper %} {% set historical_count = row.total_record_count - row.active_record_count %} {% else %}{% endfor %}
CatégorieClients actifsProspects actifsTotal actifHistoriqueDate de créationStatutActions
{{ initials }}
{{ category.nom }}{{ row.active_record_count ? row.active_record_count ~ ' fiche' ~ (row.active_record_count > 1 ? 's' : '') ~ ' active' ~ (row.active_record_count > 1 ? 's' : '') : 'Catégorie vide' }}
{{ row.client_count }} {{ row.prospect_count }} {{ row.active_record_count }} {{ historical_count > 0 ? historical_count : '—' }} {{ category.createdAt ? category.createdAt|date('d/m/Y') : '—' }} {{ row.archived ? 'Archivée' : 'Active' }} {% if is_granted('COMMERCIAL_REFERENCE_MANAGE', company) and not row.archived %}
{% else %}—{% endif %}
Aucune catégorie ne correspond aux filtres.
Affichage de {{ view.first_row }}–{{ view.last_row }} sur {{ view.total_rows }} catégories
{% if is_granted('COMMERCIAL_REFERENCE_MANAGE', company) %} {% endif %}
{% endblock %}