This commit was generated by cvs2svn to compensate for changes in r3880,
[freeside.git] / sql-ledger / sql-ledger / templates / Default-sales_order.html
1
2 <body bgcolor=ffffff>
3
4 <table width=100%>
5   <tr>
6     <td width=10>&nbsp;</td>
7     
8     <td>
9       <table width=100%>
10         <tr valign=bottom>
11           <td>
12             <h4>
13             <%company%>
14             <br><%address%>
15             </h4>
16           </td>
17
18           <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
19
20           <td align=right>
21             <h4>
22             Tel: <%tel%>
23             <br>Fax: <%fax%>
24             </h4>
25           </td>
26         </tr>
27
28         <tr>
29           <th colspan=3>
30             <h4>S A L E S &nbsp;&nbsp; O R D E R</h4>
31           </th>
32         </tr>
33       </table>
34     </td>
35   </tr>
36
37   <tr>
38     <td>&nbsp;</td>
39
40     <td>
41       <table width=100% callspacing=0 cellpadding=0>
42         <tr bgcolor=000000>
43           <th align=left width=50%><font color=ffffff>To</th>
44           <th align=left width=50%><font color=ffffff>Ship To</th>
45         </tr>
46
47         <tr valign=top>
48           <td><%name%>
49           <br><%address1%>
50           <%if address2%>
51           <br><%address2%>
52           <%end address2%>
53           <br><%city%> <%state%>
54           <br><%zipcode%>
55           <%if country%>
56           <br><%country%>
57           <%end country%>
58           <br>
59           <%if contact%>
60           <br>Attn: <%contact%>
61           <%end contact%>
62           <%if customerphone%>
63           <br>Tel: <%customerphone%>
64           <%end customerphone%>
65           <%if customerfax%>
66           <br>Fax: <%customerfax%>
67           <%end customerfax%>
68           <%if email%>
69           <br><%email%>
70           <%end email%>
71           </td>
72
73           <td><%shiptoname%>
74           <br><%shiptoaddress1%>
75           <%if shiptoaddress2%>
76           <br><%shiptoaddress2%>
77           <%end shiptoaddress2%>
78           <br><%shiptocity%> <%shiptostate%>
79           <br><%shiptozipcode%>
80           <%if shiptocountry%>
81           <br><%shiptocountry%>
82           <%end shiptocountry%>
83           <br>
84           <%if shiptocontact%>
85           <br><%shiptocontact%>
86           <%end shiptocontact%>
87           <%if shiptophone%>
88           <br>Tel: <%shiptophone%>
89           <%end shiptophone%>
90           <%if shiptofax%>
91           <br>Fax: <%shiptofax%>
92           <%end shiptofax%>
93           <%if shiptoemail%>
94           <br><%shiptoemail%>
95           <%end shiptoemail%>
96           </td>
97         </tr>
98       </table>
99     </td>
100   </tr>
101
102   <tr height=5></tr>
103   
104   <tr>
105     <td>&nbsp;</td>
106     
107     <td>
108       <table width=100% border=1>
109         <tr>
110           <th width=17% align=left nowrap>Order Number</th>
111           <th width=17% align=left>Order Date</th>
112           <th width=17% align=left>Required by</th>
113           <th width=17% align=left nowrap>Salesperson</th>
114           <th width=17% align=left nowrap>Shipping Point</th>
115           <th width=15% align=left nowrap>Ship Via</th>
116         </tr>
117
118         <tr>
119           <td><%ordnumber%></td>
120           <td><%orddate%></td>
121           <td><%reqdate%></td>
122           <td><%employee%></td>
123           <td><%shippingpoint%>&nbsp;</td>
124           <td><%shipvia%>&nbsp;</td>
125         </tr>
126       </table>
127     </td>
128   </tr>
129
130   <tr>
131     <td>&nbsp;</td>
132  
133     <td>
134       <table width=100%>
135         <tr bgcolor=000000>
136           <th align=right><font color=ffffff>No.</th>
137           <th align=left><font color=ffffff>Number</th>
138           <th align=left><font color=ffffff>Description</th>
139           <th><font color=ffffff>Qt'y</th>
140           <th>&nbsp;</th>
141           <th><font color=ffffff>Price</th>
142           <th><font color=ffffff>Disc %</th>
143           <th><font color=ffffff>Amount</th>
144         </tr>
145
146         <%foreach number%>
147         <tr valign=top>
148           <td align=right><%runningnumber%>.</td>
149           <td><%number%></td>
150           <td><%description%></td>
151           <td align=right><%qty%></td>
152           <td><%unit%></td>
153           <td align=right><%sellprice%></td>
154           <td align=right><%discountrate%></td>
155           <td align=right><%linetotal%></td>
156         </tr>
157         <%end number%>
158
159         <tr>
160           <td colspan=8><hr noshade></td>
161         </tr>
162         
163         <tr>
164           <%if taxincluded%>
165           <th colspan=6 align=right>Total</th>
166           <td colspan=2 align=right><%invtotal%></td>
167           <%end taxincluded%>
168
169           <%if not taxincluded%>
170           <th colspan=6 align=right>Subtotal</th>
171           <td colspan=2 align=right><%subtotal%></td>
172           <%end taxincluded%>
173         </tr>
174
175         <%foreach tax%>
176         <tr>
177           <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
178           <td colspan=2 align=right><%tax%></td>
179         </tr>
180         <%end tax%>
181
182         <tr>
183           <td colspan=4>&nbsp;</td>
184           <td colspan=4><hr noshade></td>
185         </tr>
186
187         <tr>
188           <td colspan=4>
189           <%text_amount%> ***** <%decimal%>/100
190           <%if terms%>
191           <br>Terms Net <b><%terms%></b> days
192           <%end terms%>
193           </td>
194           <th colspan=2 align=right>Total</th>
195           <th colspan=2 align=right><%ordtotal%></th>
196         </tr>
197         
198         <tr>
199           <td>&nbsp;</td>
200         </tr>
201
202       </table>
203     </td>
204   </tr>
205
206   <tr>
207     <td>&nbsp;</td>
208
209     <td>
210       <table width=100%>
211         <tr valign=top>
212           <%if notes%>
213           <td>Notes</td>
214           <td><%notes%></td>
215           <%end notes%>
216           <td align=right nowrap>
217           All prices in <%currency%> Funds</b>
218           </td>
219         </tr>
220       </table>
221     </td>
222   </tr>
223
224   <tr>
225     <td>&nbsp;</td>
226
227     <td>
228       <table width=100%>
229         <tr valign=top>
230           <td width=60%><font size=-3>
231           Special order items are subject to a 10% order cancellation fee.
232           </font>
233           </td>
234           <td width=40%>
235           X <hr noshade>
236           </td>
237         </tr>
238       </table>
239     </td>
240   </tr>
241
242 </table>
243
244 </body>
245 </html>