82 lines
3.5 KiB
HTML
82 lines
3.5 KiB
HTML
{% load eo_facture %}
|
|
<html>
|
|
<head>
|
|
{% if base_uri %}<base href="{{base_uri}}">{% endif %}
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Facture {{facture.code}} - {{facture.intitule}}</title>
|
|
<meta name="author" content="Entr'ouvert">
|
|
<link href="/static/css/facture.css" media="print" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div id="date"><table><tr id="code"><td class="col1">Facture</td>{% if facture.proforma %}<td class="col2">proforma</td>{% else %}
|
|
<td class="col2">{{facture.code}}</td>{% endif %}</tr>
|
|
{% if facture.annulation %}
|
|
<tr id="code">
|
|
<td class="col1">Annule</td>
|
|
<td class="col2">{% if facture.annulation.proforma %}proforma{% else %}{{ facture.annulation.code }}{% endif %}</td>
|
|
</tr>
|
|
{% endif %}
|
|
<tr><td class="col1">Date</td><td class="col2">{{ facture.emission|date:'d/m/Y' }}</td></tr>
|
|
<tr><td class="col1">Échéance</td><td class="col2">{{ facture.echeance|date:'d/m/Y' }}</td></tr></table></div>
|
|
|
|
<div id="from"><img id="logo-eo" src="/static/img/logo.png" width="160"/><div id="info">
|
|
Société Coopérative et Participative
|
|
SARL au capital variable de 15200 €
|
|
169 rue du château
|
|
75014 PARIS
|
|
FRANCE
|
|
|
|
Tél : 01 43 35 01 35
|
|
Email : gerant@entrouvert.com
|
|
Web : https://www.entrouvert.com
|
|
RCS : Paris
|
|
NAF/APE : 6201Z
|
|
SIRET : 443 170 139 00036
|
|
Numéro TVA : FR 08443170139</div></div>
|
|
<div id="to"><strong>{{ facture.client.nom }}</strong></br>
|
|
{{ facture.client.adresse|linebreaksbr }}
|
|
</div>
|
|
|
|
<div id="main">
|
|
<div id="intitule"><h1>{{ facture.intitule }}</h1></div>
|
|
<div id="notes"><p style="white-space: pre-line">{{ facture.notes }}</p></div>
|
|
<table id="lignes">
|
|
<thead><tr><td class="description">Description</td><td class="number">Quantité</td><td class="number" id="unitaire">Prix unitaire</td><td class="number">Prix HT</td></tr></thead>
|
|
<tbody>
|
|
{% for ligne in facture.lignes.all %}
|
|
<tr>
|
|
<td class="description">{{ ligne.intitule }}</td>
|
|
<td class="number">{{ ligne.quantite|floatformat:2 }}</td>
|
|
<td class="number">{{ ligne.prix_unitaire_ht|amountformat }}</td>
|
|
<td class="number">{{ ligne.montant|amountformat }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<tr><td colspan="3" class="total">Sous-total :</td><td class="number">{{ facture.montant|amountformat }}</td></tr>
|
|
<tr><td colspan="3" class="total">Total TVA (à {{facture.taux_tva|floatformat:2 }} %) :</td><td class="number">{{ facture.tva|amountformat }}</td></tr>
|
|
<tr><td colspan="3" class="total">Total TTC :</td><td class="number">{{ facture.montant_ttc|amountformat }}</td></tr>
|
|
</tfoot>
|
|
</table>
|
|
<p>Paiement total de {{ facture.montant_ttc|amountformat }} {{ facture.contrat.client.monnaie }} à verser au nom d'Entr'ouvert.</p>
|
|
<p>Mode de paiement : virement</p>
|
|
</div>
|
|
<div id="footer">
|
|
<div id="rib">Domiciliation bancaire : BP RIVES MAINE
|
|
BIC : CCBPFRPPMTG
|
|
IBAN : FR76 1020 7000 9104 0910 0252 059
|
|
Code étab. : 10207 Code guichet : 00091 Numéro de compte : 04091002520 Clé RIB : 59</div>
|
|
<div id="le">Entr'ouvert est membre du
|
|
<img src="/static/img/logo-le-black.png" width="70"/>
|
|
</div>
|
|
<div id="echeance">Passée la date d'échéance ci-dessus, une pénalité de retard
|
|
sera calculée au taux de 1,5 % par mois conformément à nos conditions
|
|
générales de vente, voir
|
|
<a href="https://www.entrouvert.com/fr/conditions-generales-de-vente/">https://www.entrouvert.com/fr/conditions-generales-de-vente/</a></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|