mirror of https://gitlab.federez.net/re2o/re2o
21 changed files with 895 additions and 302 deletions
@ -1,150 +0,0 @@ |
|||
{% load i18n %} |
|||
{% language 'fr' %} |
|||
|
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% Invoice Template |
|||
% LaTeX Template |
|||
% Version 1.0 (3/11/12) |
|||
%% This template has been downloaded from: |
|||
% http://www.LaTeXTemplates.com |
|||
% |
|||
% Original author: |
|||
% Trey Hunner (http://www.treyhunner.com/) |
|||
% |
|||
% License: |
|||
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) |
|||
% |
|||
% Important note: |
|||
% This template requires the invoice.cls file to be in the same directory as |
|||
% the .tex file. The invoice.cls file provides the style used for structuring the |
|||
% document. |
|||
% |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% DOCUMENT CONFIGURATION |
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\documentclass[12pt]{article} % Use the custom invoice class (invoice.cls) |
|||
\usepackage[utf8]{inputenc} |
|||
\usepackage[letterpaper,hmargin=0.79in,vmargin=0.79in]{geometry} |
|||
\usepackage{longtable} |
|||
\usepackage{graphicx} |
|||
\usepackage{tabularx} |
|||
\usepackage{eurosym} |
|||
\usepackage{multicol} |
|||
|
|||
\pagestyle{empty} % No page numbers |
|||
\linespread{1.5} % Line spacing |
|||
|
|||
\newcommand{\doublehline}{\noalign{\hrule height 1pt}} |
|||
\setlength{\parindent}{0cm} |
|||
|
|||
|
|||
|
|||
\begin{document} |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% HEADING SECTION |
|||
%---------------------------------------------------------------------------------------- |
|||
\begin{center} |
|||
{\Huge\bf {{asso_name|safe}} } % Company providing the invoice |
|||
\end{center} |
|||
|
|||
\bigskip |
|||
\hrule |
|||
\smallskip |
|||
|
|||
{\setlength{\tabcolsep}{0pt} % Make table columns tighter, usefull for postionning |
|||
\begin{tabular}{l l} |
|||
{\bf Adresse :}~ & {{line1|safe}} \\ |
|||
& {{line2|safe}} \\ |
|||
\end{tabular} |
|||
\hfill |
|||
\begin{tabular}{r} |
|||
{\bf Téléphone :} {{phone}} \\ |
|||
{\bf Mail :} {{email|safe}} \\ |
|||
\end{tabular} |
|||
} |
|||
\\ |
|||
{\bf Siret :} {{siret|safe}} |
|||
|
|||
\vspace{2cm} |
|||
|
|||
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} l r} |
|||
{\bf Pour :} {{recipient_name|safe}} & {\bf Date :} {{DATE}} \\ |
|||
{\bf Adresse :} {% if address is None %}Aucune adresse renseignée{% else %}{{address}}{% endif %} & \\ |
|||
{% if fid is not None %} |
|||
{% if is_estimate %} |
|||
{\bf Devis n\textsuperscript{o} :} {{ fid }} & \\ |
|||
{% else %} |
|||
{\bf Facture n\textsuperscript{o} :} {{ fid }} & \\ |
|||
{% endif %} |
|||
{% endif %} |
|||
\end{tabular*} |
|||
\\ |
|||
|
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% TABLE OF EXPENSES |
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\begin{tabularx}{\textwidth}{|X|r|r|r|} |
|||
|
|||
\hline |
|||
\textbf{Désignation} & \textbf{Prix Unit.} \euro & \textbf{Quantité} & \textbf{Prix total} \euro\\ |
|||
\doublehline |
|||
|
|||
{% for a in article %} |
|||
{{a.name}} & {{a.price}} \euro & {{a.quantity}} & {{a.total_price}} \euro\\ |
|||
\hline |
|||
{% endfor %} |
|||
|
|||
\end{tabularx} |
|||
|
|||
\vspace{1cm} |
|||
|
|||
\hfill |
|||
\begin{tabular}{|l|r|} |
|||
\hline |
|||
\textbf{Total} & {{total|floatformat:2}} \euro \\ |
|||
{% if not is_estimate %} |
|||
\textbf{Votre règlement} & {% if paid %}{{total|floatformat:2}}{% else %} 00,00 {% endif %} \euro \\ |
|||
\doublehline |
|||
\textbf{À PAYER} & {% if not paid %}{{total|floatformat:2}}{% else %} 00,00 {% endif %} \euro\\ |
|||
{% endif %} |
|||
\hline |
|||
\end{tabular} |
|||
|
|||
\vspace{1cm} |
|||
\begin{tabularx}{\textwidth}{r X} |
|||
\hline |
|||
\textbf{Moyen de paiement} & {{payment_method|default:"Non spécifié"}} \\ |
|||
\hline |
|||
{% if remark %} |
|||
\textbf{Remarque} & {{remark|safe}} \\ |
|||
\hline |
|||
{% endif %} |
|||
{% if end_validity %} |
|||
\textbf{Validité} & Jusqu'au {{end_validity}} \\ |
|||
\hline |
|||
{% endif %} |
|||
\end{tabularx} |
|||
|
|||
|
|||
\vfill |
|||
|
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% FOOTNOTE |
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\hrule |
|||
\smallskip |
|||
\footnotesize{TVA non applicable, art. 293 B du CGI} |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\end{document} |
|||
|
|||
{% endlanguage %} |
|||
@ -0,0 +1,249 @@ |
|||
<!DOCTYPE html> |
|||
<!-- |
|||
Modified from the Simple HTML Invoice Template |
|||
at https://github.com/sparksuite/simple-html-invoice-template |
|||
|
|||
Original license: |
|||
|
|||
Copyright (c) 2021 Sparksuite |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
|||
in the Software without restriction, including without limitation the rights |
|||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|||
copies of the Software, and to permit persons to whom the Software is |
|||
furnished to do so, subject to the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included in all |
|||
copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|||
SOFTWARE. |
|||
--> |
|||
|
|||
<html> |
|||
|
|||
<head> |
|||
<meta charset="utf-8" /> |
|||
<title>Facture {{asso_name|safe}}</title> |
|||
|
|||
<style> |
|||
.invoice-box { |
|||
padding: 30px; |
|||
font-size: 16px; |
|||
line-height: 24px; |
|||
font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; |
|||
color: #333; |
|||
} |
|||
|
|||
hr { |
|||
border: 1px solid #eee; |
|||
} |
|||
|
|||
table { |
|||
display: table; |
|||
padding: 0; |
|||
width: 100%; |
|||
line-height: inherit; |
|||
text-align: left; |
|||
} |
|||
|
|||
table tr { |
|||
padding: 0; |
|||
} |
|||
|
|||
table td { |
|||
width: auto; |
|||
padding: 5px; |
|||
vertical-align: top; |
|||
text-align: left; |
|||
} |
|||
|
|||
.title { |
|||
padding: 0; |
|||
text-align: left; |
|||
font-size: 32px; |
|||
} |
|||
|
|||
table .heading td { |
|||
line-height: 12px; |
|||
background-color: #eee; |
|||
border-bottom: 1px solid #ddd; |
|||
font-weight: bold; |
|||
} |
|||
|
|||
table .details td { |
|||
padding-bottom: 20px; |
|||
} |
|||
|
|||
table .fullwidth td { |
|||
text-align: left; |
|||
} |
|||
|
|||
table .item td { |
|||
border-bottom: 1px solid #eee; |
|||
} |
|||
|
|||
table .total td { |
|||
border-top: 2px solid #eee; |
|||
font-weight: bold; |
|||
padding: 5px 0 0 0; |
|||
} |
|||
|
|||
table .total .last { |
|||
border-top: 5px solid #eee; |
|||
} |
|||
|
|||
table .detail td { |
|||
border: none; |
|||
padding: 0; |
|||
} |
|||
|
|||
table .vat td { |
|||
border: none; |
|||
font-weight: initial; |
|||
font-style: italic; |
|||
text-align: right |
|||
} |
|||
</style> |
|||
</head> |
|||
|
|||
<body> |
|||
<div class="invoice-box"> |
|||
<table cellpadding="0" cellspacing="0"> |
|||
<tr class="top"> |
|||
<h1 class="title">Facture {{asso_name|safe}}</h1> |
|||
<hr /> |
|||
</tr> |
|||
|
|||
<tr class="information"> |
|||
<td colspan="2"> |
|||
{% if phone != "0000000000" %}<b>Téléphone :</b> {{phone|safe}}<br />{% endif %} |
|||
<b>Mail :</b> {{email|safe}}<br /> |
|||
{% if siret != "00000000000000" %}<b>Siret :</b> {{siret|safe}}{% endif %} |
|||
</td> |
|||
<td colspan="2"> |
|||
<b>Adresse :</b><br /> |
|||
{{line1|safe}}<br /> |
|||
{{line2|safe}}<br /> |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="information"> |
|||
<td colspan="4"> |
|||
{% if fid is not None %} |
|||
{% if is_estimate %} |
|||
<b>Devis n° :</b> {{fid}}<br /> |
|||
{% else %} |
|||
<b>Facture n° :</b> {{fid}}<br /> |
|||
{% endif %} |
|||
{% endif %} |
|||
<b>Date :</b> {{DATE}}<br /> |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="information"> |
|||
<td colspan="4"> |
|||
<b>Pour :</b> {{recipient_name|safe}}<br /> |
|||
<b>Adresse :</b> {% if address is None %}Aucune adresse renseignée{% else %}{{address}}{% endif %} |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="heading fullwidth"> |
|||
<td colspan="4"> |
|||
Moyen de paiement |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="details fullwidth"> |
|||
<td colspan="4"> |
|||
{{payment_method|default:"Non spécifié"}} |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="heading"> |
|||
<td width="35%">Désignation</td> |
|||
<td width="20%">Prix unitaire HT</td> |
|||
<td width="15%">Quantité</td> |
|||
<td width="30%">Prix total HT</td> |
|||
</tr> |
|||
|
|||
{% for a in article %} |
|||
<tr class="item"> |
|||
<td>{{a.name}}</td> |
|||
<td>{{a.price|floatformat:2}} €</td> |
|||
<td>{{a.quantity}}</td> |
|||
<td>{{a.total_price|floatformat:2}} €</td> |
|||
</tr> |
|||
{% endfor %} |
|||
|
|||
<tr class="total"> |
|||
<td colspan="3"></td> |
|||
<td class="last"> |
|||
Total HT : {{total|floatformat:2}} € |
|||
</td> |
|||
</tr> |
|||
|
|||
|
|||
{% if not is_estimate %} |
|||
<tr class="total detail"> |
|||
<td colspan="3"></td> |
|||
<td> |
|||
Votre règlement : {% if paid %}{{total|floatformat:2}}{% else %}00,00{% endif %} € |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="total detail"> |
|||
<td colspan="3"></td> |
|||
<td> |
|||
À payer : {% if not paid %}{{total|floatformat:2}}{% else %}00,00{% endif %} € |
|||
</td> |
|||
</tr> |
|||
{% endif %} |
|||
|
|||
|
|||
<tr class="total vat"> |
|||
<td colspan="4"> |
|||
TVA non applicable, art. 261 7.1°a du CGI |
|||
</td> |
|||
</tr> |
|||
|
|||
|
|||
{% if remark %} |
|||
<tr class="heading fullwidth"> |
|||
<td colspan="4"> |
|||
Remarque |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="details fullwidth"> |
|||
<td colspan="4"> |
|||
{{remark|safe}} |
|||
</td> |
|||
</tr> |
|||
{% endif %} |
|||
|
|||
{% if end_validity %} |
|||
<tr class="heading fullwidth"> |
|||
<td colspan="4"> |
|||
Validité |
|||
</td> |
|||
</tr> |
|||
|
|||
<tr class="details fullwidth"> |
|||
<td colspan="4"> |
|||
Jusqu'au {{end_validity}} |
|||
</td> |
|||
</tr> |
|||
{% endif %} |
|||
|
|||
</table> |
|||
</div> |
|||
</body> |
|||
|
|||
</html> |
|||
@ -0,0 +1,130 @@ |
|||
<!DOCTYPE html> |
|||
<!-- |
|||
Modified from the Simple HTML Invoice Template |
|||
at https://github.com/sparksuite/simple-html-invoice-template |
|||
|
|||
Original license: |
|||
|
|||
Copyright (c) 2021 Sparksuite |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
|||
in the Software without restriction, including without limitation the rights |
|||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|||
copies of the Software, and to permit persons to whom the Software is |
|||
furnished to do so, subject to the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included in all |
|||
copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|||
SOFTWARE. |
|||
--> |
|||
|
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8" /> |
|||
<title>Reçu d'adhésion {{asso_name|safe}}</title> |
|||
|
|||
<style> |
|||
.invoice-box { |
|||
padding: 30px; |
|||
font-size: 16px; |
|||
line-height: 24px; |
|||
font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; |
|||
color: #333; |
|||
} |
|||
|
|||
hr { |
|||
border: 1px solid #eee; |
|||
} |
|||
|
|||
p { |
|||
padding: 0; |
|||
text-align: justify; |
|||
} |
|||
|
|||
.intro { |
|||
padding-top: 20px; |
|||
} |
|||
|
|||
table { |
|||
padding: 0; |
|||
width: 100%; |
|||
line-height: inherit; |
|||
text-align: left; |
|||
} |
|||
|
|||
table td { |
|||
width: auto; |
|||
padding: 0; |
|||
vertical-align: top; |
|||
text-align: left; |
|||
} |
|||
|
|||
.title { |
|||
padding: 0; |
|||
text-align: left; |
|||
font-size: 32px; |
|||
} |
|||
|
|||
table tr .heading { |
|||
padding-right: 5px; |
|||
font-weight: bold; |
|||
} |
|||
</style> |
|||
</head> |
|||
|
|||
<body> |
|||
<div class="invoice-box"> |
|||
<h1 class="title">Reçu d'adhésion {{asso_name|safe}}</h1> |
|||
<hr/> |
|||
|
|||
<p class="intro"> |
|||
Je sousigné {{pres_name|safe}} déclare par la présente avoir reçu le bulletin d'adhésion de : |
|||
</p> |
|||
|
|||
<table> |
|||
<tr> |
|||
<td class="heading" width="100px">Prénom :</td> |
|||
<td>{{firstname|safe}}</td> |
|||
</tr> |
|||
|
|||
<tr> |
|||
<td class="heading">Nom :</td> |
|||
<td>{{lastname|safe}}</td> |
|||
</tr> |
|||
|
|||
<tr> |
|||
<td class="heading">Mail :</td> |
|||
<td>{{email|safe}}</td> |
|||
</tr> |
|||
</table> |
|||
|
|||
<p> |
|||
ainsi que sa cotisation.<br/> |
|||
|
|||
<br/> |
|||
|
|||
Le postulant déclare reconnaître l'objet de l'association et en a accepté les statuts ainsi que le règlement intérieur qui sont mis à sa disposition dans les locaux de l'association. L'adhésion du membre sus-nommé est ainsi validée. Ce reçu confirme la qualité de membre du postulant, et ouvre droit à la participation à l'assemblée générale de l'association jusqu'au {{date_end|date:"d F Y"}}.<br/> |
|||
|
|||
<br/> |
|||
|
|||
Validé électroniquement par {{pres_name|safe}} le {{date_begin|date:"d/m/Y"}}.<br/> |
|||
</p> |
|||
|
|||
<br/> |
|||
<hr/> |
|||
|
|||
<p> |
|||
Les informations recueillies sont nécessaires pour votre adhésion. Conformément à la loi "Informatique et Libertés" du 6 janvier 1978, vous disposez d'un droit d'accès et de rectification aux données personnelles vous concernant. Pour l'exercer, adressez-vous au secrétariat de l'association. |
|||
</p> |
|||
|
|||
</div> |
|||
</body> |
|||
</html> |
|||
@ -1,87 +0,0 @@ |
|||
{% load i18n %} |
|||
{% language 'fr' %} |
|||
|
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% Invoice Template |
|||
% LaTeX Template |
|||
% Version 1.0 (3/11/12) |
|||
%% This template has been downloaded from: |
|||
% http://www.LaTeXTemplates.com |
|||
% |
|||
% Original author: |
|||
% Trey Hunner (http://www.treyhunner.com/) |
|||
% |
|||
% License: |
|||
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) |
|||
% |
|||
% Important note: |
|||
% This template requires the invoice.cls file to be in the same directory as |
|||
% the .tex file. The invoice.cls file provides the style used for structuring the |
|||
% document. |
|||
% |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% DOCUMENT CONFIGURATION |
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\documentclass[12pt]{article} % Use the custom invoice class (invoice.cls) |
|||
\usepackage[utf8]{inputenc} |
|||
\usepackage[letterpaper,hmargin=0.79in,vmargin=0.79in]{geometry} |
|||
\usepackage{longtable} |
|||
\usepackage{graphicx} |
|||
\usepackage{tabularx} |
|||
\usepackage{eurosym} |
|||
\usepackage{multicol} |
|||
|
|||
\pagestyle{empty} % No page numbers |
|||
|
|||
\linespread{1.5} |
|||
|
|||
\newcommand{\doublehline}{\noalign{\hrule height 1pt}} |
|||
\setlength{\parindent}{0cm} |
|||
|
|||
|
|||
\begin{document} |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% HEADING SECTION |
|||
%---------------------------------------------------------------------------------------- |
|||
\begin{center} |
|||
{\Huge\bf Reçu d'adhésion \\ {{asso_name|safe}} } % Company providing the invoice |
|||
\end{center} |
|||
|
|||
\bigskip |
|||
\hrule |
|||
\bigskip |
|||
|
|||
\vfill |
|||
|
|||
Je sousigné, {{pres_name|safe}}, déclare par la présente avoir reçu le bulletin d'adhésion de: |
|||
|
|||
\begin{center} |
|||
\setlength{\tabcolsep}{10pt} % Make table columns tighter, usefull for postionning |
|||
\begin{tabular}{r l r l} |
|||
{\bf Prénom :}~ & {{firstname|safe}} & {% if phone %}{\bf Téléphone :}~ & {{phone}}{% else %} & {% endif %} \\ |
|||
{\bf Nom :}~ & {{lastname|safe}} & {\bf Mail :}~ & {{email|safe}} \\ |
|||
\end{tabular} |
|||
\end{center} |
|||
\bigskip |
|||
|
|||
ainsi que sa cotisation. |
|||
|
|||
Le postulant, déclare reconnaître l'objet de l'association, et en a accepté les statuts ainsi que le règlement intérieur qui sont mis à sa disposition dans les locaux de l'association. L'adhésion du membre sus-nommé est ainsi validée. Ce reçu confirme la qualité de membre du postulant, et ouvre droit à la participation à l'assemblée générale de l'association jusqu'au {{date_end|date:"d F Y"}}. |
|||
|
|||
\bigskip |
|||
|
|||
Validé électroniquement par {{pres_name|safe}}, le {{date_begin|date:"d/m/Y"}}. |
|||
|
|||
\vfill |
|||
\hrule |
|||
\smallskip |
|||
\footnotesize |
|||
Les informations recueillies sont nécessaires pour votre adhésion. Conformément à la loi "Informatique et Libertés" du 6 janvier 1978, vous disposez d'un droit d'accès et de rectification aux données personnelles vous concernant. Pour l'exercer, adressez-vous au secrétariat de l'association. |
|||
|
|||
|
|||
\end{document} |
|||
{% endlanguage %} |
|||
Loading…
Reference in new issue