so Search.tsf and Search.rdf work
[freeside.git] / sql-ledger / templates / French-invoice.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional">
2
3 <html>
4
5 <head>
6
7 <title>A2A <%invnumber%> <%name%></title>
8 <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
9
10 </head>
11
12 <body bgcolor="ffffff">
13
14 <table width="100%">
15 <tr valign=bottom>
16   <td width=10>&nbsp;</td>
17   <td>
18   
19   <table width="100%">
20   <tr>
21     <td>
22       <h4>
23       <%company%>
24       <br><%address%>
25       </h4>
26     </td>
27
28     <td align=right>
29       <h4>
30       Tél&nbsp;: <%tel%>
31       <br>Fax&nbsp;: <%fax%>
32       </h4>
33     </td>
34   </tr>
35
36   <tr>
37     <th colspan=3>
38       <h4>F A C T U R E</h4>
39     </th>
40   </tr>
41
42   </table>
43
44
45   <table width="100%" cellspacing=0 cellpadding=0>
46     
47   <tr>
48     <td align=right>
49     <table>
50     <tr>
51       <th align=right>Date de facture</th><td width=10>&nbsp;</td><td><%invdate%></td>
52     </tr>
53   
54     <tr>
55       <th align=right>Date d'échéance</th><td width=10>&nbsp;</td><td><%duedate%></td>
56     </tr>
57
58     <tr>
59       <th align=right>N° de facture</th><td>&nbsp;</td><td><%invnumber%></td></tr>
60     </tr>
61   
62 <!--
63     <tr>
64       <th align=right>Correspondant</th><td>&amp;nbsp;</td><td><%employee%></td>
65     </tr>
66 -->
67
68     <tr>
69       <td>&nbsp;</td>
70     </tr>
71     </td>
72     </table>
73   </tr>
74
75   <tr>
76     <td>
77     <table width="100%">
78     <tr bgcolor="000000">
79       <th align=left><font color=ffffff>Adresse de facturation</font></th>
80       <th align=left><font color=ffffff>Adresse d'envoi</font></th>
81     </tr>
82
83 <!--
84      d'autres variables pouvant être utilisées ici :
85      contact, shiptocontact, shiptophone, shiptofax
86 -->
87
88     <tr valign=top>
89       <td><%name%>
90       <br><%address1%>
91       <%if address2%>
92 <br><%address2%>
93 <%end address2%>
94       <br><%city%> <%state%> <%zipcode%>
95       <%if country%>
96 <%country%>
97 <%end country%>
98       </td>
99       
100       <td><%shiptoname%>
101       <br><%shiptoaddress1%>
102       <%if shiptoaddress2%>
103 <br><%shiptoaddress2%>
104 <%end shiptoaddress2%>
105       <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
106       <%if shiptocountry%>
107 <%shiptocountry%>
108 <%end shiptocountry%>
109       </td>
110     </tr>
111     </table>
112     </td>
113   </tr>
114
115   <tr>
116     <td>&nbsp;</td>
117   </tr>
118   
119   <tr>
120     <td>
121     <table width="100%">
122     <tr bgcolor="000000">
123 <!--      <th align=right><font color="ffffff">N°</font></th>  -->
124       <th align=left><font color="ffffff">N°</font></th>
125       <th align=left><font color="ffffff">Description</font></th>
126       <th><font color="ffffff">Qté</font></th>
127       <th>&nbsp;</th>
128       <th><font color="ffffff">Prix</font></th>
129       <th><font color="ffffff">Remise</font></th>
130       <th><font color="ffffff">Montant</font></th>
131     </tr>
132
133 <%foreach number%>
134     <tr valign=top>
135 <!--      <td align=right><%runningnumber%>.</td>
136 veuillez adapter le colspan si vous comptez inclure ce poste.
137 ceci permettra de décaler le poste sous-total vers la gauche.
138 -->
139       <td><%number%></td>
140       <td><%description%></td>
141       <td align=right><%qty%></td>
142       <td><%unit%></td>
143       <td align=right><%sellprice%></td>
144       <td align=right><%discount%></td>
145       <td align=right><%linetotal%></td>
146     </tr>
147 <%end number%>
148
149 <!--
150 vous pouvez également utiliser netprice à la place de sellprice
151 si vous ne voulez pas afficher la remise
152 netprice = sellprice - discount
153 to show the percentage for a discount use <%discountrate%>
154 -->
155
156     <tr>
157       <td colspan=7><hr noshade></td>
158     </tr>
159     
160     <tr>
161 <%if taxincluded%>
162       <th colspan=5 align=right>Total</th>
163       <td colspan=2 align=right><%invtotal%></td>
164 <%end taxincluded%>
165 <%if not taxincluded%>
166       <th colspan=5 align=right>Sous-total</th>
167       <td colspan=2 align=right><%subtotal%></td>
168 <%end taxincluded%>
169     </tr>
170
171 <%foreach tax%>
172     <tr>
173       <th colspan=5 align=right><%taxdescription%></th>
174       <td colspan=2 align=right><%tax%></td>
175     </tr>
176 <%end tax%>
177
178 <%if paid%>
179     <tr>
180       <th colspan=5 align=right>Déjà payé</th>
181       <td colspan=2 align=right>- <%paid%></td>
182     </tr>
183 <%end paid%>
184
185     <tr>
186       <td colspan=3>&nbsp;</td>
187       <td colspan=4><hr noshade></td>
188     </tr>
189
190     <tr>
191       <td colspan=3>À régler dans <b><%terms%></b> jours au plus tard.</td>
192       <th colspan=2 align=right>Solde à régler</th>
193       <th colspan=2 align=right><%total%></th>
194     </tr>
195
196     <tr>
197       <td>&nbsp;</td>
198     </tr>
199
200     </table>
201     </td>
202   </tr>
203
204 <tr>
205   <td>
206   <table width="100%">
207     <tr valign=top>
208 <%if notes%>
209       <td>À noter&nbsp;:</td>
210       <td><%notes%></td>
211 <%end notes%>
212       <td align=right>
213       Tous prix indiqués en <b><%currency%></b>
214       <br><%shippingpoint%>
215       </td>
216     </tr>
217
218   </table>
219   </td>
220 </tr>
221
222 <tr><td>&nbsp;</td></tr>
223
224 <%if paid%>
225 <tr>
226   <td colspan=7>
227     <table width="60%">
228       <tr>
229         <th align=left>Détail règlements</th>
230       </tr>
231       <tr>
232         <td colspan=4>
233           <hr noshade>
234         </td>
235       </tr>
236       <tr>
237         <th align=left>Date</th>
238         <th align=left>Compte</th>
239         <th align=left>Source</th>
240         <th align=left>Montant</th>
241       </tr>
242 <%end paid%>
243
244 <%foreach payment%>
245       <tr>
246         <td><%paymentdate%></td>
247         <td><%paymentaccount%></td>
248         <td><%paymentsource%></td>
249         <td><%payment%></td>
250       </tr>
251 <%end payment%>
252
253 <%if paid%>
254     </table>
255   </td>
256 </tr>
257
258 <tr>
259   <td>&nbsp;</td>
260 </tr>
261 <%end paid%>
262
263 <tr>
264   <th colspan=7>
265   <!-- <br>Merci beaucoup&amp;nbsp;! -->
266   </th>
267 </tr>
268
269 <tr><td>&nbsp;</td></tr>
270
271 <tr>
272   <td>
273   <table width="100%">
274   <tr valign=top>
275     <td><font size=-3>
276     &nbsp;
277     </td>
278     <td width=150>
279     X <hr noshade>
280     </td>
281   </tr>
282   </table>
283   </td>
284 </tr>
285
286 <!-- <%foreach tax%>
287   <tr>
288    <th colspan=7 align=left><font size=-2><%taxdescription%> Numéro de TVA <%taxnumber%></font></th>
289   </tr>
290 <%end tax%> -->
291
292 <%if taxincluded%>
293   <tr>
294     <th colspan=7 align=left><font size=-2>Les taxes affichés sont inclus dans le prix.</font></th>
295   </tr>
296 <%end taxincluded%>
297
298 <!-- business number
299   <tr>
300     <th colspan=7 align=left><font size=-2>Régistre de Commerce&amp;nbsp;: <%businessnumber%></font></th>
301   </tr>
302 -->
303
304 <!-- information banquaire -->
305   <tr><td>
306   <h6><center>N° TVA&nbsp;: &nbsp;&nbsp;Banque&nbsp;: &nbsp;&nbsp;N° de compte&nbsp;: &nbsp;&nbsp;Code SWIFT&nbsp;: </center>
307   </h6>
308     </td>
309   </tr>
310
311 </table>
312
313 </td>
314 </tr>
315 </table>
316
317 </body>
318 </html>