This commit was generated by cvs2svn to compensate for changes in r2523,
[freeside.git] / sql-ledger / templates / French-invoice.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage[frenchb]{babel}
4 \usepackage[latin1]{inputenc}
5 \usepackage{tabularx}
6 \setlength{\voffset}{0.5cm}
7 \setlength{\hoffset}{-2.0cm}
8 \setlength{\topmargin}{0cm}
9 \setlength{\headheight}{0.5cm}
10 \setlength{\headsep}{1cm}
11 \setlength{\topskip}{0pt}
12 \setlength{\oddsidemargin}{1.0cm}
13 \setlength{\evensidemargin}{1.0cm}
14 \setlength{\textwidth}{19.2cm}
15 \setlength{\textheight}{24.5cm}
16 \setlength{\footskip}{1cm}
17 \setlength{\parindent}{0pt}
18 \renewcommand{\baselinestretch}{1}
19 \begin{document}
20
21 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
22
23 \newsavebox{\hdr}
24 \sbox{\hdr}{
25   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
26
27   \parbox{\textwidth}{
28     \parbox[b]{12cm}{
29       <%company%>
30       
31       <%address%>}\hfill
32     \begin{tabular}[b]{rr@{}}
33     Téléphone & <%tel%>\\
34     Télécopieur & <%fax%>
35     \end{tabular}
36
37     \rule[1.5ex]{\textwidth}{0.5pt}
38   }
39 }
40     
41 \fontfamily{cmss}\fontshape{n}\selectfont
42
43 \markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
44
45 \pagestyle{myheadings}
46 %\thispagestyle{empty}     use this with letterhead paper
47
48 <%pagebreak 90 27 48%>
49 \end{tabular*}
50
51   \rule{\textwidth}{2pt}
52   
53   \hfill
54   \begin{tabularx}{7cm}{Xr@{}}
55   \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
56   \end{tabularx}
57
58 \newpage
59
60 \markright{<%company%>\hfill <%invnumber%>}
61
62 \vspace*{-12pt}
63
64 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
65   \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
66     \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
67   & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\
68 <%end pagebreak%>
69
70
71 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
72
73 \vspace*{2cm}
74
75 <%name%>
76
77 <%addr1%>
78
79 <%addr2%>
80
81 <%addr3%>
82
83 <%addr4%>
84
85 \vspace{3.5cm}
86
87 \textbf{F A C T U R E}
88 \hfill
89 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
90   \textbf{Date de facturation} & <%invdate%> \\
91   \textbf{Numéro de facture} & <%invnumber%> \\
92   \textbf{Numéro de client} & <%customer_id%>
93 \end{tabular}
94
95 \vspace{1cm}
96
97 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
98   \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
99     \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
100 <%foreach number%>
101   <%number%> & <%description%> & <%qty%> &
102     <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
103 <%end number%>
104 \end{tabular*}
105
106
107 \parbox{\textwidth}{
108 \rule{\textwidth}{2pt}
109
110 \vspace{0.2cm}
111
112 \hfill
113 \begin{tabularx}{7cm}{Xr@{}}
114   \textbf{Sous-total} & \textbf{<%subtotal%>} \\
115 <%foreach tax%>
116   <%taxdescription%> de <%taxbase%> & <%tax%>\\
117 <%end tax%>
118   \hline
119   \textbf{Total} & \textbf{<%total%>}\\
120 \end{tabularx}
121
122 \vspace{0.3cm}
123
124 \hfill
125   Tous les prix indiqués sont en \textbf{<%currency%>}.
126
127 \vspace{12pt}
128
129 <%if notes%>
130   <%notes%>
131 <%end if%>
132
133 }
134
135 \vfill
136 \centerline{\textbf{Merci de faire affaire avec nous!}}
137
138 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
139
140 \footnotetext[1]{\tiny
141 Le paiement doit être acquitté au plus tard <%terms%> jours à partir de
142 la date de facturation. Des intérêts seront perçus à raison de 1.5\% par
143 mois après <%duedate%> jusqu'à ce que le paiement soit complet. Les
144 éléments retournés seront sujets à un supplément de remmagasinnage de
145 10\%. Une autorisation de renvoi doit être obtenue au préalable auprès de
146 <%company%>. Les frais de transports et d'assurance sur les éléments
147 retournés devront être couvert par le client de façon appropriée.
148 <%company%> ne peut être tenue responsable des dommages survenus pendant
149 le transit.}
150
151 \end{document}