so Search.tsf and Search.rdf work
[freeside.git] / sql-ledger / templates / Service-statement.html
index 6fca322..5e28850 100644 (file)
       <table width=100%>
        <tr valign=top>
          <td><%name%>
-         <br><%addr1%>
-         <br><%addr2%>
-         <br><%addr3%>
-         <br><%addr4%>
+         <br><%address1%>
+         <%if address2%>
+          <br><%address2%>
+          <%end address2%>
+         <br><%city%> <%state%> <%zipcode%>
+         <%if country%>
+          <br><%country%>
+          <%end country%>
          <br>
-<%if customerphone%>
+          <%if customerphone%>
          <br>Tel: <%customerphone%>
-<%end customerphone%>
-<%if customerfax%>
+          <%end customerphone%>
+          <%if customerfax%>
          <br>Fax: <%customerfax%>
-<%end customerfax%>
-<%if email%>
+          <%end customerfax%>
+          <%if email%>
          <br><%email%>
-<%end email%>
+          <%end email%>
          </td>
        </tr>
       </table>
       <table width=100%>
         <tr>
          <th align=left>Invoice #</th>
-         <th width=15%>Date</th>
-         <th width=15%>Due</th>
+         <th align=left>Order #</th>
+<!-- <th align=left>Notes</th> -->
+         <th width=10%>Date</th>
+         <th width=10%>Due</th>
          <th width=10%>Current</th>
          <th width=10%>30</th>
          <th width=10%>60</th>
          <th width=10%>90+</th>
        </tr>
-<%foreach invnumber%>
+        <%foreach invnumber%>
        <tr>
          <td><%invnumber%></td>
+         <td><%ordnumber%></td>
+<!-- <td><%notes%></td> -->
          <td><%invdate%></td>
          <td><%duedate%></td>
          <td align=right><%c0%></td>
          <td align=right><%c60%></td>
          <td align=right><%c90%></td>
        </tr>
-<%end invnumber%>
+        <%end invnumber%>
         <tr>
-         <td colspan=7><hr size=1></td>
+         <td colspan=8><hr size=1></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
+         <td>&nbsp;</td>
          <th align=right><%c0total%></td>
          <th align=right><%c30total%></td>
          <th align=right><%c60total%></td>