so Search.tsf and Search.rdf work
[freeside.git] / sql-ledger / templates / Service-sales_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       Telelephone: <%tel%>
21       <br>Facsimile: <%fax%>
22       </h4>
23     </td>
24   </tr>
25
26   <tr>
27     <th colspan=3>
28       <h4>S A L E S &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><font color=ffffff>To:</th>
64     </tr>
65
66     <tr>
67       <td><%name%>
68       <br><%address1%>
69       <%if address2%>
70 <br><%address2%>
71 <%end address2%>
72       <br><%city%> <%state%> <%zipcode%>
73       <%if country%>
74 <%country%>
75 <%end country%>
76 <%if contact%>
77       <p>Attn: <%contact%>
78 %end contact%>
79
80       </td>
81     </tr>
82     </table>
83     </td>
84   </tr>
85
86   <tr>
87     <td>&nbsp;</td>
88   </tr>
89   
90   <tr>
91     <td>
92     <table width=100%>
93     <tr bgcolor=000000>
94 <!--      <th align=right><font color=ffffff>No.</th>  -->
95       <th align=left><font color=ffffff>Number</th>
96       <th align=left><font color=ffffff>Description</th>
97       <th><font color=ffffff>Qt'y</th>
98       <th>&nbsp;</th>
99       <th><font color=ffffff>Price</th>
100       <th><font color=ffffff>Amount</th>
101     </tr>
102
103 <%foreach number%>
104     <tr valign=top>
105 <!--      <td align=right><%runningnumber%>.</td>
106 adjust the colspan if you include this to shift subtotal one to the right
107 -->
108       <td><%number%></td>
109       <td><%description%></td>
110       <td align=right><%qty%></td>
111       <td><%unit%></td>
112       <td align=right><%sellprice%></td>
113       <td align=right><%linetotal%></td>
114     </tr>
115 <%end number%>
116
117     <tr>
118       <td colspan=6><hr noshade></td>
119     </tr>
120     
121     <tr>
122       <th colspan=4 align=right>Subtotal</th>
123       <td colspan=2 align=right><%subtotal%></td>
124     </tr>
125
126 <%foreach tax%>
127     <tr>
128       <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
129       <td colspan=2 align=right><%tax%></td>
130     </tr>
131 <%end tax%>
132
133     <tr>
134       <td colspan=2>&nbsp;</td>
135       <td colspan=4><hr noshade></td>
136     </tr>
137
138     <tr>
139       <td colspan=2>Terms Net <b><%terms%></b> days</td>
140       <th colspan=2 align=right>Total</th>
141       <th colspan=2 align=right><%total%></th>
142     </tr>
143
144     <tr>
145       <td>&nbsp;</td>
146     </tr>
147
148     </table>
149     </td>
150   </tr>
151
152 <tr>
153   <td>
154   <table width=100%>
155     <tr valign=top>
156 <%if notes%>
157       <td>Notes</td>
158       <td><pre><%notes%></pre></td>
159 <%end notes%>
160       <td align=right>
161       All prices in <b><%currency%></b> Funds
162       <br><%shippingpoint%>
163       </td>
164     </tr>
165
166   </table>
167   </td>
168 </tr>
169
170 <tr><td>&nbsp;</td></tr>
171   
172 <tr>
173   <td>
174   <table width=100%>
175   <tr valign=top>
176     <td><font size=-3>
177     Payment due NET <%terms%> Days from date of Invoice.
178     Interest on overdue amounts will acrue at the rate of 1.5% per month
179     from due date until paid in full. Items returned are subject to
180     a 10% restocking charge. A return authorization must be obtained
181     from <%company%> before goods are returned. Returns must be shipped
182     prepaid and properly insured. <%company%> will not be responsible
183     for damages during transit.
184     </font>
185     </td>
186     <td width=150>
187     X <hr noshade>
188     </td>
189   </tr>
190   </table>
191   </td>
192 </tr>
193
194 </table>
195
196 </td>
197 </tr>
198 </table>
199
200 </body>
201 </html>
202