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