{% extends "base.html" %} {% block contenu %} {% set onglet = genre %} {% set modifiable = v.statut == 'brouillon' %} {% set st = s.statut if s else v.statut %}
{% if client_actuel %}{{ client_actuel.nom }} · {% endif %}{{ v.date|date_ch }}{% if v.echeance and genre == 'facture' %} · {{ _("échéance {0}", (v.echeance|date_ch)) }}{% endif %} {% if origine %} · {{ _("depuis") }} {{ _(genres[origine.genre]) }} {{ origine.numero or '' }}{% endif %}
{% include "_ventes_onglets.html" %} {% if v.id %}{{ v.titre }}
{% endif %} {% if v.intro %}{{ v.intro }}
{% endif %}| {{ _("Description") }} | {{ _("Quantité") }} | {{ _("Prix") }} | {{ _("Rabais %") }} | {{ _("TVA %") }} | {{ _("Compte") }} | {{ _("Total") }} |
|---|---|---|---|---|---|---|
| {{ l.libelle }} | {{ '%g'|format(l.quantite) }} {{ l.unite or '' }} | {{ l.prix|chf }} | {{ '%g'|format(l.rabais) if l.rabais else '' }} | {{ '%g'|format(l.taux) }} | {{ l.compte }} | {{ l.total|chf }} |
| {{ _("Total hors TVA") }} | {{ ht|chf }} | |||||
| {{ _("TVA") }} | {{ tva|chf }} | |||||
| {{ _("Total") }} CHF | {{ total|chf }} | |||||
{{ v.conclusion }}
{% endif %}| {{ _("Montant de la facture") }} | {{ v.total|chf }} |
| {{ _("Notes de crédit") }} | −{{ s.avoirs|chf }} |
| {{ _("Déjà payé") }} | {{ s.paye|chf }} |
| {{ _("Frais de rappel") }} | {{ s.frais|chf }} |
| {{ _("Reste à payer") }} | {{ s.a_payer|chf }} |
{{ _("Référence de paiement") }} : {{ reference_aff }}
{{ _("Le paiement est reconnu tout seul quand vous importez le relevé bancaire (camt.053).") }}
| {{ p.date|date_ch }} | {{ _("relevé bancaire") if p.source == 'releve bancaire' else _("saisi à la main") }} | {{ p.montant|chf }} |
{{ _("Aucun paiement pour l'instant.") }}
{% endif %} {% if v.statut == 'validee' %}{{ _("Montant négatif = remboursement au client.") }}
{% endif %}| {{ _(niveaux[r.niveau]) }} | {{ r.date|date_ch }} | {{ r.frais|chf }} |