This commit was generated by cvs2svn to compensate for changes in r3880,
[freeside.git] / sql-ledger / 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><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58>
19     </td>
20
21     <td align=right>
22       <h4>
23       Tel: <%tel%>
24       <br>Fax: <%fax%>
25       </h4>
26     </td>
27   </tr>
28
29   <tr>
30     <th colspan=3>
31       <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
32     </th>
33   </tr>
34
35   </table>
36
37
38   <table width=100% callspacing=0 cellpadding=0>
39     
40   <tr>
41     <td>
42     <table width=100%>
43     <tr bgcolor=000000>
44       <th align=left width=50%><font color=ffffff>To:</th>
45       <th align=left width=50%><font color=ffffff>Ship To:</th>
46     </tr>
47
48     <tr valign=top>
49       <td><%name%>
50       <br><%address1%>
51       <%if address2%>
52       <br><%address2%>
53       <%end address2%>
54       <br><%city%> <%state%> <%zipcode%>
55       <%if country%>
56       <br><%country%>
57       <%end country%>
58 <br>
59 <%if contact%>
60 <br>Attn: <%contact%>
61 <%end contact%>
62 <%if vendorphone%>
63 <br>Tel: <%vendorphone%>
64 <%end vendorphone%>
65 <%if vendorfax%>
66 <br>Fax: <%vendorfax%>
67 <%end vendorfax%>
68       </td>
69
70       <td><%shiptoname%>
71       <br><%shiptoaddress1%>
72       <%if shiptoaddress2%>
73       <br><%shiptoaddress2%>
74       <%end shiptoaddress2%>
75       <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
76       <%if shiptocountry%>
77       <br><%shiptocountry%>
78       <%end shiptocountry%>
79 <br>
80 <%if shiptocontact%>
81 <br>Attn: <%shiptocontact%>
82 <%end shiptocontact%>
83 <%if shiptophone%>
84 <br>Tel: <%shiptophone%>
85 <%end shiptophone%>
86 <%if shiptofax%>
87 <br>Fax: <%shiptofax%>
88 <%end shiptofax%>
89     </tr>
90     </table>
91     </td>
92   </tr>
93
94   <tr><td>&nbsp;</td></tr>
95   
96   <tr>
97     <td colspan=2>
98     <table width=100% border=1>
99     <tr>
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>
106     </tr>
107
108     <tr>
109       <td><%ordnumber%></td>
110       <td><%orddate%></td>
111       <td><%reqdate%></td>
112       <td><%employee%></td>
113       <td><%shippingpoint%>&nbsp;</td>
114       <td><%shipvia%>&nbsp;</td>
115     </tr>
116     </table>
117     </td>
118   </tr>
119
120  
121   <tr>
122     <td>
123     <table width=100%>
124     <tr bgcolor=000000>
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>
129       <th>&nbsp;</th>
130       <th><font color=ffffff>Price</th>
131       <th><font color=ffffff>%</th>
132       <th><font color=ffffff>Amount</th>
133     </tr>
134
135 <%foreach number%>
136     <tr valign=top>
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
140 -->
141       <td><%number%></td>
142       <td><%description%></td>
143       <td align=right><%qty%></td>
144       <td><%unit%></td>
145       <td align=right><%sellprice%></td>
146       <td align=right><%discountrate%></th>
147       <td align=right><%linetotal%></td>
148     </tr>
149 <%end number%>
150
151     <tr>
152       <td colspan=7><hr noshade></td>
153     </tr>
154     
155     <tr>
156 <%if taxincluded%>
157       <th colspan=6 align=right>Total</th>
158       <th colspan=1 align=right><%ordtotal%></th>
159 <%end taxincluded%>
160      
161 <%if not taxincluded%>
162       <th colspan=6 align=right>Subtotal</th>
163       <td colspan=1 align=right><%subtotal%></td>
164 <%end taxincluded%>
165     </tr>
166
167 <%foreach tax%>
168     <tr>
169       <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
170       <td colspan=1 align=right><%tax%></td>
171     </tr>
172 <%end tax%>
173
174     <tr>
175       <td colspan=3>&nbsp;</td>
176       <td colspan=4><hr noshade></td>
177     </tr>
178     
179 <%if not taxincluded%>
180       <th colspan=6 align=right>Total</th>
181       <td colspan=1 align=right><%ordtotal%></td>
182 <%end taxincluded%>
183
184 <%if terms%>
185     <tr>
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>
189     </tr>
190 <%end terms%>
191
192 <%if taxincluded%>
193     <tr>
194       <td colspan=2>Tax included</td>
195     </tr>
196 <%end taxincluded%>
197
198     <tr>
199       <td>&nbsp;</td>
200     </tr>
201     
202 <%if ordtotal%>
203     <tr>
204       <td colspan=7 align=right>
205       All prices in <b><%currency%></b> Funds
206       </td>
207     </tr>
208 <%end ordtotal%>
209
210     </table>
211     </td>
212   </tr>
213
214 <tr>
215   <td>
216   <table width=100%>
217 <%if notes%>
218     <tr valign=top>
219       <td>Notes</td>
220       <td><%notes%></td>
221     </tr>
222 <%end notes%>
223
224   </table>
225   </td>
226 </tr>
227
228 <tr><td>&nbsp;</td></tr>
229   
230 <tr>
231   <td>
232   <table width=100%>
233   <tr valign=top>
234     <td width=70%>&nbsp;</td>
235
236     <td width=30%>
237     X <hr noshade>
238     </td>
239   </tr>
240   </table>
241   </td>
242 </tr>
243
244 </table>
245
246 </td>
247 </tr>
248 </table>
249
250 </body>
251 </html>
252