{% extends 'base.html' %} {% load humanize i18n %} {% load custom_filters %} {# Ancien template de detail de facture conserve pour compatibilite de rendu. #} {% block page_title %}
| # | Désignation | Prix unitaire ({% if config.mode_dgi == 'ttc' %}TTC{% else %}HT{% endif %}) | Quantité | Montant ({% if config.mode_dgi == 'ttc' %}TTC{% else %}HT{% endif %}) | |||
|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ ligne.produit.nom|upper }} [{{ ligne.produit.taxgroup.code|default:"A" }}] [{{ ligne.produit.typeart.code|default:"BIE" }}] | {% with tax_rate=ligne.produit.taxgroup.tax|default:0 %} {% if config.mode_dgi == 'TTC' %}{# Prix et Sous-total sont maintenant considérés comme contenant déjà la taxe #} {{ ligne.prix_unitaire|money:"FC" }} | {{ ligne.quantite }} | {{ ligne.sous_total|money:"FC" }} | {% else %}{{ ligne.prix_unitaire|money:"FC" }} | {{ ligne.quantite }} | {{ ligne.sous_total|money:"FC" }} | {% endif %} {% endwith %}
| Nombre d'articles : {{ commande.lignes.count }} | |||||||
| H.T. [{{ tax.code }}] {% if tax.group_display_label %}{{ tax.group_display_label }}{% else %}Taxable {{ tax.rate|floatformat:2 }}%{% endif %} | {{ tax.ht|money:"FC" }} | ||||||
| TVA [{{ tax.code }}] {% if tax.group_display_label %}{{ tax.group_display_label }}{% else %}Taxable {{ tax.rate|floatformat:2 }}%{% endif %} | {{ tax.tva|money:"FC" }} | ||||||
| TOTAL TVA | {{ commande.tva_montant|money:"FC" }} | ||||||
| NET A PAYER (TTC) | {{ commande.montant_total|money:"FC" }} | ||||||
|
Arrêtée la présente facture à la somme de : {{ commande.montant_total|as_words|upper }} FRANCS CONGOLAIS |
|||||||
|
Modes de paiement :
{% for p in commande.paiements.all %}
{{ p.mode_paiement }} : {{ p.montant_verse|money:p.devise }}
{% empty %}
Non spécifié
{% endfor %}
Soit {{ commande.montant_total_usd|money:"USD" }} (Taux: {{ commande.taux_change_applique|money:"FC" }}/USD)
|
|||||||
Les marchandises vendues ne sont ni reprises ni échangées.