add some time-worked reporting
[freeside.git] / sql-ledger / templates / Default-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=9><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           <td>&nbsp;</td>
100           <th align=right><%c0total%></td>
101           <th align=right><%c30total%></td>
102           <th align=right><%c60total%></td>
103           <th align=right><%c90total%></td>
104         </tr>
105       </table>
106     </td>
107   </tr>
108   <tr height=10></tr>
109   <tr>
110     <td>&nbsp;</td>
111     <td align=right>
112       <table width=50%>
113         <tr>
114           <th>Total Outstanding</th>
115           <th align=right><%total%></th>
116         </tr>
117       </table>
118     </td>
119   </tr>
120   <tr>
121     <td>&nbsp;</td>
122     <td><hr noshade></td>
123   </tr>
124   <tr>
125     <td>&nbsp;</td>
126     <td>Please make check payable to <b><%company%></b>.
127     </td>
128   </tr>
129
130 </table>
131
132 </body>
133 </html>
134