24a779c9d573e1288c8de8e433230715e7c806a3
[kivitendo-erp.git] / templates / print / French / sales_order.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage[frenchb]{babel}
4 \usepackage[utf8]{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 <%ordnumber%>}{\usebox{\hdr}}
44
45 \pagestyle{myheadings}
46 %\thispagestyle{empty}     use this with letterhead paper
47
48 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
49
50 \vspace*{2cm}
51
52 <%name%>
53
54 <%street%>
55
56 <%zipcode%>
57
58 <%city%>
59
60 <%country%>
61
62 \vspace{3.5cm}
63
64 \textbf{C O M M A N D E} \parbox{0.3cm}{\hfill} \textbf{C L I E N T}
65 \hfill
66 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
67   \textbf{Date de la commande} & <%orddate%> \\
68 <%if reqdate%>
69   \textbf{Livrable le} & <%reqdate%> \\
70 <%end reqdate%>
71   \textbf{Numéro de commande} & <%ordnumber%>
72 \end{tabular}
73
74 \vspace{1cm}
75
76 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
77   \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
78     \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
79 <%foreach number%>
80   <%number%> & <%description%> & <%qty%> &
81     <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
82 <%end number%>
83 \end{tabular*}
84
85
86 \parbox{\textwidth}{
87 \rule{\textwidth}{2pt}
88
89 \vspace{0.2cm}
90
91 \hfill
92 \begin{tabularx}{7cm}{Xr@{}}
93   \textbf{Sous-total} & \textbf{<%subtotal%>} \\
94 <%foreach tax%>
95   <%taxdescription%> de <%taxbase%> & <%tax%>\\
96 <%end tax%>
97   \hline
98   \textbf{Total} & \textbf{<%ordtotal%>}\\
99 \end{tabularx}
100
101 \vspace{0.3cm}
102
103 \hfill
104   Tous les prix indiqués sont en \textbf{<%currency%>}.
105
106 \vspace{12pt}
107
108 <%if notes%>
109   <%notes%>
110 <%end if%>
111
112 }
113
114
115 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
116
117 \footnotetext[1]{\tiny
118 Un supplément de 10% sera appliqué à toute commande spécifique et à tout
119 produit adapté, amélioré ou mis-à-jour à la demande du client. Les
120 éléments non-retournables sont indiqués ci-dessus.
121 }
122
123 \end{document}
124