summaryrefslogtreecommitdiff
path: root/templates/demo/statement.html
blob: bc6ccc1ec458b8f41fdf30d8d295ad314509d5ac (plain)
  1. <body bgcolor=ffffff>
  2. <?lsmb FOREACH customer IN data ?>
  3. <?lsmb import(customer) ?>
  4. <table width="100%">
  5. <?lsmb INCLUDE letterhead.html ?>
  6. <tr>
  7. <td width=10>&nbsp;</td>
  8. <th colspan=3><h4>S T A T E M E N T</h4></th>
  9. </tr>
  10. <tr>
  11. <td>&nbsp;</td>
  12. <td colspan=3 align=right><?lsmb statementdate ?></td>
  13. </tr>
  14. <tr>
  15. <td>&nbsp;</td>
  16. <td>
  17. <table width="100%">
  18. <tr valign=top>
  19. <td><?lsmb name ?>
  20. <br><?lsmb address1 ?>
  21. <?lsmb IF address2 ?>
  22. <br><?lsmb address2 ?>
  23. <?lsmb END ?>
  24. <br><?lsmb city ?>
  25. <?lsmb IF state ?>
  26. , <?lsmb state ?>
  27. <?lsmb END ?>
  28. <?lsmb zipcode ?>
  29. <?lsmb IF country ?>
  30. <br><?lsmb country ?>
  31. <?lsmb END ?>
  32. <br>
  33. <?lsmb IF customerphone ?>
  34. <br>Tel: <?lsmb customerphone ?>
  35. <?lsmb END ?>
  36. <?lsmb IF customerfax ?>
  37. <br>Fax: <?lsmb customerfax ?>
  38. <?lsmb END ?>
  39. <?lsmb IF email ?>
  40. <br><?lsmb email ?>
  41. <?lsmb END ?>
  42. </td>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. <tr height=10></tr>
  48. <tr>
  49. <td>&nbsp;</td>
  50. <td>
  51. <table width="100%">
  52. <tr>
  53. <th align=left>Invoice #</th>
  54. <th align=left>Order#</th>
  55. <th width="10%">Date</th>
  56. <th width="10%">Due</th>
  57. <th width="10%">Current</th>
  58. <th width="10%">30</th>
  59. <th width="10%">60</th>
  60. <th width="10%">90</th>
  61. </tr>
  62. <?lsmb FOREACH invnumber ?>
  63. <?lsmb loop_count = loop.count - 1 ?>
  64. <tr>
  65. <td><?lsmb invnumber.${loop_count} ?></td>
  66. <td><?lsmb ordnumber.${loop_count} ?></td>
  67. <td><?lsmb invdate.${loop_count} ?></td>
  68. <td><?lsmb duedate.${loop_count} ?></td>
  69. <td align=right><?lsmb c0.${loop_count} ?></td>
  70. <td align=right><?lsmb c30.${loop_count} ?></td>
  71. <td align=right><?lsmb c60.${loop_count} ?></td>
  72. <td align=right><?lsmb c90.${loop_count} ?></td>
  73. </tr>
  74. <?lsmb END ?>
  75. <tr>
  76. <td colspan=8><hr size=1></td>
  77. </tr>
  78. <tr>
  79. <td>&nbsp;</td>
  80. <td>&nbsp;</td>
  81. <td>&nbsp;</td>
  82. <td>&nbsp;</td>
  83. <th align=right><?lsmb c0total ?></td>
  84. <th align=right><?lsmb c30total ?></td>
  85. <th align=right><?lsmb c60total ?></td>
  86. <th align=right><?lsmb c90total ?></td>
  87. </tr>
  88. </table>
  89. </td>
  90. </tr>
  91. <tr height=10></tr>
  92. <tr>
  93. <td>&nbsp;</td>
  94. <td align=right>
  95. <table width="50%">
  96. <tr>
  97. <th>Total Outstanding</th>
  98. <th align=right><?lsmb total ?></th>
  99. </tr>
  100. </table>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td>&nbsp;</td>
  105. <td><hr noshade></td>
  106. </tr>
  107. <tr>
  108. <td>&nbsp;</td>
  109. <td>All amounts in <b><?lsmb currency ?></b> funds.
  110. <br>Please make check payable to <b><?lsmb company ?></b>.
  111. </td>
  112. </tr>
  113. </table>
  114. <?lsmb END ?>
  115. </body>
  116. </html>