silly missing parenthesis
[freeside.git] / sql-ledger / templates / Service-statement.html
1
2 <body bgcolor=ffffff>
3
4 <table width=100%>
5   <tr>
6     <td width=10>&nbsp;</td>
7     <td>
8       <table width=100%>
9         <tr>
10           <td>
11             <h4>
12             <%company%>
13             <br><%address%>
14             </h4>
15           </td>
16           <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
17           <td align=right>
18           <h4>
19           Tel: <%tel%>
20           <br>Fax: <%fax%>
21           </h4>
22           </td>
23         </tr>
24         <tr>
25           <th colspan=3><h4>S T A T E M E N T</h4></th>
26         </tr>
27         <tr>
28           <td colspan=3 align=right><%statementdate%></td>
29         </tr>
30       </table>
31     </td>
32   </tr>
33   <tr>
34     <td>&nbsp;</td>
35     <td>
36       <table width=100%>
37         <tr valign=top>
38           <td><%name%>
39           <br><%address1%>
40           <%if address2%>
41           <br><%address2%>
42           <%end address2%>
43           <br><%city%> <%state%> <%zipcode%>
44           <%if country%>
45           <br><%country%>
46           <%end country%>
47           <br>
48           <%if customerphone%>
49           <br>Tel: <%customerphone%>
50           <%end customerphone%>
51           <%if customerfax%>
52           <br>Fax: <%customerfax%>
53           <%end customerfax%>
54           <%if email%>
55           <br><%email%>
56           <%end email%>
57           </td>
58         </tr>
59       </table>
60     </td>
61   </tr>
62   <tr height=10></tr>
63   <tr>
64     <td>&nbsp;</td>
65     <td>
66       <table width=100%>
67         <tr>
68           <th align=left>Invoice #</th>
69           <th align=left>Order #</th>
70 <!-- <th align=left>Notes</th> -->
71           <th width=10%>Date</th>
72           <th width=10%>Due</th>
73           <th width=10%>Current</th>
74           <th width=10%>30</th>
75           <th width=10%>60</th>
76           <th width=10%>90+</th>
77         </tr>
78         <%foreach invnumber%>
79         <tr>
80           <td><%invnumber%></td>
81           <td><%ordnumber%></td>
82 <!-- <td><%notes%></td> -->
83           <td><%invdate%></td>
84           <td><%duedate%></td>
85           <td align=right><%c0%></td>
86           <td align=right><%c30%></td>
87           <td align=right><%c60%></td>
88           <td align=right><%c90%></td>
89         </tr>
90         <%end invnumber%>
91         <tr>
92           <td colspan=8><hr size=1></td>
93         </tr>
94         <tr>
95           <td>&nbsp;</td>
96           <td>&nbsp;</td>
97           <td>&nbsp;</td>
98           <td>&nbsp;</td>
99           <th align=right><%c0total%></td>
100           <th align=right><%c30total%></td>
101           <th align=right><%c60total%></td>
102           <th align=right><%c90total%></td>
103         </tr>
104       </table>
105     </td>
106   </tr>
107   <tr height=10></tr>
108   <tr>
109     <td>&nbsp;</td>
110     <td align=right>
111       <table width=50%>
112         <tr>
113           <th>Total Outstanding</th>
114           <th align=right><%total%></th>
115         </tr>
116       </table>
117     </td>
118   </tr>
119   <tr>
120     <td>&nbsp;</td>
121     <td><hr noshade></td>
122   </tr>
123   <tr>
124     <td>&nbsp;</td>
125     <td>Please make check payable to <b><%company%></b>.
126     </td>
127   </tr>
128   <tr height=20></tr>
129 </table>
130