{% extends "base.html" %} {% block contenu %} {% set onglet = 'rappels' %} {% set nb_rappels = dus|length %}

{{ _("Rappels") }}

{{ _("Rappels prévus {0}, {1} et {2} jours après l'échéance (à changer dans Réglages). Chaque rappel est un PDF avec la QR-facture du montant encore dû et des frais.", (jours[0]), (jours[1]), (jours[2])) }} {% if auto %}{{ _("Préparation automatique activée.") }}{% endif %}

{% include "_ventes_onglets.html" %}

{{ _("À préparer") }}

{% if dus %} {% for v, s, niveau, cl in dus %} {% endfor %}
{{ _("Facture") }}{{ _("Client") }}{{ _("Échéance") }}{{ _("Jours de retard") }}{{ _("Rappel") }}{{ _("Reste") }}
{{ v.numero }}{{ cl.nom }}{{ v.echeance|date_ch }} {{ s.jours_retard }}{{ _(niveaux[niveau]) }}{{ s.reste|chf }}
{% else %}

{{ _("Aucun rappel à préparer aujourd'hui.") }}

{% endif %}

{{ _("Rappels en cours") }}

{% if actifs %} {% for r in actifs %} {% endfor %}
{{ _("Date") }}{{ _("Facture") }}{{ _("Client") }}{{ _("Rappel") }}{{ _("Frais") }}{{ _("Reste") }}
{{ r.date|date_ch }}{{ r.numero }}{{ r.client_nom }} {{ _(niveaux[r.niveau]) }}{{ r.frais|chf }}{{ r.s.a_payer|chf }} PDF
{% else %}

{{ _("Aucun rappel en cours.") }}

{% endif %}
{% if historique %}

{{ _("Historique (factures payées depuis)") }}

{% for r in historique %}{% endfor %}
{{ r.date|date_ch }}{{ r.numero }}{{ r.client_nom }}{{ _(niveaux[r.niveau]) }}
{% endif %} {% endblock %}