{% extends "base.html" %} {% block contenu %} {% set onglet = 'clients' %}

{{ _("Clients") }}

{{ _("Adresse, conditions de paiement et langue de chaque client. Les exceptions évitent d'envoyer des rappels à un client (par exemple un accord de paiement).") }}

{% include "_ventes_onglets.html" %} {% if actuel is not none %}

{{ actuel.nom or _("Nouveau client") }}

{{ _("Exception pour les rappels") }}

{% if actuel.id %}{{ _("+ Facture pour ce client") }} {{ _("+ Offre") }}{% endif %} {{ _("Fermer") }}
{% if histo %}

{{ _("Historique") }}

{% for d in histo %}{% endfor %}
{{ d.date|date_ch }}{{ _(genres[d.genre]) }} {{ d.numero or _("(brouillon)") }} {{ _(statuts.get(d.s.statut, d.s.statut)) }}{{ d.total|chf }}
{% endif %} {% endif %}
{{ _("+ Nouveau client") }} {{ _("Voir aussi les archivés") }}
{% if liste %} {% for c in liste %}{% endfor %}
{{ _("N°") }}{{ _("Nom") }}{{ _("Localité") }}{{ _("Email") }}{{ _("Rappels") }}
{{ c.numero or '' }}{{ c.nom }} {{ c.npa or '' }} {{ c.localite or '' }}{{ c.email or '' }} {% if c.sans_rappel_jusqua %}{{ _("aucun jusqu'au {0}", (c.sans_rappel_jusqua|date_ch)) }}{% endif %}
{% else %}

{{ _("Aucun client pour l'instant.") }}

{% endif %}
{% endblock %}