{% extends '@Commercial/commercial/layout.html.twig' %} {% block commercial_title %}{{ client.nom }}{% endblock %} {% block commercial_content %} {% set principal = profile.principalContact %} {% set resolved_client_logo = client_logo_path(client) %} {% set website_label = client.siteWeb|default('')|replace({'https://': '', 'http://': ''})|trim('/') %}

{{ client.nom }}

{{ client.type == 'ENTREPRISE' ? 'Entreprise' : 'Particulier' }} {{ client.archive ? 'Archivé' : 'Actif' }} {% if client.categorie %}{{ client.categorie.nom }}{% endif %}
{% if profile.siret %} SIRET {{ profile.siret }}{% endif %} {% if client.ville %} {{ client.ville }}{% endif %} {% if client.createdAt %} Client depuis {{ client.createdAt|date('Y') }}{% endif %}
{% if is_granted('CLIENT_EXPORT_BILLING', client) %} {% if can_export_financial %} Exporter ses factures & paiements{% endif %} {% endif %}
Modifier
{{ profile.contactCount }}Contacts
{{ profile.activeProjectCount }}Projets actifs
{% if can_view_financial %}
{{ profile.invoiceTotal|number_format(0, ',', ' ') }} €Factures
{% endif %}
{{ profile.lastActivity }}Dernière activité

Informations légales

Raison sociale{{ client.nom }}
Forme juridique{{ client.formeJuridique ? client.formeJuridique.nom : '—' }}
SIRET{{ profile.siret ?: '—' }}
SIREN{{ profile.siren ?: '—' }}
Code NAF{{ client.codeNaf ?: '—' }}
Catégorie commerciale{{ client.categorie ? client.categorie.nom : '—' }}
N° TVA{{ profile.vatNumber ?: '—' }}

Coordonnées

Adresse{{ client.adresse ?: '—' }}
Code postal{{ client.codePostal ?: '—' }}
Ville{{ client.ville ?: '—' }}
Département{{ client.departement ?: '—' }}
Pays{{ client.pays ?: 'France' }}
Email {% if client.email %} {{ client.email }}{% else %}—{% endif %}
Téléphone {% if profile.telephone %} {{ profile.telephone }}{% else %}—{% endif %}
Site web {% if profile.websiteHref %} {{ website_label }}{% else %}—{% endif %}

Contacts

{{ profile.contactCount }}
{% include '@Commercial/commercial/client/_contacts.html.twig' with {compact: true} %}
{% endblock %}