import sql-ledger 2.4.4
[freeside.git] / sql-ledger / templates / Default-purchase_order.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>
20       Telephone: <%tel%>
21       <br>Facsimile: <%fax%>
22       </h4>
23     </td>
24   </tr>
25
26   <tr>
27     <th colspan=3>
28       <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
29     </th>
30   </tr>
31
32   </table>
33
34
35   <table width=100% callspacing=0 cellpadding=0>
36     
37   <tr>
38     <td align=right>
39     <table>
40     <tr>
41       <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
42     </tr>
43   
44     <tr>
45       <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
46     </tr>
47
48     <tr>
49       <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
50     </tr>
51   
52     <tr>
53       <td>&nbsp;</td>
54     </tr>
55     </td>
56     </table>
57   </tr>
58
59   <tr>
60     <td>
61     <table width=100%>
62     <tr bgcolor=000000>
63       <th align=left width=50%><font color=ffffff>To:</th>
64       <th align=left width=50%><font color=ffffff>Ship To:</th>
65     </tr>
66
67     <tr valign=top>
68       <td><%name%>
69       <br><%addr1%>
70       <br><%addr2%>
71       <br><%addr3%>
72       <br><%addr4%>
73
74 <br>
75 <%if contact%>
76 <br>Attn: <%contact%>
77 <%end contact%>
78 <%if vendorphone%>
79 <br>Tel: <%vendorphone%>
80 <%end vendorphone%>
81 <%if vendorfax%>
82 <br>Fax: <%vendorfax%>
83 <%end vendorfax%>
84       </td>
85
86       <td><%shiptoname%>
87       <br><%shiptoaddr1%>
88       <br><%shiptoaddr2%>
89       <br><%shiptoaddr3%>
90       <br><%shiptoaddr4%>
91
92 <br>
93 <%if shiptocontact%>
94 <br>Attn: <%shiptocontact%>
95 <%end shiptocontact%>
96 <%if shiptophone%>
97 <br>Tel: <%shiptophone%>
98 <%end shiptophone%>
99 <%if shiptofax%>
100 <br>Fax: <%shiptofax%>
101 <%end shiptofax%>
102
103     </tr>
104     </table>
105     </td>
106   </tr>
107
108   <tr>
109     <td>&nbsp;</td>
110   </tr>
111   
112   <tr>
113     <td>
114     <table width=100%>
115     <tr bgcolor=000000>
116 <!--      <th align=right><font color=ffffff>No.</th>  -->
117       <th align=left><font color=ffffff>Number</th>
118       <th align=left><font color=ffffff>Description</th>
119       <th><font color=ffffff>Qt'y</th>
120       <th>&nbsp;</th>
121       <th><font color=ffffff>Price</th>
122       <th><font color=ffffff>Amount</th>
123     </tr>
124
125 <%foreach number%>
126     <tr valign=top>
127 <!--      <td align=right><%runningnumber%>.</td>
128 adjust the colspan if you include this to shift subtotal one to the right
129 -->
130       <td><%number%></td>
131       <td><%description%></td>
132       <td align=right><%qty%></td>
133       <td><%unit%></td>
134       <td align=right><%sellprice%></td>
135       <td align=right><%linetotal%></td>
136     </tr>
137 <%end number%>
138
139     <tr>
140       <td colspan=6><hr noshade></td>
141     </tr>
142     
143     <tr>
144       <th colspan=4 align=right>Subtotal</th>
145       <td colspan=2 align=right><%subtotal%></td>
146     </tr>
147
148 <%foreach tax%>
149     <tr>
150       <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
151       <td colspan=2 align=right><%tax%></td>
152     </tr>
153 <%end tax%>
154
155     <tr>
156       <td colspan=2>&nbsp;</td>
157       <td colspan=4><hr noshade></td>
158     </tr>
159
160     <tr>
161       <td colspan=2>Terms Net <b><%terms%></b> days</td>
162       <th colspan=2 align=right>Total</th>
163       <th colspan=2 align=right><%ordtotal%></th>
164     </tr>
165
166     <tr>
167       <td>&nbsp;</td>
168     </tr>
169
170     </table>
171     </td>
172   </tr>
173
174 <tr>
175   <td>
176   <table width=100%>
177     <tr valign=top>
178 <%if notes%>
179       <td>Notes</td>
180       <td><pre><%notes%></pre></td>
181 <%end notes%>
182       <td align=right>
183       All prices in <b><%currency%></b> Funds
184       <br><%shippingpoint%>
185       </td>
186     </tr>
187
188   </table>
189   </td>
190 </tr>
191
192 <tr><td>&nbsp;</td></tr>
193   
194 <tr>
195   <td>
196   <table width=100%>
197   <tr valign=top>
198     <td><font size=-3>
199     Payment due NET <%terms%> Days from date of Invoice.
200     Interest on overdue amounts will acrue at the rate of 1.5% per month
201     from due date until paid in full. Items returned are subject to
202     a 10% restocking charge. A return authorization must be obtained
203     from <%company%> before goods are returned. Returns must be shipped
204     prepaid and properly insured. <%company%> will not be responsible
205     for damages during transit.
206     </font>
207     </td>
208     <td width=150>
209     X <hr noshade>
210     </td>
211   </tr>
212   </table>
213   </td>
214 </tr>
215
216 </table>
217
218 </td>
219 </tr>
220 </table>
221
222 </body>
223 </html>
224