--- /dev/null
+
+<body bgcolor=ffffff>
+
+<table width=100%>
+<tr valign=bottom>
+ <td width=10> </td>
+ <td>
+
+ <table width=100%>
+ <tr>
+ <td>
+ <h4>
+ <%company%>
+ <br><%address%>
+ </h4>
+ </td>
+
+ <td align=right>
+ <h4> Telefone:
+ <%tel%>
+ <br>
+ Fax:
+ <%fax%>
+ </h4>
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan=3>
+ <h4>ORDEM DE VENDA</h4>
+ </th>
+ </tr>
+
+ </table>
+
+
+ <table width=100% callspacing=0 cellpadding=0>
+
+ <tr>
+ <td align=right>
+ <table>
+ <tr>
+ <th align=right>Data</th>
+ <td width=10> </td><td><%orddate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Requerido por</th>
+ <td width=10> </td><td><%reqdate%></td>
+ </tr>
+
+ <tr>
+ <th align=right>Número</th>
+ <td> </td><td><%ordnumber%></td></tr>
+ </table></tr>
+
+ <tr>
+ <td> </td>
+ </tr>
+ </table></td>
+ </table>
+
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+ <th align=left><font color="ffffff">Para:</font></th>
+ <th align=left><font color="ffffff">Transportar para:</font></th>
+ </tr>
+
+ <tr>
+ <td><%name%>
+ <br><%address1%>
+ <%if address2%>
+<br><%address2%>
+<%end address2%>
+ <br><%city%> <%state%> <%zipcode%>
+ <%if country%>
+<%country%>
+<%end country%>
+ </td>
+
+ <td><%shiptoname%>
+ <br><%shiptoaddress1%>
+ <%if shiptoaddress2%>
+<br><%shiptoaddress2%>
+<%end shiptoaddress2%>
+ <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+ <%if shiptocountry%>
+<%shiptocountry%>
+<%end shiptocountry%>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td> </td>
+ </tr>
+
+ <tr>
+ <td>
+ <table width=100%>
+ <tr bgcolor=000000>
+<!-- <th align=right><font color=ffffff>No.</th> -->
+ <th align=left><font color=ffffff>Número</font></th>
+ <th align=left><font color=ffffff>Descrição</font></th>
+ <th><font color=ffffff>Quant.</font></th>
+ <th> </th>
+ <th><font color=ffffff>Preço</font></th>
+ <th><font color=ffffff>Disc.</font></th>
+ <th><font color="ffffff">Total</font></th>
+ </tr>
+
+<%foreach number%>
+ <tr valign=top>
+<!-- <td align=right><%runningnumber%>.</td>
+adjust the colspan if you include this to shift subtotal one to the right
+-->
+ <td><%number%></td>
+ <td><%description%></td>
+ <td align=right><%qty%></td>
+ <td><%unit%></td>
+ <td align=right><%sellprice%></td>
+ <td align=right><%discount%></td>
+ <td align=right><%linetotal%></td>
+ </tr>
+<%end number%>
+
+ <tr>
+ <td colspan=7><hr noshade></td>
+ </tr>
+
+ <tr>
+<%if taxincluded%>
+ <th colspan=5 align=right>Total</th>
+ <td colspan=2 align=right><%ordtotal%></td>
+<%end taxincluded%>
+
+<%if not taxincluded%>
+ <th colspan=5 align=right>Subtotal</th>
+ <td colspan=2 align=right><%subtotal%></td>
+<%end taxincluded%>
+ </tr>
+
+<%foreach tax%>
+ <tr>
+ <th colspan=5 align=right>
+ <%taxdescription%>
+ em
+ <%taxbase%>
+ @
+ <%taxrate%>
+ %</th>
+ <td colspan=2 align=right><%tax%></td>
+ </tr>
+<%end tax%>
+
+ <tr>
+ <td colspan=2> </td>
+ <td colspan=5><hr noshade></td>
+ </tr>
+
+ <tr>
+ <td colspan=3>Faturar para<b>
+ <%terms%>
+ </b> dias</td>
+ <th colspan=2 align=right>Total</th>
+ <th colspan=2 align=right><%ordtotal%></th>
+ </tr>
+<%if taxincluded%>
+ <tr>
+ <td colspan=3>Impostos inclusos do total</td>
+ </tr>
+<%end taxincluded%>
+
+ <tr>
+ <td> </td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+<%if notes%>
+ <td>Obs.:</td>
+ <td><pre><%notes%></pre></td>
+<%end notes%>
+ <td align=right> Preços em<b>
+ <%currency%>
+ </b><br>
+ <%shippingpoint%>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+</tr>
+
+<tr><td> </td></tr>
+
+<tr>
+ <td>
+ <table width=100%>
+ <tr valign=top>
+ <td><font size=-3> </font> </td>
+ <td width=150>
+ X <hr noshade>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+
+
+
+
+
+
+
+</body>
+</html>
+