can't set $p without $cgi
[freeside.git] / sql-ledger / old / sql-ledger / templates / Brazilian_Portuguese-invoice.html
1
2 <body bgcolor=ffffff>
3
4 <table width=100%>
5 <tr valign=bottom>
6   <td width=10>&nbsp;</td>
7   <td>
8   
9   <table width=100%>
10   <tr>
11     <td>
12       <h4>
13       <%company%>
14       <br><%address%>
15       </h4>
16     </td>
17
18     <td align=right>
19             <h4> Telefone: 
20               <%tel%>
21               <br>
22               Fax: 
23               <%fax%>
24             </h4>
25     </td>
26   </tr>
27
28   <tr>
29     <th colspan=3>
30             <h4>FATURA</h4>
31     </th>
32   </tr>
33
34   </table>
35
36
37   <table width=100% callspacing=0 cellpadding=0>
38     
39   <tr>
40     <td align=right>
41     <table>
42     <tr>
43                 <th align=right> Data</th>
44                 <td width=10>&nbsp;</td><td><%invdate%></td>
45     </tr>
46   
47     <tr>
48                 <th align=right>Entrega</th>
49                 <td width=10>&nbsp;</td><td><%duedate%></td>
50     </tr>
51
52     <tr>
53                 <th align=right>N&uacute;mero</th>
54                 <td>&nbsp;</td><td><%invnumber%></td></tr>
55     </table></tr>
56   
57 <!--
58     <tr>
59       <th align=right>Clerk:</th><td>&nbsp;</td><td><%employee%></td>
60     </tr>
61 -->
62
63     <tr>
64       <td>&nbsp;</td>
65     </tr>
66     </table></td>
67     </table>
68   
69
70   <tr>
71     <td>
72     <table width=100%>
73     <tr bgcolor=000000>
74         <th align=left><font color="ffffff">Para:</font></th>
75         <th align=left><font color="ffffff">Transportar Para:</font></th>
76     </tr>
77
78 <!--
79      other variables which can be use:
80      contact, shiptocontact, shiptophone, shiptofax
81 -->
82
83     <tr valign=top>
84       <td><%name%>
85       <br><%addr1%>
86       <br><%addr2%>
87       <br><%addr3%>
88       <br><%addr4%>
89       </td>
90       
91       <td><%shiptoname%>
92       <br><%shiptoaddr1%>
93       <br><%shiptoaddr2%>
94       <br><%shiptoaddr3%>
95       <br><%shiptoaddr4%>
96       </td>
97     </tr>
98     </table>
99     </td>
100   </tr>
101
102   <tr>
103     <td>&nbsp;</td>
104   </tr>
105   
106   <tr>
107     <td>
108     <table width=100%>
109     <tr bgcolor=000000>
110 <!--      <th align=right><font color=ffffff>No.</th>  -->
111         <th align=left><font color=ffffff>N&uacute;mero</font></th>
112         <th align=left><font color=ffffff>Descri&ccedil;&atilde;o</font></th>
113         <th><font color=ffffff>Quant.</font></th>
114       <th>&nbsp;</th>
115         <th><font color=ffffff>Pre&ccedil;o</font></th>
116         <th><font color=ffffff>Disc.</font></th>
117         <th><font color="ffffff">Total</font></th>
118     </tr>
119
120 <%foreach number%>
121     <tr valign=top>
122 <!--      <td align=right><%runningnumber%>.</td>
123 adjust the colspan if you include this to shift subtotal one to the right
124 -->
125       <td><%number%></td>
126       <td><%description%></td>
127       <td align=right><%qty%></td>
128       <td><%unit%></td>
129       <td align=right><%sellprice%></td>
130       <td align=right><%discount%></td>
131       <td align=right><%linetotal%></td>
132     </tr>
133 <%end number%>
134
135 <!--
136 you can also use netprice instead of sellprice if you
137 don't want to show the discount
138 netprice = sellprice - discount
139 -->
140
141     <tr>
142       <td colspan=7><hr noshade></td>
143     </tr>
144     
145     <tr>
146 <%if taxincluded%>
147       <th colspan=5 align=right>Total</th>
148       <td colspan=2 align=right><%invtotal%></td>
149 <%end taxincluded%>
150 <%if not taxincluded%>
151       <th colspan=5 align=right>Subtotal</th>
152       <td colspan=2 align=right><%subtotal%></td>
153 <%end taxincluded%>
154     </tr>
155
156 <%foreach tax%>
157     <tr>
158         <th colspan=5 align=right> 
159           <%taxdescription%>
160           em 
161           <%taxbase%>
162           @ 
163           <%taxrate%>
164           %</th>
165       <td colspan=2 align=right><%tax%></td>
166     </tr>
167 <%end tax%>
168
169 <%if paid%>
170     <tr>
171         <th colspan=5 align=right>Pago</th>
172       <td colspan=2 align=right>- <%paid%></td>
173     </tr>
174 <%end paid%>
175
176     <tr>
177       <td colspan=3>&nbsp;</td>
178       <td colspan=4><hr noshade></td>
179     </tr>
180
181     <tr>
182         <td colspan=3>Fatura para<b> 
183           <%terms%>
184           </b> dias</td>
185         <th colspan=2 align=right>Pendente</th>
186       <th colspan=2 align=right><%total%></th>
187     </tr>
188
189     <tr>
190       <td>&nbsp;</td>
191     </tr>
192
193     </table>
194     </td>
195   </tr>
196
197 <tr>
198   <td>
199   <table width=100%>
200     <tr valign=top>
201 <%if notes%>
202         <td>Obs.:</td>
203       <td><%notes%></td>
204 <%end notes%>
205         <td align=right> Pre&ccedil;os em<b> 
206           <%currency%>
207           </b> <br>
208           <%shippingpoint%>
209       </td>
210     </tr>
211
212   </table>
213   </td>
214 </tr>
215
216 <tr><td>&nbsp;</td></tr>
217
218 <%if paid%>
219 <tr>
220   <td colspan=7>
221     <table width=60%>
222       <tr>
223         <th align=left>Pagamentos</th>
224       </tr>
225       <tr>
226         <td colspan=4>
227           <hr noshade>
228         </td>
229       </tr>
230       <tr>
231         <th align=left>Data</th>
232             <th align=left>Conta</th>
233             <th align=left>Origem</th>
234             <th align=left>Total</th>
235       </tr>
236 <%end paid%>
237
238 <%foreach payment%>
239       <tr>
240         <td><%paymentdate%></td>
241         <td><%paymentaccount%></td>
242         <td><%paymentsource%></td>
243         <td><%payment%></td>
244       </tr>
245 <%end payment%>
246
247 <%if paid%>
248     </table>
249   </td>
250 </tr>
251
252 <tr>
253   <td>&nbsp;</td>
254 </tr>
255 <%end paid%>
256
257 <tr>
258   <th colspan=7>
259   <br>
260     Obrigado por estarmos fazendo neg&oacute;cio! </th>
261 </tr>
262
263 <tr><td>&nbsp;</td></tr>
264
265 <tr>
266   <td>
267   <table width=100%>
268   <tr valign=top>
269         <td><font size=-3> </font> </td>
270     <td width=150>
271     X <hr noshade>
272     </td>
273   </tr>
274   </table>
275   </td>
276 </tr>
277
278 <%foreach tax%>
279   <tr>
280     
281   <th colspan=7 align=left><font size=-2> 
282     <%taxdescription%>
283     Registro 
284     <%taxnumber%>
285     </font></th>
286   </tr>
287 <%end tax%>
288
289 <%if taxincluded%>
290   <tr>
291     
292   <th colspan=7 align=left><font size="-2">Impostos Inclusos.</font></th>
293   </tr>
294 <%end taxincluded%>
295
296 <!-- business number
297   <tr>
298     <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th>
299   </tr>
300 -->
301
302 <!-- banking information
303   <tr>
304     <th colspan=7 align=left>Banking Information:
305     <br>Bank
306     <br>Transit No.
307     <br>Account No.
308     </td>
309   </tr>
310 -->
311
312
313 </body>
314 </html>
315