6 <td width=10> </td>
18 <td><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
31 <h4>P U R C H A S E O R D E R</h4>
38 <table width=100% callspacing=0 cellpadding=0>
44 <th align=left width=50%><font color=ffffff>To:</th>
45 <th align=left width=50%><font color=ffffff>Ship To:</th>
54 <br><%city%> <%state%> <%zipcode%>
63 <br>Tel: <%vendorphone%>
66 <br>Fax: <%vendorfax%>
71 <br><%shiptoaddress1%>
73 <br><%shiptoaddress2%>
74 <%end shiptoaddress2%>
75 <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
81 <br>Attn: <%shiptocontact%>
84 <br>Tel: <%shiptophone%>
87 <br>Fax: <%shiptofax%>
94 <tr><td> </td></tr>
98 <table width=100% border=1>
100 <th width=17% align=left>Order #</th>
101 <th width=17% align=left>Order Date</th>
102 <th width=17% align=left>Required by</th>
103 <th width=17% align=left>Contact</th>
104 <th width=17% align=left>Shipping Point</th>
105 <th width=15% align=left>Ship Via</th>
109 <td><%ordnumber%></td>
112 <td><%employee%></td>
113 <td><%shippingpoint%> </td>
114 <td><%shipvia%> </td>
125 <!-- <th align=right><font color=ffffff>No.</th> -->
126 <th align=left><font color=ffffff>Number</th>
127 <th align=left><font color=ffffff>Description</th>
128 <th><font color=ffffff>Qt'y</th>
130 <th><font color=ffffff>Price</th>
131 <th><font color=ffffff>%</th>
132 <th><font color=ffffff>Amount</th>
137 <!-- <td align=right><%runningnumber%>.</td>
138 other per line item variables available <%reqdate%>
139 adjust the colspan if you include this to shift subtotal one to the right
142 <td><%description%></td>
143 <td align=right><%qty%></td>
145 <td align=right><%sellprice%></td>
146 <td align=right><%discountrate%></th>
147 <td align=right><%linetotal%></td>
152 <td colspan=7><hr noshade></td>
157 <th colspan=6 align=right>Total</th>
158 <th colspan=1 align=right><%ordtotal%></th>
161 <%if not taxincluded%>
162 <th colspan=6 align=right>Subtotal</th>
163 <td colspan=1 align=right><%subtotal%></td>
169 <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
170 <td colspan=1 align=right><%tax%></td>
175 <td colspan=3> </td>
176 <td colspan=4><hr noshade></td>
179 <%if not taxincluded%>
180 <th colspan=6 align=right>Total</th>
181 <td colspan=1 align=right><%ordtotal%></td>
186 <td colspan=3>Terms Net <b><%terms%></b> days</td>
187 <th colspan=3 align=right>Total</th>
188 <th colspan=1 align=right><%ordtotal%></th>
194 <td colspan=2>Tax included</td>
204 <td colspan=7 align=right>
205 All prices in <b><%currency%></b> Funds
228 <tr><td> </td></tr>
234 <td width=70%> </td>