Ajout de factures
This commit is contained in:
parent
e20faaf870
commit
21d55d72c7
|
@ -0,0 +1,88 @@
|
|||
{% set lines = [
|
||||
['Subvention pour PyConFr 2019 à Bordeaux, France', 5648, 1],
|
||||
] %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
{% if number == 'lettre' %}
|
||||
<title>AFPY - Lettre</title>
|
||||
{% else %}
|
||||
<title>AFPy − {{ 'Devis' if quotation else 'Facture' }} n°{{ number }}</title>
|
||||
{% endif %}
|
||||
<link type="text/css" rel="stylesheet" href="../commun/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<address id="from">
|
||||
{%- block address_from -%}
|
||||
Association Francophone Python
|
||||
2, rue Professeur Zimmermann
|
||||
69007 LYON
|
||||
FRANCE
|
||||
504 398 355 00017
|
||||
{%- endblock address_from -%}
|
||||
</address>
|
||||
<address id="to">
|
||||
{%- block address_to -%}
|
||||
Python Software Foundation
|
||||
9450 SW Gemini Dr.
|
||||
ECM# 90772
|
||||
Beaverton, OR 97008
|
||||
USA
|
||||
{%- endblock address_to -%}
|
||||
</address>
|
||||
</header>
|
||||
|
||||
{% block content %}
|
||||
<dl>
|
||||
<dt>Date</dt>
|
||||
<dd>{{ date }}</dd>
|
||||
<dt>N° de {{ 'devis' if quotation else 'facture' }}</dt>
|
||||
<dd>{{ number }}</dd>
|
||||
</dl>
|
||||
|
||||
<table>
|
||||
{% set total = [0] %}
|
||||
{% for designation, price, quantity in lines %}
|
||||
{% if loop.first %}
|
||||
<thead>
|
||||
<th>Désignation</th>
|
||||
<th>Prix unitaire</th>
|
||||
<th>Quantité</th>
|
||||
<th>Total</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% endif %}
|
||||
|
||||
<tr>
|
||||
<td>{{ designation }}</td>
|
||||
<td>${{ price }} USD</td>
|
||||
<td>{{ quantity }}</td>
|
||||
<td>${{ quantity * price }} USD</td>
|
||||
</tr>
|
||||
{{ total.append(quantity * price) or '' }}
|
||||
|
||||
{% if loop.last %}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<th colspan="3">Total T.T.C. à payer</th>
|
||||
<td>${{ total | sum }} USD</td>
|
||||
</tfoot>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
Taxe sur la valeur ajoutée non applicable, article 293 B du CGI.
|
||||
</p>
|
||||
<p>
|
||||
En votre aimable règlement, au comptant via PayPal. Compte PayPal : tresorier@afpy.org.
|
||||
</p>
|
||||
</footer>
|
||||
{% endblock content %}
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
{% extends '_layout.jinja2' %}
|
||||
|
||||
{% set lines = [
|
||||
['Soutien financier « Or » à PyConFr 2019', 2000, 1],
|
||||
] %}
|
||||
|
||||
{% block address_to %}
|
||||
Clever Cloud SAS
|
||||
3 rue de l’Allier
|
||||
44000 Nantes
|
||||
{% endblock address_to %}
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
{% extends '_layout.jinja2' %}
|
||||
|
||||
{% set lines = [
|
||||
['Soutien financier « Cœur » à PyConFr 2019', 50, 1],
|
||||
] %}
|
||||
|
||||
{% block address_to %}
|
||||
Mergify SAS
|
||||
15 rue Pierre Lauzeral
|
||||
31400 Toulouse
|
||||
{% endblock address_to %}
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
../commun/Makefile
|
|
@ -0,0 +1 @@
|
|||
../commun/_layout.jinja2
|
|
@ -6,11 +6,17 @@ Suivi de la facturation des sponsors PyCon 2019
|
|||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Sponsor potentiel | Statut | Niveau | Numéro de facture | Montant |
|
||||
+====================================+=============================+=====================+=====================+=====================+
|
||||
| Algoo | En attente de contact | | | Contact via Twitter |
|
||||
| Python Software Foundation | En attente de réglement | Cœur | 1195 | ≈ 4700 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Clever Cloud | En attente de réglement | Or | 1196 | 2000 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Mergify.io | En attente de réglement | Cœur | 1197 | 50 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Algoo | En attente de contact | | | |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Deezer | En attente de réponse | | | |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Google | En attente de réponse | | | |
|
||||
| Google | En attente de réponse | Platine (transc.) | | 4000 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Inivoo | En attente d'informations | Or | | 2000 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
|
@ -18,9 +24,5 @@ Suivi de la facturation des sponsors PyCon 2019
|
|||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Wifirst | En attente de réponse | | | |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Mergify.io | En attente d'informations | Cœur | | 50 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Alves Info | En attente de réponse | Cœur | | 100 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
| Clever Cloud | En attente d'informations | Or | | 2000 |
|
||||
+------------------------------------+-----------------------------+---------------------+---------------------+---------------------+
|
||||
|
|
Loading…
Reference in New Issue