{% extends "core/base.html" %}{% block content %}

{% if customer.type == 'individual' %}PARTICULIER{% else %}PROFESSIONNEL{% endif %} · {{ customer.status }}

{{ customer.legal_name }}

{{ customer.email|default:'Email non renseigné' }} · {{ customer.phone|default:'Téléphone non renseigné' }}

CoordonnéesCRM{% if can_write %}+ Devis{% endif %}
{% csrf_token %}

Relation commerciale

{% if can_write %}{% endif %}

Contacts

{% if can_write %}
+ Ajouter un contact
{% csrf_token %}
{% endif %}

Opportunités

{% for opportunity in opportunities %}
{{ opportunity.title }} · {{ opportunity.get_stage_display }} · {{ opportunity.amount|floatformat:2 }} {{ opportunity.currency_code }}
{% csrf_token %}{% include 'core/opportunity_fields.html' with item=opportunity %}{% if can_write %}
{% endif %}
{% empty %}

Aucune opportunité.

{% endfor %}{% if can_write %}
+ Nouvelle opportunité
{% csrf_token %}{% include 'core/opportunity_fields.html' %}
{% endif %}

Historique et relances

{% if can_write %}
{% csrf_token %}

Ajouter une activité

Le type Email met le message en file d'envoi avec la messagerie de l'entreprise.

{% endif %}

Documents du client

{% include 'core/document_table.html' %}

Suivi des emails

{% endblock %}