{% extends 'base.html' %} {% load custom_filters i18n faccontrol_search faccontrol_ui static %} {# Template de liste des proformas : memes filtres, meme barre de recherche et memes exports que l'historique des factures. #} {% block page_title %}{% trans "Liste de Pro-Forma" %}{% endblock %} {# Le titre de la carte suffit : pas de bandeau en double. #} {% block page_header %}{% endblock %} {% block content %}
| {% trans "Numero" %} | {% trans "Date" %} | {% trans "Client" %} | {% trans "Montant total" %} | {% trans "Paye" %} | {% trans "Reste" %} | {% trans "Statut" %} | {% trans "Utilisateur" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|---|---|
| {{ proforma.numero }} | {{ proforma.date_proforma|date:"d/m/Y H:i" }} | {{ proforma.client.nom_complet|default:"-" }} | {{ proforma.montant_total|money:"FC" }} | {{ proforma.montant_paye|money:"FC" }} | {{ proforma.reste_a_payer|money:"FC" }} | {% if proforma.statut_paiement == 'PAYEE' %} {% trans "Payee" %} {% elif proforma.statut_paiement == 'PARTIELLE' %} {% trans "Partielle" %} {% else %} {% trans "Impayee" %} {% endif %} {% if proforma.facture_id %} {% trans "Facturée" %} {% endif %} | {{ proforma.vendeur.username }} | {% if proforma_ui_permissions.show_print_button %} {% endif %} {% if proforma.facture_id %} {% else %} {% if proforma_ui_permissions.show_invoice_button %} {% trans "Facturer" %} {% endif %} {# Modifier / supprimer : seulement tant qu'aucune facture n'est rattachee. #} {% if proforma_ui_permissions.show_edit_button %} {% endif %} {% if proforma_ui_permissions.show_delete_button %} {% endif %} {% endif %} |
| {% trans "Aucune Pro-Forma ne correspond aux filtres appliqués." %} | ||||||||